select * from (select author, date_format(start_time,'%Y-%m') month, round((sum(if(if_follow=1,1,0))-sum(if(if_follow=2,1,0)))/count(1),3) fans_growth_rate, sum(sum(case if_follow when 1 then 1 when 2 then -1 end)) over(partition by author order by date_format(start_time,'%Y-%m')) total_fans from tb...