MySQL Forums
Forum List  »  Portuguese

Re: Ir para ultima posição
Posted by: Airton Lastori
Date: July 22, 2013 10:24PM

Algo como: SELECT * FROM tabela ORDER BY id DESC LIMIT 1;
--ou--
Se quiser apenas o último id SELECT MAX(id)

Options: ReplyQuote


Subject
Views
Written By
Posted
3277
July 21, 2013 05:39PM
Re: Ir para ultima posição
1790
July 22, 2013 10:24PM
1779
August 07, 2013 09:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.