How to retreive the last row of a table?

Posted by Nila on Stack Overflow See other posts from Stack Overflow or by Nila
Published on 2009-12-30T12:45:00Z Indexed on 2010/05/14 19:34 UTC
Read the original article Hit count: 185

Filed under:
|
|

How to retreive the last row of a table which doesn't has any unique id like

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

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about sql