只需要这样就能使用or条件查询 列如(select * from customer where phone like '%2%' or `name` like '%2%') 如果需要其他复杂条件请百度 嘿嘿...