MySQL Forums
Forum List  »  Newbie

Re: Problems with select
Posted by: Felix Geerinckx
Date: April 28, 2005 11:14AM

Andre wrote:
> I have a table with a primary key field ID ... and a field PATH. I need to get the PATH related with
> the max ID.


SELECT path from foo order by id desc limit 1;

--
felix

Options: ReplyQuote


Subject
Written By
Posted
April 28, 2005 11:03AM
Re: Problems with select
April 28, 2005 11:14AM


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.