What is the most number of comments on a single post?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language

Q&A for students, teachers, and linguists wanting to discuss the finer points of the Japanese language

SELECT COUNT(c.Id) as TotalNoComments, p.Id as Posts_id
From Posts as p
Inner join Comments as c
on (p.Id=c.Id)
Group by p.Id
Order by TotalNoComments desc

Enter Parameters

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