I have a table that has 3 columns: filePath, filePrefix, timestamp.
I need a query that will return the most current filePath of records with a unique filePrefix.
For example, say there are four records:
1) filePathA, filePrefixA, 10:00
2) filePathB, filePrefixA, 11:00
3) filePathC, filePrefixB, 10:00
4) filePathD, filePrefixB, 11:00
I need the 2nd and 4th rows returned.
Any help is much appreciated.
I need a query that will return the most current filePath of records with a unique filePrefix.
For example, say there are four records:
1) filePathA, filePrefixA, 10:00
2) filePathB, filePrefixA, 11:00
3) filePathC, filePrefixB, 10:00
4) filePathD, filePrefixB, 11:00
I need the 2nd and 4th rows returned.
Any help is much appreciated.
Comment