= select tag ,concat(cast(round(avg(jd)*100,2) as char),'%') as avg_play_progress from ( select tvl.* ,tvi.duration ,tvi.tag ,timediff(end_time,start_time) as df ,if(timediff(end_time,start_time)/tvi.duration>1,1,timediff(end_time,start_time)/tvi.duration) as jd from tb...