Oracle Summary Query GROUPING_ID - CUBE | |
Oracle Summary Query To Compute Total Using GROUPING - CUBE | |
Note: The total value is displayed as the last row by using ORDER BY. If the grouped data is non-numeric, GROUPING function along with ORDER BY can be used to display the total as the last row as shown below. However the order is still not in A to Z order (can be solved by ROLLUP without ORDER BY). |
73953