For built-in ordered analytic functions specific to Vantage, such as CSUM and MAVG, GROUP BY determines the partitions over which the function executes. For an example, see Example: Specifying GROUP BY Using an Ordered Analytic Function.
- Select list of the SELECT clause
- Window functions in the select list of a SELECT clause
- Window functions in the search condition of a QUALIFY clause
- The condition in a RESET WHEN clause
For examples and more information on GROUP BY and ordered analytical functions, see Teradata Vantage™ - SQL Functions, Expressions, and Predicates, B035-1145.