RE: [PHP] finding the highest primary key in a table

From: Date: Tue, 25 Jun 2002 01:38:42 +0000
Subject: RE: [PHP] finding the highest primary key in a table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103710@lists.php.net to get a copy of this message
> I want to find the number of the highest primary key in a particular > MySQL table. SELECT MAX(ID) FROM table Can you tell us why you need to do this? I have a feeling you're doing something bad... ---John Holmes...

« previous php.general (#103710) next »