Hi Sumit,
This is depend on your database type.
If you have a primary ke in your table with auto increment then use below query.
Select * From tableName Where PK = (Select Max(PK) From tableName)
If you are using MySql then use below query.
SELECT * FROM tableName WHERE id = LAST_INSERT_ID( );
If you are using ORALCE then use below query.
SELECT * FROM tableName where ROWID = (SELECT MAX(ROWID) FROM tableName);
Hope this will help you.