Mysql – How to query with multiple fields in IN clause?
I want to query a table with multiple combined fields in an IN clause. Example: find all records with "john doe" and "marc smith", but ignore all other persons.. SELECT * FROM persons WHERE firstname IN ('john', 'marc') AND lastname…