Mysql模糊查询Like传递参数的语句

set @keyWord='我的';

select * from tblcontent where content like CONCAT('%',@keyWord,'%')

posted @ 2018-10-19 11:50  94cool  阅读(5061)  评论(0编辑  收藏  举报