sql check if list of phrases exist in a string code example
Example 1: sql where contains
SELECT * FROM mytable
WHERE column1 LIKE '%word1%'
OR column1 LIKE '%word2%'
OR column1 LIKE '%word3%'
Example 2: sql check if list of phrases exist in a string
$out=select * from table_name;