The following code does not work but I am using is as an example of what I am trying to accomplish:
SELECT thing_id
FROM table_of_things
WHERE table_of_things.thing_color, table_of_things.thing_flavor IN
( SELECT good_color,good_flavor FROM good_things )
EDIT: So apparently it wasent apparent from my code to SOME people. I am trying to use to get the things_id from the table_of_things using two criteria from the subquery.
You haven’t asked a question but I suspect you need to change your query to the following:
or maybe:
An in statement can only check one value, not two like you are trying to do.