Here's a tricky one. I have to select from a DB that has not been especially well maintained and I need to filter the IDs. Every record in the table has a unique ID, but in some cases the record has been updated and a letter has been appended to the ID. I only want to return the most recent record. For example, if there are three records with ID numbers 10a, 10b, and 10c, I only want to return the record for 10c. I did manage to make this work by creating a couple of temporary tables, but surely there must be a cleaner way. Any suggestions?
Thanks,
Alex
Thanks,
Alex