Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Google BigQuery column duplication

Hi. In SQL BigQuery I have a column that is duplicating in the following query as shown below in the image

SELECT `emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.MAP_PRODUCT`.* EXCEPT(Reference_Code) ,CORE_LB_EuropeanArticleNumber, `emea-sales-gbl-emea-pd.d_product_eu_pd.t_product_master`.Reference_Code as Reference_Code,CORE_LB_SalesMaterial_EN,CORE_LB_SalesMaterial_EN,CORE_LB_Reference_EN, FROM `emea-sales-gbl-emea-pd.d_product_eu_pd.t_product_master`
LEFT JOIN `emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.MAP_PRODUCT` ON  `emea-sales-gbl-emea-pd.d_product_eu_pd.t_product_master`.Reference_Code = `emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.MAP_PRODUCT`.Reference_Code;

Open in new window

User generated image

Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial