Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles
select y, m, (a - b + 0.0) / a * 100 from ( select y, m, c as b, lag(c) over (order by y DESC, m) as a from ( select year(CreationDate) as y, month(CreationDate) as m, count(id) as c from posts group by year(CreationDate), month(CreationDate) ) q ) q2