For more information on GROUP BY, GROUPING SETS, ROLLUP, and CUBE, see Teradata Vantage™ - SQL Data Manipulation Language , B035-1146 .
For information on the default format of data types, see “Data Type Formats and Format Phrases” in Teradata Vantage™ Data Types and Literals, B035-1143.