SQL中怎么查询阅读时间在营销活动推广时间一天内

create table push_reader as 
select DISTINCT a.*,b.drop_dt from `sony_push detail` a 
inner join sony_push b on a.camp_id = b.camp_id 
where a.read_date>=b.drop_dt 
and a.read_date<=date(b.drop_dt)+1;

在这里插入图片描述

发布了921 篇原创文章 · 获赞 1346 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/qq_35456045/article/details/105567865