Get the first 10 rows of the gisq.cia table.

From SQLZOO
Revision as of 14:42, 12 July 2012 by Connor (talk | contribs)
Jump to: navigation, search

Get the first 10 rows of the bbc table.

schema:scott
SELECT * FROM bbc FETCH FIRST 10 ROWS ONLY
SELECT TOP 10 * FROM bbc
SELECT * FROM bbc WHERE rownum<=10
SELECT TOP 10 * FROM bbc
Unknown - please email if you know
set rowcount 10;
select * from bbc;
set rowcount 0
SELECT * FROM bbc LIMIT 10