I tried searching some threads, but wasn't quite sure that I chose the most appropriate keywords.
Say I have multiple records in a static table, but many have the same value for one field. For example:
ID Max
1 5
2 5
3 5
4 5
5 5
6 10
7 10
8 10
9 30
10 30
11 30
12 30
I'm trying to get this results set:
5
10
30
In other words, I'm trying to get one result for each unique 'Max' value
Is there a way to do this?
Thanks for you time.
Say I have multiple records in a static table, but many have the same value for one field. For example:
ID Max
1 5
2 5
3 5
4 5
5 5
6 10
7 10
8 10
9 30
10 30
11 30
12 30
I'm trying to get this results set:
5
10
30
In other words, I'm trying to get one result for each unique 'Max' value
Is there a way to do this?
Thanks for you time.