SnowPro Core Certification — Question 458

What will be the output of the below query against the table name gold_data?

select * from gold_data tablesample (100);

Answer options

Correct answer: C

Explanation

The correct answer is C because the TABLESAMPLE clause is used to return a sample of rows from a table, and in this case, specifying 100 indicates that the entire table will be returned. The other options are incorrect as they suggest either an error or a sample that does not reflect the entire dataset.