我需要 AS 查询,但示例:
rat ='10' 或 rat >='10' 对于这个查询;
$minimalEntry = mysql_query("SELECT author,count(id) AS rat
FROM sds_posts
GROUP BY author
ORDER BY rat ASC
LIMIT 0,20");
谢谢你..