GROUP BY Clause Terminology - Teradata Database - Teradata Vantage NewSQL Engine

SQL Data Manipulation Language

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
fbo1512081269404.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™
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: