【发布时间】:2012-09-09 19:36:49
【问题描述】:
假设我有这张桌子:
id | field1 | field2 | field3 | field4
0 | pear | peach | fruit | california
1 | apple | peas | xxxxxx | cupertino
2 | apple | peach | xxxxxx | san francisco
如果用户搜索“apple peach”我想得到这条线
2 | apple | peach | xxxxxx | san francisco
搜索“applepie san francisco”或“applepeach fran”的预期结果相同
那么执行此操作的 mysql 请求是什么?
谢谢
【问题讨论】: