I have table
prdID item percentage
1 10 50
1 20 50
2 10 50
2 20 50
3 20 30
3 20 70
4 10 50
4 20 30
4 30 20
5 10 50
5 20 50
I want to fetch the distinct groups.Basically the result set should be
group item percentage
1 10 50
1 20 50
3 20 30
3 20 70
4 10 50
4 20 30
4 30 20
2
and 5
are excluded from the result as they contain exactly the same item/percentage
values as 1