ROLLUP « Select Clause « SQL / MySQL






1.GROUP BY WITH ROLLUP
2.Add the WITH ROLLUP option to the GROUP BY clause
3.Sum with rollup
4.Count and rollup