Percentage of questions with at least one answer per day of year

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
  DATEPART(dayofyear,CreationDate),
  CAST(SUM(CASE when AnswerCount > 0 then 1 else 0 END) as float)/COUNT(Posts.Id) as Ratio
FROM Posts
WHERE PostTypeId=1
GROUP BY DATEPART(dayofyear,CreationDate)
ORDER BY DATEPART(dayofyear,CreationDate) ASC

Enter Parameters

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