1.0 - 8.00 - Approximate Percentile Syntax - Teradata Vantage

Teradata® Vantage Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.0
8.00
Release Date
May 2019
Content Type
Programming Reference
Publication ID
B700-4003-098K
Language
English (United States)

ApproxPercentileReduce version 1.6, ApproxPercentileMap version 1.4

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