Eddie Mason
Registered User.
- Local time
- Today, 00:15
- Joined
- Jan 31, 2003
- Messages
- 142
Hi All,
I have tables in a database that store Customers, products and date ordered. What I want to do if it is possible is create a query that gives me the customer, each product ordered and the last date ordered.
Example: if the tables held the following data:
Customer Product Date Ordered
Smith A 01/01/2000
Smith A 12/12/2000
Smith B 06/01/2000
Smith B 12/03/2002
Smith B 01/01/2003
Smith C 07/04/2001
Jones A 14/03/2002
Jones B 16/08/2002
Jones B 23/12/2002
The information I want to display is:
Smith A 12/12/2000
Smith B 01/01/2003
Smith C 07/04/2001
Jones A 14/03/2002
Jones B 13/12/2002
I hope you can help with this one?
Regards
Eddie
I have tables in a database that store Customers, products and date ordered. What I want to do if it is possible is create a query that gives me the customer, each product ordered and the last date ordered.
Example: if the tables held the following data:
Customer Product Date Ordered
Smith A 01/01/2000
Smith A 12/12/2000
Smith B 06/01/2000
Smith B 12/03/2002
Smith B 01/01/2003
Smith C 07/04/2001
Jones A 14/03/2002
Jones B 16/08/2002
Jones B 23/12/2002
The information I want to display is:
Smith A 12/12/2000
Smith B 01/01/2003
Smith C 07/04/2001
Jones A 14/03/2002
Jones B 13/12/2002
I hope you can help with this one?
Regards
Eddie