SELECT q.Id ,q.CreationDate ,q.Title ,q.Body ,q.Tags ,q.S...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

SELECT 
q.Id
,q.CreationDate
,q.Title
,q.Body
,q.Tags
,q.Score
,q.ViewCount
,q.ParentId
,a.Score as AnswerScore
,a.Body as Answer

FROM Posts as q
LEFT JOIN Posts as a ON q.AcceptedAnswerId = a.Id
INNER JOIN PostTypes as pt ON q.PostTypeId = pt.Id

WHERE DATEPART(YEAR, q.CreationDate) IN (2009, 2010)
AND pt.Name LIKE 'Question'

ORDER BY q.Score DESC;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results