summary1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Space Exploration

Q&A for spacecraft operators, scientists, engineers, and enthusiasts

select a.Id,a.Total_answers from
(select p.Id,SUM(AnswerCount) as Total_answers,Rank() over(order by SUM(AnswerCount) desc)as rank1 from Posts p
join PostTypes pt
on p.PostTypeId=pt.Id
where pt.Name='Question'
group by p.Id) a
where a.rank1=1

Enter Parameters

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