I need this groups. Where Num=4
if the condition is Where Num=4 the result this only field where num=4 is bad, I need all group 1,2,3 and 4 Goup A and Group C, if condition is Where Num<=4 it is bad, because Group B is 1,2,3 but don't having number 4
Num:
1
2
3 Group A
4
-----
1 Group B
2
3
---...