total number of badges earned in January 2016 according to the badge class.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

SELECT TOP 100 Posts.Id, Posts.Title, Posts.PostTypeId, Posts.Score, a.MaxScoreByType
FROM Posts
LEFT JOIN (
  SELECT PostTypeId, MAX(Score) as MaxScoreByType
  FROM Posts
  GROUP BY PostTypeId
  ) AS a
ON Posts.PostTypeId = a.PostTypeId

Enter Parameters

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