Which command would return an empty sample?
Which command would return an empty sample?
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.
from doc: Return an empty sample: SELECT * FROM testtable SAMPLE ROW (0);
B is correct
Correct. Tested!
B. select * from testtable sample (0);
correct