String Aggregtion to create pivot columns in Big Query
问题 I am trying to implement this exact solution linked below, but it seems GROUP_CONCAT_UNQUOTED is no longer a valid BQ function. Is there a solution to this that works in 2020? p.s. I would have just commented on the original post, but apparently my reputation isn't high enough yet... Transpose rows into columns in BigQuery (Pivot implementation) 回答1: Below example is for BigQuery Standard SQL Assume you have data as below #standardSQL WITH `project.dataset.table` AS ( SELECT 1 id, 'channel