Q&A for Ubuntu users and developers
SELECT TOP 20 Questions.Id AS [Question Link], Questions.Title, Questions.CreationDate AS [Question Date], Questions.Body AS [Question Body], Questions.Tags AS [Question Tag], Answers.Id AS [Accepted Answer Link], Answers.CreationDate AS [Answer Date], Users.DisplayName AS [Answered By] FROM Posts AS Questions INNER JOIN Posts AS Answers ON Questions.AcceptedAnswerId = Answers.Id LEFT JOIN Users ON Answers.OwnerUserId = Users.Id WHERE Questions.PostTypeId = 1 -- Question AND Questions.AcceptedAnswerId IS NOT NULL ORDER BY Questions.CreationDate DESC;