一共有三种,常用的还是like 第一种like where id like “%%” 第二种~ where Id ~ “” 相当于前后都有百分号的like 第三种正则表达式 where id REGEXP “” 具体的正则表达式写法可以百度