mysql全文匹配搜索字串中含圓括號(hào)()怎么辦?
3 回答

搖曳的薔薇
TA貢獻(xiàn)1793條經(jīng)驗(yàn) 獲得超6個(gè)贊
比如查是否有pangyiguang
mysql有個(gè)函數(shù):FIND_IN_SET
1 | SELECT FIND_IN_SET( 'pangyiguang' , '94pangyiguang88' ); |
或者你用
1 | select * from tb where filed like '%pangyiguang%' ; |
添加回答
舉報(bào)
0/150
提交
取消