Hi
In BigQuery SQL I am getting duplicates in Core_LB_CustomerNumber. THe image below shows this. How di I get around this?
SELECT Distinct CORE_LB_CustomerNumber,
*
FROM `emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.MAP_CUSTOMER_CLUSTER`
LEFT OUTER JOIN `emea-sales-gbl-emea-pd.d_customer_eu_pd.t_customer_master`
ON `emea-sales-gbl-emea-pd.d_customer_eu_pd.t_customer_master`.CORE_LB_CustomerNumber = Cast(`emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.MAP_CUSTOMER_CLUSTER`.CUSTOMER_CODE as string)
SQL (Structured Query Language) is designed to be used in conjunction with relational database products as of a means of working with sets of data. SQL consists of data definition, data manipulation, and procedural elements. Its scope includes data insert, query, update and delete, schema creation and modification, and data access control.
TRUSTED BY