Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 516

Which command would return an empty sample?

    Correct Answer: B

    The correct command to return an empty sample is 'select * from testtable sample (0);'. In SQL, using 'sample (0)' will instruct the database to return none of the rows in the table, hence resulting in an empty result set.

Discussion
bibisaOption: B

from doc: Return an empty sample: SELECT * FROM testtable SAMPLE ROW (0);

ShagunMittalOption: B

B is correct

dementorOption: B

Correct. Tested!

_yyuktaOption: B

B. select * from testtable sample (0);

MultiCloudIronManOption: B

correct