Story-Identification questions asked and answered in one go

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

--1=Q 2=A
SELECT
  Q.Id AS [Post Link],
  Q.OwnerUserId AS [User Link],
  Q.Score,
  Q.Title,
  Q.AnswerCount,
  Q.CreationDate AS AskedDate, 
  A.CreationDate AS AnsweredDate,
  Q.ClosedDate
FROM Posts Q
JOIN Posts A ON (Q.Id = A.ParentId)
JOIN PostTags T ON (T.PostId = Q.Id)
WHERE T.TagId = 130 -- story-identification
  AND Q.OwnerUserId = A.OwnerUserId
  AND Q.PostTypeId = 1 
  AND A.PostTypeId = 2
  AND CAST(Q.CreationDate AS DATE) = CAST(A.CreationDate AS DATE)

Enter Parameters

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