I\'m trying to search a table for specific words.
Say I have a list of words: printer,network,wireless,urgent
I only want to return those rows where all of these
not the best way, but:
SELECT * FROM tickets WHERE concat(subject,body) REGEXP "printer" AND concat(subject,body) REGEXP "network" AND concat(subject,body) REGEXP "wireless" AND concat(subject,body) REGEXP "urgent"