Number of questions/answers per month of question's CreationDate in the given tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT eomonth(q.CreationDate) [month],
  COUNT(DISTINCT q.Id) AS [Total Questions],
  SUM(q.AnswerCount) AS [Total Answers]
FROM Posts q 
WHERE
  (q.Tags Like '%<##tagname?set-theory##>%')
GROUP BY eomonth(q.CreationDate)
ORDER BY eomonth(q.CreationDate)
---a.CreationDate might be different from q.Creationdate
---I did not want to complicate the query too much and I wanted to have questions and answers in the same query

Enter Parameters

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