select q1.author_id,author_level,round(length(group_concat(distinct answer_date))/10) as days_cnt from answer_tb q1 left join author_tb q2 on q1.author_id=q2.author_id group by q1.author_id,author_level having days_cnt>=3