1.1 - 8.10 - Approximate Percentile 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)

ApproxPercentileReduce version 1.8, ApproxPercentileMap version 1.6

SELECT * FROM ApproxPercentileReduce (
  ON ([ SELECT * FROM ] ApproxPercentileMap (
    ON { table | view | (query) }
    USING
    TargetColumns ('target_column' [,...])
    [ ErrorRate (error) ]
    [ GroupByColumns ('group_column' [,...]) ]
    ) AS alias_1
  ) PARTITION BY [ 1 | group_column [,...]]
  USING
  [ Percentile (percentile [,...]) ]
  [ TargetColumns ('target_column' [,...]) ]
  [ GroupByColumns ('group_column' [,...]) ]
) AS alias_2;