Number of questions with at least one answer (per month) - excluding closed questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Cardano Meta

Q&A for users and developers of the Cardano cryptocurrency ecosystem

SELECT
  eomonth(q.CreationDate) AS [Month],
  COUNT(q.Id) AS [All questions],
  SUM(CASE WHEN (q.AnswerCount>0) THEN 1 ELSE 0 END) AS  [At least one answer],
  COUNT(q.AcceptedAnswerId) AS [Accepted answer]
FROM Posts q
WHERE (q.PostTypeId=1)
---only questions 
  AND (q.ClosedDate IS NULL)
---not closed questions  
GROUP BY eomonth(q.CreationDate)
ORDER BY eomonth(q.CreationDate)

Enter Parameters

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