LIKE wildcard with multiple fields and spaces in MYSQL
问题 I'm having some trouble searching for any similar match in two fields. For example I have a table with the values: CAR MAKE CAR MODEL Ford Mustang (Shelby) Toyota Corolla Seat Leon etc etc. I want to be able to get the result "Ford, Mustang (Shelby)" by searching for any of the following combinations: Ford Mustang Shelby Ford Mustang or any other combination. Is this possible? I've had a good search but it's hard to find the search terms to describe what I mean. 回答1: Split your terms on