Q&A for professional and enthusiast programmers
Select top 1000 p.id as [Post Link], p.Score, 'https://stackoverflow.com/q/'+cast(p.id as varchar(11))+'', p.* FROM PostsWithDeleted p WHERE p.PostTypeId = 2 and p.DeletionDate IS NOT NULL order by P.Score desc