SELECT Q.Id AS [Post Link], Q.CreationDate AS [Question D...

0

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
  Q.Id AS [Post Link],
  Q.CreationDate AS [Question Date],
  A.Id AS [Post Link],
  A.CreationDate AS [Answer Date]
FROM Posts Q
INNER JOIN Posts A ON (A.ParentId=Q.Id AND A.PostTypeId=2)
WHERE Q.PostTypeId=1

Enter Parameters

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