According to this:
http://forums.mysql.com/read.php?21,239471,239688#msg-239688
InnoDB returns the rows in PRIMARY KEY order.
Does this stand true if you put LIMIT at the end? In other words:
Does
SELECT * from MYTABLE LIMIT 1;
bring always the record with the minimum id? Or shall I put ORDER BY ID before LIMIT?
Thanks in advance.
Panayotis
http://forums.mysql.com/read.php?21,239471,239688#msg-239688
InnoDB returns the rows in PRIMARY KEY order.
Does this stand true if you put LIMIT at the end? In other words:
Does
SELECT * from MYTABLE LIMIT 1;
bring always the record with the minimum id? Or shall I put ORDER BY ID before LIMIT?
Thanks in advance.
Panayotis