标签: pivot teradata
现在我正在这样查询-
SELECT a, b, SUM (CASE WHEN measure_name = 'ABC' THEN measure_qty END) OVER (PARTITION BY a, b ) AS ABCPIVOT FROM data_app.work_test
现在,因为TD15支持直接PIVOTING。 如何在PIVOT函数中包含此分区?