ыф

0

Please login or register to vote for this query.

(click on this box to dismiss)

Philosophy Meta

Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence

select _year, _month, (a - b + 0.0) / a * 100 as res
from (
  select _year, _month, _count as b, lag(_count) over (order by _year, _month) as a
  from (
    select year(CreationDate) as _year, 
           month(CreationDate) as _month, 
           count(id) as _count
    from Posts
    group by year(CreationDate), month(CreationDate)
  ) q
) q2 where (a - b + 0.0) / a * 100 < 0

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results