Close but no sigar. 🙂
The primary key does not have to be an auto_incrementing value, and it does not have to be ascending all the time.
Some databases can recycle old ID's (in exotic cases)
To get the latest records, you should order by the date on which tehy were entered.
SELECT *
FROM table
ORDER BY date_field DESC
Then grab the first two fields, or if your database understands the LIMIT clause, you can use that to limit the output to the first two results.
Alternatively you could select the record with the newest date, and select the record with the newest date that's older than the date you found on the previous record.
A bit messy, but in some cases it could be faster than the SELECT * I mentioned before.