17.05 - GROUP BY Clause Terminology - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
vnq1596660420420.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
A GROUP BY clause is said to be simple if it does not contain any of the following elements:
  • rollup_list
  • cube_list
  • grouping_sets_specification
A GROUP BY clause is said to be primitive if it does not contain any of the following elements:
  • rollup_list
  • cube_list
  • grouping_sets_specification
  • a grouping_expressionand an empty_grouping_set.

See GROUPING SETS Option for definitions of rollup_list, cube_list, grouping_sets_specification, and empty_grouping_set.

See the following topics for examples of non-simple, non-primitive GROUP BY clauses: