SELECT TOP 10 questions.id as [Post Link], questions.* FR...

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 10 questions.id as [Post Link], questions.* FROM Posts questions
WHERE PostTypeID = 1 -- Question
AND NOT EXISTS(
  SELECT NULL FROM Posts answers
  WHERE answers.PostTypeID = 2 -- Answer
  AND answers.Score >= 0
  AND answers.ParentID = questions.Id
)
AND ClosedDate IS NULL
AND AcceptedAnswerId IS NULL

Enter Parameters

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