小编Jah*_*bre的帖子

使用 BigQuery sql 转置行中的列

这是我的桌子:

Ligne  | registration_terms | registration_code_phone | registration_name | registration_email | registration_password | registration_password_nextbutton | R1_ended | date
-------+--------------------+-------------------------+-------------------+--------------------+-----------------------+----------------------------------+----------+-------------------------
1      |                 84 |                      78 |                75 |                 74 |                    72 |                               68 |       67 | 2020-11-13 00:00:00 UTC
2      |                 96 |                      91 |                84 |                 83 |                    81 |                               77 |       77 | 2020-11-07 00:00:00 UTC
3      |                123 |                     118 |               116 |                115 |                   108 |                              107 |      106 | 2020-11-08 00:00:00 UTC
4      |                108 | …
Run Code Online (Sandbox Code Playgroud)

sql transpose pivot google-bigquery

2
推荐指数
1
解决办法
3473
查看次数

标签 统计

google-bigquery ×1

pivot ×1

sql ×1

transpose ×1