select
    date,
    user_id,
    sum(pass_count) as total_pass_count
from
    questions_pass_record_detail
group by
    user_id,date
having sum(pass_count)>5;