Hi, I'm trying to write a Group By query.
I have a table that looks like this:
I want to GROUP BY label using a MAX aggregate function on the version column to obtain the following table
I tried the query but it says I need to contain all columns in either the GROUP BY clause or an aggregate function.
I have a table that looks like this:
Code:
[B][U]label value version[/U][/B] Fee 25.99 5795 Term 3 5795 Terminated 0 5562 Terminated 1 5563 Terminated 0 5794 Terminated 0 5795
Code:
[B][U]label value version[/U][/B] Fee 25.99 5795 Term 3 5795 Terminated 0 5795
Comment