mysql sum with group by

Solutions on MaxInterview for mysql sum with group by by the best coders in the world

showing results for - "mysql sum with group by"
Cassie
19 Jul 2019
1-- Sum Columns only show up in SELECT statement 
2-- All other columns must be in both
3SELECT categories_column, SUM(units_column) AS total_units
4FROM schema.table
5GROUP BY categories_column;