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

From SQLZOO
Revision as of 15:30, 11 July 2012 by Connor (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

<SOURCE lang='sql' class='def e-db2'>SELECT * FROM cia FETCH FIRST 10 ROWS ONLY
SELECT TOP 10 * FROM cia
SELECT * FROM cia WHERE rownum<=10
SELECT TOP 10 * FROM cia
UNKNOWN - please email IF you know
SET rowcount 10;
SELECT * FROM cia;
SET rowcount 0
SELECT * FROM cia LIMIT 10
Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense