标签:2014 log sp c as 简单 rom user view
select min(call_log),
a.mail_subject from
(select mail_to,mail_subject from dw_user_deviler_201408 where
log_date>=20140825 and mail_subject not like ‘%?%‘ and mail_subject not like ‘%时%‘ and mail_to!=‘‘ and
mail_subject!=‘‘ and mail_subject rlike ‘.*[\u4e00-\u9fa5]+.*‘) a
lateral view explode(split(mail_to,"\;")) b as call_log group by a.mail_subject;
标签:2014 log sp c as 简单 rom user view
原文地址:http://www.cnblogs.com/charlie-badegg/p/3944986.html