Hello,
I have the following table:
Person Item Type Date
ABC 1Z IN 2/15/05
ABC 1Z RO 2/16/05
ABC 2Z RI 2/15/05
ABC 3Z RI 2/15/05
ABC 3Z RO 2/16/05
I need a query that will return those Items with the most current date and the type for that record. I tried the use Max in the groupby under Date but can not get it right. I want to return the following:
ABC 1Z RO 2/16/05
ABC 2Z RI 2/15/05
ABC 3Z RO 2/16/05
Any help would be appreciated.
Mi
I have the following table:
Person Item Type Date
ABC 1Z IN 2/15/05
ABC 1Z RO 2/16/05
ABC 2Z RI 2/15/05
ABC 3Z RI 2/15/05
ABC 3Z RO 2/16/05
I need a query that will return those Items with the most current date and the type for that record. I tried the use Max in the groupby under Date but can not get it right. I want to return the following:
ABC 1Z RO 2/16/05
ABC 2Z RI 2/15/05
ABC 3Z RO 2/16/05
Any help would be appreciated.
Mi