Q&A for people studying math at any level and professionals in related fields
SELECT eomonth(p.creationdate), ROUND((COUNT(p.DeletionDate))*100.0/(COUNT(p.Id)),2) AS percentage FROM PostsWithDeleted p WHERE (p.PostTypeId=1) --- AND (p.Tags LIKE '%<##tagName?elementary-set-theory##>%') AND (p.CreationDate >= '##Date1?2010-01-01##') AND (p.CreationDate <= '##Date2?2019-12-31##') GROUP BY eomonth(p.creationdate) ORDER BY eomonth(p.creationdate)