Get Question Answer Pairs

0

Please login or register to vote for this query.

(click on this box to dismiss)

スタック・オーバーフローMeta

プログラマーと熱狂的なプログラマーのためのサイトに関する質問と回答

WITH titleToId AS (
  SELECT 
    DISTINCT Title,
    Id as titleId
  FROM Posts
  WHERE Title IS NOT NULL
    AND AnswerCount > 10
)

SELECT titleToId.Title AS Question, Posts.Body AS Answer
FROM Posts
  INNER JOIN titleToId
    ON titleToId.titleId = Posts.parentId 
      OR titleToId.Title = Posts.Title
ORDER BY Posts.AnswerCount, Question DESC

Enter Parameters

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