在BigQuery中使用左连接合并'Revenue Data”的数据表。
示例代码:
SELECT customers.name, orders.order_id, orders.revenue FROM project.dataset.customers AS customers LEFT JOIN project.dataset.orders AS orders ON customers.customer_id = orders.customer_id;
project.dataset.customers
project.dataset.orders
上一篇:BigQueryLAG仅返回空值
下一篇:BigQuery类的insertAll()方法中可以使用“WRITE_APPEND”选项吗?