17.10 - Type of Computation - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1145-171K
Language
English (United States)
To compute this type of function … Use this aggregation group …
Cumulative
  • ROWS UNBOUNDED PRECEDING
  • ROWS BETWEEN UNBOUNDED PRECEDING AND value PRECEDING
  • ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
  • ROWS BETWEEN UNBOUNDED PRECEDING AND value FOLLOWING
Group ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
Moving
  • ROWS value PRECEDING
  • ROWS CURRENT ROW
  • ROWS BETWEEN value PRECEDING AND value PRECEDING
  • ROWS BETWEEN value PRECEDING AND CURRENT ROW
  • ROWS BETWEEN value PRECEDING AND value FOLLOWING
  • ROWS BETWEEN CURRENT ROW AND CURRENT ROW
  • ROWS BETWEEN CURRENT ROW AND value FOLLOWING
  • ROWS BETWEEN value FOLLOWING AND value FOLLOWING
Remaining
  • ROWS BETWEEN value PRECEDING AND UNBOUNDED FOLLOWING
  • ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING
  • ROWS BETWEEN value FOLLOWING AND UNBOUNDED FOLLOWING