不使用like %value%进行索引
选择` column ` from ` table ` where ` field ` like ' % keyword % '; 可以使用like value%的前值匹配,可以追溯索引
选择` column ` from ` table ` where ` field ` like ' keyword % '; 使用mysql内置函数
查询内容在字段值中的位置
检查keyword在field中的位置select ` column ` from ` table ` wherelocate (keyword ),(field ) ) 0是上面的别名select(column ) from ) table