You’re help would be much appreciated…
If I have the following table and sample data… myGroupTable
group_Id : user_Id
1 : 3
1 : 7
1 : 100
2 : 3
2 : 7
2 : 100
2 : 104
4 : 42
4 : 98
4 : 13
I would like a sql statement that would…
Return a group_Id that has exactly the specified user_Id’s in them.
eg… is there a group_Id that has User_Id’s 3, 7 and 100
answer: group_id 1.
Please note that I dont want it to return a group_Id 2, as that also has a user_Id of 104 in it…
Kind regards J
Here’s another alternative: