时间:2021-07-01 10:21:17 帮助过:18人阅读
select * from tb where title REGEXP '峨眉山|上海|成都|乐山|北京'
select * from tb where title like '%峨眉山%' or title like '%乐山%' or title '%上海%'
http://www.phpthinking.com/archives/187
用like.
like啊,
二楼回答很详细了,必须like
select * from tb where title REGEXP '峨眉山|上海|成都|乐山|北京'