Consider this database table:
| id | name | city |
+----+------+-----------+
| 10 | test | anza |
| 11 | fish | riverside |
I want to find items whos city name is included in a string like:
anza city
riverside county
How can I find items whose city name is included in my strings using MySQL? In other words, which cities are included in the string 'anza city'? This should return id 10.
It seems the opposite of LIKE in MySQL.