Q&A for those using, extending or developing Emacs
SELECT TOP 5 p.Id AS [Post Link], a.Id AS [Accepted Answer Link] FROM Posts p LEFT JOIN Posts a ON p.AcceptedAnswerId = a.Id WHERE p.PostTypeId = 1 ORDER BY p.ViewCount DESC;