mysql正则匹配解决查询一个字段是否在另一个字段中

select b.filter_name , count(*) from at_goods a , at_search_filter b
where a.application REGEXP b.filter_name
group by b.filter_name

posted @ 2016-03-17 16:50  洋葱土豆随心匠  阅读(1320)  评论(0编辑  收藏  举报