select t.tag, concat(cast(round(t.tmp_avg_play_progress*100,2) as char),'%') as avg_play_progress from ( select c.tag, sum(if((c.time/c.duration)>=1,1,c.time/c.duration))/count(c.tag) as tmp_avg_play_progress from (select (unix_timestamp(a.end_time)-unix_timestamp(a.start_time)) as time, b.tag, b...