Basically it is easy. I have about 20 records with 3 columns. ID, Username and TX. TX values are random characters. I need to write a query where TX is either one of 3 TX values and where TX is one of 5 values and where TX is one of 7 values. If neither of the groupings have a match then the query should return 0 rows. For some reason this simple logic always returns 0. I can not figure it out.
tx values are
a1
a2
a3
b1
b2
b3
b4
etc, etc, etc.
Any suggestions. I was doing something like:
select * from abc
where tx in ('a1,a2,a3) and tx in (b1,b2,b4) and etc, etc.
Logically I am hoping it would bring the rows that match all of the conditions in which this case it should however it returns nothing.