Select the last inserted rows, latest IDs
Posted: 14 Dec 2014, 07:48
Hi
I have a table in mysql database, with 3 columns: id | title | description .
The id column is INT AUTO_INCREMENT .
Does anyone know how to select the last two inserted rows, with the latest inserted IDs?
I have a table in mysql database, with 3 columns: id | title | description .
The id column is INT AUTO_INCREMENT .
Does anyone know how to select the last two inserted rows, with the latest inserted IDs?