I can't test this at my PC because I don't have a local host nor MySQL installed (yet) and I'm losing my MySQL knowledge as I'm not able to make use of it, but maybe the
reference might help? After a quick look, it seems like the IN statement might do this?