Ok, I have a giant guery that pulls out records from two tables. And in the query, theres a whole bunch of records, sorted by message IDs. Each message ID has about 50 records. And there are varying versions of each particular message set. Some have only version 1, some have version 1.05, 1.99 etc...
How can I construct the query to only pick out the highest version number of each message to put in the query?
How can I construct the query to only pick out the highest version number of each message to put in the query?