Newbie question: I want to get data between two rows, say, row number 5 and row number 10. How can I do that? There is no id or any integer column in the table and I cannot modify the table.
-
dev.mysql.com/doc/refman/5.1/en/select.htmlNobwyn– Nobwyn2011-04-27 06:43:39 +00:00Commented Apr 27, 2011 at 6:43
-
If you want to talk about row numbers and rows between them, you have to specify how you order the rows. There is no natural ordering on rows in MySQL.Martijn– Martijn2011-04-27 06:45:01 +00:00Commented Apr 27, 2011 at 6:45
-
@martijn: The answer by Harry Joy satisfied my needs. However, I will read more about ordering in MySQL. Thank you.Neeraj– Neeraj2011-04-27 08:02:24 +00:00Commented Apr 27, 2011 at 8:02
Add a comment
|