SELECT Id, Title, PostTypeId, Score, Rank() OVER(ORDER BY...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Skeptics

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

Enter Parameters

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