gpt4 book ai didi

jquery - 大查询SQL错误: Column name user_dim is ambiguous at [3:3]

转载 作者:行者123 更新时间:2023-12-01 07:05:17 28 4
gpt4 key购买 nike

我如何运行一个查询来遍历我的 Android 和 iOS 数据以在一个表中返回我需要的内容。

当前,当我运行此命令时出现上述错误

#standardSQL
SELECT
user_dim.app_info.app_instance_id,
user_dim.device_info.device_category,
user_dim.device_info.user_default_language,
user_dim.device_info.platform_version,
user_dim.device_info.device_model,
user_dim.geo_info.country,
user_dim.geo_info.city,
user_dim.app_info.app_version,
user_dim.app_info.app_store,
user_dim.app_info.app_platform
FROM

app.com_aaa_IOS.app_events_20171204app.com_aaa_ANDROID.app_events_20171204

最佳答案

SELECT
user_dim.app_info.app_instance_id,
user_dim.device_info.device_category,
user_dim.device_info.user_default_language,
user_dim.device_info.platform_version,
user_dim.device_info.device_model,
user_dim.geo_info.country,
user_dim.geo_info.city,
user_dim.app_info.app_version,
user_dim.app_info.app_store,
user_dim.app_info.app_platform
FROM
app.com_aaa_IOS.app_events_20171204

UNION ALL

SELECT
user_dim.app_info.app_instance_id,
user_dim.device_info.device_category,
user_dim.device_info.user_default_language,
user_dim.device_info.platform_version,
user_dim.device_info.device_model,
user_dim.geo_info.country,
user_dim.geo_info.city,
user_dim.app_info.app_version,
user_dim.app_info.app_store,
user_dim.app_info.app_platform
FROM
app.com_aaa_ANDROID.app_events_20171204

关于jquery - 大查询SQL错误: Column name user_dim is ambiguous at [3:3],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47655411/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com