select * from '表名' where '模糊查询字段' regexp 'key1|key2|key3|...' and '其它字段' = '其它字段值' and ...
示例:查询姓名为张三,年龄为18,家庭地址在花园路,幸福路,安康路的所有人
select * from user_info where user_name = '张三' and age = 18 and address regexp '花园路|幸福路|安康路';
版权声明:本文为Leo_Hth原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。