Du kan göra så här: SELECT city FROM user WHERE (firstName, lastName) IN (('a', 'b'), ('c', 'd')); Sqlfiddle .