select artical_id,max(cnt) max_uv from (select artical_id, sum(num) over (partition by artical_id order by dt asc,num desc) as cnt from (select artical_id,in_time dt,1 num from tb_user_log where artical_id != 0 union all select artical_id,out_time dt,-1 num from tb_user_log where artical_id != 0 )...