Order by problem
| From: | Mike P | Date: | Mon, 11 Dec 2000 00:00:54 +0000 |
| Subject: | Order by problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5139@lists.php.net to get a copy of this message | ||
When I run this I get results but not in the order of Correct.Desending
(Correct is a field).It sums ok:
$resulta = mysql_query("Select User,SUM(Correct)from Picks Group by User
ORDER by Correct DESC");
Thanks
mpeloso@princeton.edu