I have a table with 3 columns. The first column is a unique customerID, where the second column is a group number. The third column is the date the customerID was created. What I want to do is create a query that returns the same fields but where the "Creation Date" for all customers is the latest date a customer was added to that customer's group.
for example:
1,5,Aug-06
2,5,Oct-06
3,6,Jun-06
would return
1,5,Oct-06
2,5,Oct-06
3,6,Jun-06
I have tried Subqueries but am having trouble pinning down the arguments! Am I going to have to incorporate additional code to keep track of the latest date for a certain group?
Thanks for any help...
for example:
1,5,Aug-06
2,5,Oct-06
3,6,Jun-06
would return
1,5,Oct-06
2,5,Oct-06
3,6,Jun-06
I have tried Subqueries but am having trouble pinning down the arguments! Am I going to have to incorporate additional code to keep track of the latest date for a certain group?
Thanks for any help...