Q&A for people studying math at any level and professionals in related fields
select top 50 * from PostHistory ph1 inner join PostHistory ph2 on ph1.PostId = ph2.PostId where ph1.PostHistoryTypeId = 3 and ph2.PostHistoryTypeId = 6