Add GROUPING SETS, CUBE, and ROLLUP
This is a nice standard feature from SQL:1999 for performance.
https://www.postgresql.org/docs/10/static/queries-table-expressions.html#QUERIES-GROUPING-SETS
This is a nice standard feature from SQL:1999 for performance.
https://www.postgresql.org/docs/10/static/queries-table-expressions.html#QUERIES-GROUPING-SETS