Dup Questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Engineering

Q&A for professionals and students of engineering

SELECT TOP 100
  questions.Id AS QuestionId,
  questions.Title AS QuestionTitle,
  questions.AcceptedAnswerId AS AcceptedAnswer,
  answers.Id AS MostVotedAnswer
FROM Posts questions
INNER JOIN Posts answers ON answers.ParentId = questions.Id
WHERE (
  questions.Id = 14
)
GROUP BY questions.Id, questions.Title, questions.AcceptedAnswerId, answers.Id, answers.Score
ORDER BY answers.Score DESC

Enter Parameters

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