7.00.02 - nTree Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Version 1.1
SELECT * FROM nTree (
  ON input_table 
    PARTITION BY partition_columns 
    [ ORDER BY ordering_columns]
  Root_Node (boolean_expression)
  Node_ID (expression)
  Parent_ID (expression)
  Allow_Cycles ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})
  Starts_With ({ 'root' | 'leaf' | expression })
  Mode ({ 'up' | 'down' })
  Output ({ 'end' | 'all' })
  [ Max_Distance (expression) ]
  [ Logging ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
  Result (aggregate [,...])
);