Q&A for scientists using computers to solve scientific problems
SELECT Month, SUM(Count) AS Count FROM ( SELECT DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) AS Month, COUNT(*) AS Count FROM Votes GROUP BY DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) UNION SELECT DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) AS Month, COUNT(*) AS Count FROM PostFeedback GROUP BY DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), 1) ) q GROUP BY Month ORDER BY Month DESC