16.20 - nPath構文 - Teradata Vantage NewSQL Engine

Teradata Vantage™ - NewSQL Engineの分析関数

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
プログラミング リファレンス
featnum
B035-1206-162K-JPN
SELECT * FROM nPath (
  ON { table | view | (query) } 
    PARTITION BY partition_column 
    ORDER BY order_column [ ASC | DESC ][...]
  [ ON { table | view | (query) } 
    [ PARTITION BY partition_column | DIMENSION ]
    ORDER BY order_column [ ASC | DESC ] 
  ][...]
  USING 
  Mode ({ OVERLAPPING | NONOVERLAPPING })
  Pattern ('pattern')
  Symbols ({ col_expr = symbol_predicate AS symbol}[,...])
  [ Filter (filter_expression[,...]) ]
  Result ({ aggregate_function (expression OF [ANY] symbol [,...]) AS alias_1 }[,...])
) AS alias_2;