I have this code that runs fine in the BigQuery editor,
SELECT * FROM UNNEST([(1,2),(3,4)])
However, how can i give those outputs custom column names such as x and y, instead of the default f0_ and f1_
SELECT x,y FROM UNNEST([(1,2),(3,4)])
SELECT x,y FROM UNNEST(ARRAY<STRUCT<x INT64, y INT64>>[(1,2),(3,4)])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.