with basetable as( select u.video_id, u.if_like, u.if_retweet, u.comment_id, max(date(u.end_time))over(partition by u.video_id) as enddate, date(ct.current) as currenttime, date(v.release_time) as posttime, if(timestampdiff(second,u.start_time,u.end_time) >= v.duration,"完成",&qu...