【发布时间】:2015-05-06 07:26:32
【问题描述】:
我的数据库中有 foo 关键字。但现在我想这样搜索
Select id from table where name like '%foo function%'
这样的数据表
-----------------
|id |name |
-----------------
|1 |foo |
|2 |sourc |
--------------
现在我想要“foo”字符串与数据库“foo”结果匹配的“foo function”字符串请告诉我该怎么做。
【问题讨论】:
-
实际上很难理解你在问什么。您能否添加一些示例表数据和预期结果。
-
请检查我添加它。