select distinct author_id, author_level, max(days_cnt) as days_cnt from (select c.author_id, d.author_level, count(date2) as days_cnt from (select *, date_sub(answer_date, interval num day) as date2 from (select author_id, answer_date, row_number() over (partition by author_id order by answer_date...