[Database class] LIMIT row count info

Paul S. Wang pwang at cs.kent.edu
Tue Feb 8 10:50:07 EST 2011


Dear database class,

There was a question about row counts starting from 1 or 0.
For MySQL it starts from 1.  And I believe that is in general
true for SQL.

Thus,

SELECT * FROM course LIMIT 1 , 1

gives the 1st row.

Paul


More information about the Dbclass mailing list