17.10 - TD_ScaleTransformの例 - 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
日本語 (日本)

SQL呼び出し

SELECT * FROM TD_scaleTransform (
  ON scale_input_table AS InputTable
  ON scaleFitOut AS FitTable DIMENSION
  USING
  Accumulate ('passenger')
) AS dt ORDER BY 1;

出力

passenger fare        
 --------- ------------------ 
        97 0.363855214723926
       488 0.303067484662577
       505 1
       631 0.306748466257669
       873 0