how to find latest entry in table using sql query?? okk.
if you want to select the latest entry in your sql table then use
@@Identity,@Identity_scope,@@Identity_current
(search Google for more clarification)
it works if the table has identity column(AI)
or
don't have the identity column but has a Date column(insertion Date)
select top 1 * from Table_Name order by Date_column desc
if you have any other problem to fetching result then be more specific next time when posting any question.
you can update posted question using improve question link.