SELECT vi.tag, CONCAT(ROUND(AVG(IF((TIMESTAMPDIFF(second, uv.start_time, uv.end_time) / vi.duration) >= 1, 1, TIMESTAMPDIFF(second, uv.start_time, uv.end_time) / vi.duration)) * 100, 2), '%') AS avg_play_progress FROM tb_user_video_log AS uv LEFT OUTER JOIN tb_video_info AS vi ON uv.video_id = vi...