1
lvni 2014-06-14 00:47:56 +08:00
SELECT * , ( 2 - SUM( zhongjiang ) / COUNT( user_id ) ) AS psort
FROM `zhongjiang` WHERE 1 GROUP BY user_id ORDER BY psort DESC |
2
crazybubble 2014-06-14 05:43:27 +08:00
你不是问过这问题了么。。。 http://www.v2ex.com/t/109418#reply6
|