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