Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started