This does not work because PendingFlags only has pending close votes, not votes that succeeded.
Q&A for professional and enthusiast programmers
SELECT TOP 20 q.ViewCount AS Views, q.Score as score, q.Id AS [Post Link] FROM Posts q INNER JOIN PostHistory h ON q.Id = h.PostId WHERE h.PostHistoryTypeId = 10 AND h.Comment=103 AND q.ClosedDate IS NOT NULL ORDER BY score DESC