I posted this before buy never got a suitable answer and am still struggling with the problem....
I have a table of service request (SR) data extracts. There is no unique key. The extract can be run for any time period and each extract may or may not contain the same SR number. Each extract record has a run date.
What I need to do is extract all of the columns for each unique SR number for the latest run date record in the table. How do I do this? I must somehow group by SR number and then take the SR record with the MAX run date. Any help much appreciated.
I have a table of service request (SR) data extracts. There is no unique key. The extract can be run for any time period and each extract may or may not contain the same SR number. Each extract record has a run date.
What I need to do is extract all of the columns for each unique SR number for the latest run date record in the table. How do I do this? I must somehow group by SR number and then take the SR record with the MAX run date. Any help much appreciated.