My two table are like
Table 1
uid mail
1136 [email protected]
1231 [email protected]
And
Table 2
uid rid
1136 3
1136 7
1231 5
1231 2
So I want to join these both tables and want to get the result uid where rid in table 2 is not equal to 3.
Please let me know if you doesn't understand my requirement.