/*What is the most number of comments on a single post? H...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Health Meta

Q&A for medical specialists, students, dietitians, and anyone with health-related questions

/*What is the most number of comments on a single post?
How many posts have the exact same number of answers?
Bonus:
What is the current highest scored comment, and what post does it belong to?
*/

/*
select id, commentcount
from posts
order by commentcount desc
*/

select answercount Tot_Ans_For_A_Post, count(id) Num_of_Post
from posts
group by answercount





/*
select a.id, a.answercount, b.id, b.answercount
from posts a, posts b
where a.id != b.id
and a.answercount = b.answercount
*/

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results