17.10 - 属性の構文 - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Advanced SQL Engine分析関数

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
2021年7月
Content Type
プログラミング リファレンス
Publication ID
B035-1206-171K-JPN
Language
日本語 (日本)
SELECT * FROM Attribution (
  ON { table | view | (query) } [ AS InputTable1 ]
    PARTITION BY user_id 
    ORDER BY times_column
  [ ON { table | view | (query) } [ AS InputTable2 ]
    PARTITION BY user_id 
    ORDER BY time_column [,...] ]
  ON conversion_event_table AS ConversionEventTable DIMENSION
  [ ON excluding_event_table AS ExcludedEventTable DIMENSION ]
  [ ON optional_event_table AS OptionalEventTable DIMENSION ]
  ON model1_table AS FirstModelTable DIMENSION
  [ ON model2_table AS SecondModelTable DIMENSION ]
  USING
  EventColumn ('event_column')
  TimeColumn ('time_column')
  WindowSize ({'rows:K' | 'seconds:K' | 'rows:K&seconds:K2'})
) AS alias ORDER BY user_id,time_stamp;