Q&A about the site for people who build and repair bicycles, people who train cycling, or commute on bicycles
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;