不多说,直接上代码。
select * from table where name like '%王大锤%';
select * from table where LOCATE(‘王大锤’,name)>0;
高效模糊查询like
阅读 131
2023-03-22
不多说,直接上代码。
select * from table where name like '%王大锤%';
select * from table where LOCATE(‘王大锤’,name)>0;
相关推荐
精彩评论(0)