
SQL - Part 2 - Aggregate Functions (GROUP BY, CUBE, ROLLUP, ...)
Aggregate Functions
Aggregate functions are functions that are going to aggregate data from columns, or rows. Some of these functions are: SUM, AVG, MAX, MIN, …. .
Special GROUP BY where we are going to group by values using a CASE and then sort by based on that case
Example: In this