Auto-Increment, Last 3?
Posted: Fri Jul 26, 2002 10:04 am
Ihave a field called id in my mysql database and it's auto-incrementing, so I want to get the last 3 id values from the database. And some records could get deleted so it isn't always going to be records like 6,5,4. Say I deleted 4 then the the last 3 rows would be 6,5,3. How do i find each of the last 3 id values please