test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

select *
from (select rank() over(partition by title order by sum(score) desc) as rn,
       title,
       sum(score) as score
from posts p
    inner join posttypes pt
      on p.posttypeid = pt.id
    inner join Users us
      on us.Id = p.OwnerUserId
    inner join badges b
      on us.Id = b.UserId
where p.closeddate between '2021-09-01' and '2021-09-30'
and pt.name ='Question'
group by title) as t
where rn <= 50

Enter Parameters

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