In the table I need to be able to see all the companies with a productID of 121 or 133. Here is the kicker. They can only have those. If they have other ones then they would be excluded from this query.
Table looks like this:
CustID ProdID
143 121
143 156
143 452
144 133
145 495
So in this instance my query would only return CustID 144.
I can get it to return all the ones with 121 or 133 but getting the ones where those are their only products is stumping me.
Thanks in advance.
Table looks like this:
CustID ProdID
143 121
143 156
143 452
144 133
145 495
So in this instance my query would only return CustID 144.
I can get it to return all the ones with 121 or 133 but getting the ones where those are their only products is stumping me.
Thanks in advance.