Q&A for professional and enthusiast programmers
select h.PostId as [Post Link], Cast(h.CreationDate as Date) as [Merge Date] from PostHistory h inner Join Posts p on p.ID = h.PostId where h.PostHistoryTypeId = 37 and p.PostTypeId = 1 order by h.CreationDate