I want to retrieve the bottom 10 results from a sql server table. I want them to be the last 10 records that were inserted, how can I do this ?
I want to write
If there is a auto-increment id (primary key) for that table then you can do that:
select top 10 * from mytable order by id desc