![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 11 Dec 2012 @ 23:04:40 GMT
Adding a null column () to GROUP BY GROUPING SETS will produce * salary totals of each department * a grand total of all departments
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||