select * from YourTable where id = (select max(id) from YourTable)