Help with UPDATE command...
| From: | Tony Tzankoff | Date: | Sat, 19 Jul 2003 15:40:23 +0000 |
| Subject: | Help with UPDATE command... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155894@lists.php.net to get a copy of this message | ||
Here is the code I am trying to implement...
update table set col1=value where condition=true and condition=true order by
col2 desc, col3 desc limit 1;
The UPDATE command does not seem to support the ORDER BY part despite it
being listed in the instructions on the mysql.com website. Is there any
workaround to this that anybody knows of?
Thanks in advance for your help. :o)
--
Tony Tzankoff
http://www.tzankoff.com
=========================