nPath Function Syntax | Teradata Vantage - nPath Syntax - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
lifecycle
latest
Product Category
Teradata Vantageā„¢
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 }[,...])
)
You can call this function from:
  • The FROM clause of a SELECT statement
  • As part of a CREATE TABLE statement
  • As part of a CREATE VIEW statement