SELECT a.ClosedDate, MAX(b.UpVotes), MAX(b.DownVotes), MA...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT
  a.ClosedDate,
  MAX(b.UpVotes),
  MAX(b.DownVotes),
  MAX(b.UpVotes) + MAX(b.DownVotes) AS questions_closed
FROM
  Posts a
  INNER JOIN Users b ON a.Id = b.Id
GROUP BY
  a.ClosedDate
ORDER BY
  MAX(b.UpVotes) DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results