Q&A about the site for people who build and repair bicycles, people who train cycling, or commute on bicycles
SELECT eomonth(p.creationdate), ROUND((COUNT(p.ClosedDate))*100.0/(COUNT(p.Id)),2) AS percentage FROM PostsWithDeleted p WHERE (p.PostTypeId=1) AND (p.CreationDate >= '##Date1?2010-01-01##') AND (p.CreationDate <= '##Date2?2021-01-01##') GROUP BY eomonth(p.creationdate) ORDER BY eomonth(p.creationdate)