How to ORDER BY a SUM() in MySQL?

后端 未结 5 818
暗喜
暗喜 2020-11-27 19:12

I have a table: \"ID name c_counts f_counts \"

and I want to order all the record by sum(c_counts+f_counts) but this doesn\'t work:

SELECT

5条回答
提交回复
热议问题