G
Guest
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 contain the
same SR number. Each extract record has a run date.
What I need to do is extract each unique SR number for the latest run date
in the file. How do I do this? I guess I must somehow group by SR number and
take the MAX of run date. Any help much appreciated.
The extract can be run for any time period and each extract may contain the
same SR number. Each extract record has a run date.
What I need to do is extract each unique SR number for the latest run date
in the file. How do I do this? I guess I must somehow group by SR number and
take the MAX of run date. Any help much appreciated.