mysql截取指定关键词后所有字符串

 

 

select right(aa.c, length(aa.c) - locate(',', aa.c))
from (
select group_concat(id) as c
from tb_xl_route
group by shop_id, type, route
having count(1) > 1
) aa

 

 

 

 

posted @ 2022-01-18 17:45  wanhua.wu  阅读(239)  评论(0编辑  收藏  举报