Question: table [ [ EXISTING _ CUSTOMER ] , [ Customer _ ID ] , [ Customer _ FirstName ] , [ Customer _ LastName
tableEXISTINGCUSTOMERCustomerIDCustomerFirstNameCustomerLastNameAddressAddressCityStateZipCountry
You may have heard about the address matching exercise. For example: A company has a customer database which includes all existing customers' information. We would like to determine the number of existing customers by State from daily transaction records. ie the number of existing customers who made the purchasess recently from daily transactions and as result, we will be able to determine the number of repetitive customers.
You need to write a SQL that compares the addresses TRANSACTION to the address attributes of a reference dataset EXISTINGCUSTOMER to determine whether the first characters of a particular address from the TRANSACTION table would be the same as an address of the existing customer address from the EXISTINGCUSTOMER table You may also need to consider additional attributes which improve the accuracy of the address matching.
points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
