with t1 as( select (select date(max(end_time)) from tb_user_video_log) as current_t, uid, tl.video_id, start_time, end_time, if_follow, if_like, if_retweet, comment_id, duration, release_time from tb_user_video_log tl left join tb_video_info ti on tl.video_id=ti.video_id ) select video_id, round((wa...