M
MuSuLPhReAk
Stuck on this one.
This database has duplicate customers. What I'm trying to do is to fin
the last invoice on each customer.
Fields that can possibly be used to find duplicates are customer name
address or phone number.
What I've done is taken all the data I needed from a query and put i
into a table. The problem of course is the duplicates.
Now what I need to know is how to retrieve the most recent order base
on order date.
Fields I have:
InvoiceID
Customer Name
Customer Address
Customer Phone Number
Invoice Date
Any help would be greatly appreciated. Can be done in SQL. Thanks :
This database has duplicate customers. What I'm trying to do is to fin
the last invoice on each customer.
Fields that can possibly be used to find duplicates are customer name
address or phone number.
What I've done is taken all the data I needed from a query and put i
into a table. The problem of course is the duplicates.
Now what I need to know is how to retrieve the most recent order base
on order date.
Fields I have:
InvoiceID
Customer Name
Customer Address
Customer Phone Number
Invoice Date
Any help would be greatly appreciated. Can be done in SQL. Thanks :