Du kan gøre sådan her: SELECT city FROM user WHERE (firstName, lastName) IN (('a', 'b'), ('c', 'd')); Sqlfiddle .