How to get WITH ROLLUP after a sorted limit

后端 未结 0 1879
[愿得一人]
[愿得一人] 2020-11-22 08:24

I have the following query to get the number of wins for a football team:

SELECT
    IF(grouping(team) IS TRUE, \'All\', team) AS team,
    sum(wins)                  


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题