MySQL使用locate函数来进行模糊搜索

SELECT * from t_bank_card_user where LOCATE(bank_name,'中国建设银行哈哈哈黑社会')>0

猜你喜欢

转载自www.cnblogs.com/fenghua/p/9821144.html
今日推荐