Hello. I am very new to Access and I am having problems with my query.
I have one table with customer ID's and their names, and another table with the customer ID's and their orders including dates.
Many customers have placed more than one order, so in table 2, the ID is repeated.
-----> I want a query that shows every UNIQUE customer ID in one field, and the other field would be the LATEST date that the customer ordered.
Can someone help with this? It's pretty urgent.
Example:
TABLE 1
ID NAME
1 X
2 Y
3 Z
TABLE 2
ID ORDER ID DATE
1 56 13-JAN
1 87 17-JAN
2 80 15-JAN
I want a query that results like this:
ID LATEST ORDER DATE
1 87 17-JAN
2 80 15-JAN
3
THANKS!!!