I having a query that has to search multiple values:
Code: Select all
SELECT id,name FROM table WHERE name LIKE '%value1%' OR name LIKE '%value2%' OR name LIKE '%value3%'
Something like
Code: Select all
SELECT id,name FROM table WHERE name LIKE IN ('%value1%','%value2%','%value%')