Recent Questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

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;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results