Average score for questions and answers, by tag

5

Please login or register to vote for this query.

(click on this box to dismiss)

For all canonical tags, what is the average question score and the average answer score?

Economics

Q&A for those who study, teach, research and apply economics and econometrics

SELECT TagName
     , Answers.Id AS [Post Link]
    FROM Tags
        INNER JOIN PostTags
            ON PostTags.TagId=Tags.Id
        INNER JOIN Posts AS Questions
            ON Questions.Id=PostTags.PostId
        INNER JOIN Posts AS Answers
            ON Answers.ParentId=Questions.Id
    WHERE
        Answers.PostTypeId=2
    ORDER BY TagName

Enter Parameters

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