SELECT MAX(p.CommentCount) AS MaxCommentsOnQuestion FROM ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Chess Meta

Q&A about the site for serious players and enthusiasts of chess

-- Assuming the name or description for questions in the PostTypes table is "Question"
SELECT MAX(p.CommentCount) AS MaxCommentsOnQuestion
FROM Posts p
JOIN PostTypes pt ON p.PostTypeId = pt.Id
WHERE pt.Name = 'Question';

Enter Parameters

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