Re: Query mysql highest id number

From: Date: Sun, 22 Jun 2003 10:08:33 +0000
Subject: Re: Query mysql highest id number
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152441@lists.php.net to get a copy of this message
Try this SELECT * FROM table ORDER BY id DESC LIMIT 1 Milan ----- Original Message ----- From: "Chris Schoeman" <c.schoeman@eudoramail.com> To: <php-general@lists.php.net> Sent: Sunday, June 22, 2003 12:05 PM Subject: [PHP] Query mysql highest id number > I want to make a query in a mysql database with as result > the row with the highest id number. How can I do that? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#152441) next »