Skip to content
Advertisement

group by along with totals in the same query

I have the below query

Output is :

I want the totals in the same query. How should I go forward?

Advertisement

Answer

You can simply rewrire your query by adding rollup in the query:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement