Retrieve last inserted value
===

Can anybody tell me the query for last inserted value in the column of the database.

The problem is that inserted value can be placed in inner rows of the database after using 'ASC' or 'DESC' so I cant use the method. If anybody has the solution please tell me.