mysql模糊查询select * from project where CONCAT(`title`) like

const sql = “select * from project where CONCAT(`title`,`sellPoint`,`descs`) like '%” + 关键字变量+ “%'”;
注意单引号和反引号

猜你喜欢

转载自blog.csdn.net/puhuihui/article/details/125584332
今日推荐