尝试使用第二个现有BigQUery表中的数据更新现有BigQUery表并遇到问题。在SQL上生锈,并且对BigQuery不熟悉。
“查询失败错误:无法解析表名” IFSalesTable”: 数据集名称丢失。”
INSERT INTO IFSalesTable ( DEPCityPower_Distance, DEPCityIndividualismVSCollectivism, DEPCityMasculinityVSFemininity, DEPCityUncertainty_Avoidance, DEPCityLong_Short_term_Orientation, DEPCityIndulgence, DEPCityEstVal, DEPCityEstCtnry )
SELECT Power_Distance, IndividualismVSCollectivism, MasculinityVSFemininity, Uncertainty_Avoidance, Long_Short_term_Orientation, Indulgence, EstVal, EstCtnry
FROM IFSalesDataSet.CulturalValues
WHERE CulturalValues.Code = IFSalesTable.DEP_AP
提前感谢清晰的新手级别指导!
答案 0 :(得分:0)
我认为您应该只将数据集名称添加到INSERT INTO IFSalesTable
中,这样它将是INSERT INTO IFSalesDataSet.IFSalesTable