Let’s say I have this table :
id | field1 | field2 | field3 | field4
0 | pear | peach | fruit | california
1 | apple | peas | xxxxxx | cupertino
2 | apple | peach | xxxxxx | san francisco
If the user search for “apple peach” I want to get the line
2 | apple | peach | xxxxxx | san francisco
same result expected for the search “applepie san francisco” or “applepeach fran”
So what would be the mysql request to do that?
thanks
Try this query