Jump to content

[SOLVED] query help


Minase

Recommended Posts

hmm how i can make this query to make the sum of capture?? i dont have too much time and i need to fix it quick

 

$ranking = mysql_query("SELECT * FROM `" . DBPREFIX . "users` WHERE ClanID != '0' GROUP BY `ClanID` ORDER BY Capture DESC Limit $limit") or die(mysql_error());

 

the above query works well but i want it to order by capture SUM thx

Link to comment
https://forums.phpfreaks.com/topic/127981-solved-query-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.