You have primary key or identity in your table?
Consider ID as another column(Identity) in table
ID Name Class Age Address
-- ------ ------ ----- --------
1 Mohan X 18 Erode
2 Kumar XII 20 Chennai ---->1
3 Arun XI 19 Trichy
4 Bala VII 17 Coimbatore ---->2
5 Vijay VIII 17 Chennai
6 Karthi X 19 Erode
Now you can get last inserted records by following query
SELECT TOP 2 * FROM tbl_student ORDER BY ID DESC
SELECT * FROM tbl_student WHERE ID =(SELECT Max(ID) FROM tbl_student)
Customize query based on your criteria.