Q&A for scientific skepticism
SELECT Id, Title, PostTypeId, Score, Rank() OVER(ORDER BY Score) AS Rank, MAX(Score) AS MaxScoreByType FROM Posts GROUP BY Id, Title, PostTypeId, Score