1.1 - 8.10 - VWAP Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 1.6

SELECT * FROM VWAP (
  ON { table | view | (query) } PARTITION BY expression [,...] ORDER BY time_column DESC
  [ USING
    [ Price ('price_column') ]
    [ Volume ('volume_column') ]
    [ TimeInterval (number_of_seconds) ]
    [ TimeColumn ('time_column') ]
  ]
) AS alias;