select
a.delflag as del,
concat_ws(",",collect_set(a.msg)) as mm
from
(
select
delflag,
concat(user_id,"|",user_birth_date) as msg
from
user_baseinfo
where
length(user_birth_date) < 8
) as a
group by
a.delflag
网友评论