Hi all..
My problem is a very simple and stupid one. I need the top 2 values per group. For example
Group Value
1 10
1 20
1 30
2 100
2 200
2 100
2 50
What I need is.
Group Value
1 30
1 20
2 200
2 100
Is their any why to do this?
I looked at thread183-741060 but it didn't help much because I am very new to SQL
PS. My table looks the same a above example.
Thanks
My problem is a very simple and stupid one. I need the top 2 values per group. For example
Group Value
1 10
1 20
1 30
2 100
2 200
2 100
2 50
What I need is.
Group Value
1 30
1 20
2 200
2 100
Is their any why to do this?
I looked at thread183-741060 but it didn't help much because I am very new to SQL
PS. My table looks the same a above example.
Thanks