SELECT COUNT(*) FROM ( SELECT Questions.Id AS [Post Link...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sustainable Living

Q&A for folks dedicated to a lifestyle that can be maintained indefinitely without depleting available resources

-- Enter Query Title
-- Enter Query Description

SELECT COUNT(*)
    FROM
    (
        SELECT Questions.Id AS [Post Link], COUNT(Answers.Id) AS AnswerCount
            FROM Posts Questions
            INNER JOIN Posts Answers ON Questions.Id = Answers.ParentId
            WHERE
                Questions.PostTypeId = 1 AND
                Answers.PostTypeId = 2
            GROUP BY Questions.Id
            HAVING COUNT(Answers.Id) > 30
    ) AS AnswerCounts

Enter Parameters

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