Ratio of AnswerCount to ViewCount (by month of CreationDate of the question) - only non-CW questions


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for professional mathematicians

SELECT eomonth(p.CreationDate) [month],
  ((CAST(SUM(p.AnswerCount) AS decimal))/(CAST(SUM(p.ViewCount) AS decimal))) AS Ratio
FROM Posts p
WHERE p.PostTypeId=1
---only questions: p.PostTypeId=1
AND p.CreationDate >= '##Date1?2015-01-01##' AND p.CreationDate <= '##Date2?2021-01-01##'
AND (p.CommunityOwnedDate IS NULL)
---only non-CW questions
GROUP BY eomonth(p.CreationDate)
ORDER BY eomonth(p.CreationDate)

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results