Let's say I have the following data:
Number TagValue
1 MLB
1 NFL
2 MLB
2 NFL
3 MLS
3 NFL
4 NFL
I want to return the following:
Number TagValue
1 MLB
1 NFL
2 MLB
2 NFL
The request is to look each number- tag value combo and see if it has BOTH MLB and NFL. If it does not I do not want to return it. A simple where clause will return:
Number TagValue
1 MLB
1 NFL
2 MLB
2 NFL
3 NFL
4 NFL
I do not want this.