【发布时间】:2021-03-10 09:36:24
【问题描述】:
在 bigquery 中,我创建了两个表 table1(id,name) 和 table2(id,name,address,time)。 table1 有 10 行,而 table2 为空。
我想将 table1 中的所有数据插入 table2 以及地址(所有行的“abc”)和时间(now())列的值。
编写insert into table2 select * from table1, "abc", now() 查询的最佳方式是什么?
【问题讨论】:
标签: sql google-bigquery