I want to select the records from the table starting from 3rd row. How this can achieved with LIMIT?
A:
SLaks
2010-03-19 14:14:46
-1, you've edited this answer several times with multiple incorrect answers.
rjh
2010-03-19 14:21:36
@RJH: This version is correct. That's what editing is for.
SLaks
2010-03-19 14:23:02
Actually it's not, you need to put the word "Limit" in it. (Edit: now fixed)
p.g.l.hall
2010-03-19 14:23:53
Thanks; I forgot to.
SLaks
2010-03-19 14:26:18
+2
A:
From the MySQL Documentation:
To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:
SELECT * FROM tbl LIMIT 95,18446744073709551615;
pioto
2010-03-19 14:20:21
A:
i am giving syntax
SELECT field1, field2,...fieldN table_name1, table_name2... [WHERE Clause] [OFFSET M ][LIMIT N]
Vikram Phaneendra
2010-03-19 14:40:27