不多说,直接上代码。
select * from table where name like '%王大锤%';
select * from table where LOCATE(‘王大锤’,name)>0;
不多说,直接上代码。
select * from table where name like '%王大锤%';
select * from table where LOCATE(‘王大锤’,name)>0;
454

被折叠的 条评论
为什么被折叠?