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

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

你可能感兴趣的:(mysql,sql,数据库)