select `date` as 'days',sum(pass_count) as 'passCnt'
from questions_pass_record_detail
group by `date`

需要使用 `` 去重符号和数据库系统中的date进行区分