ыф

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

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

Enter Parameters

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