Prefixed columns are not allowed in the column list of a PIVOT operator

前端 未结 0 894
北荒
北荒 2021-02-03 20:18

I have this query:

SELECT
COUNT(DISTINCT DIAL) as CALL_SUMMARY,APP,DEST_URI
FROM
test.dbs
PIVOT (COUNT(DIAL) FOR APP IN(phone, mobile)) as log_status_new
WHERE
ID         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题