SELECT PostId, Comment FROM (SELECT PostId, Comment, ROW_...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Board and Card Games Meta

Q&A about the site for people who like playing board games, designing board games or modifying the rules of existing board games

SELECT PostId, Comment
FROM (SELECT PostId, Comment,
             ROW_NUMBER() OVER (PARTITION BY PostId ORDER BY CreationDate DESC) AS rownum
             FROM PostHistory) ph
WHERE rownum = 1;

Enter Parameters

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