That's over, Stack Exchange

1

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

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

Enter Parameters

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