All answers for sampled questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Русский язык Meta

Q&A for лингвистов, этимологов, и энтузиастов русского языка

WITH
    Answers AS (
        SELECT *
            FROM Posts
            WHERE PostTypeId = 2 -- Answers
    )

Select top 50
questions.id AS [question_id],
answers.id AS [answer_id],
questions.acceptedanswerid AS [accepted_id],
answers.score AS [answer_score]
FROM posts AS questions
JOIN answers ON questions.id = answers.parentid

WHERE questions.AnswerCount >=3 and questions.OwnerUserId not in
(SELECT OwnerUserId From answers 
WHERE answers.ParentId = questions.Id)

ORDER BY questions.creationdate

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results