Q&A for professional and enthusiast programmers
SELECT a.id AS [Post], a.Score, q.CreationDate AS [Question Date], a.CreationDate AS [Answer Date] FROM Posts a INNER JOIN Posts q ON a.ParentId = q.Id WHERE q.PostTypeId = 1 AND a.PostTypeId = 2 AND datediff(day, q.CreationDate, a.CreationDate) > 0 AND a.score >= 100 --ORDER BY a.CreationDate DESC ORDER BY datediff(day, q.CreationDate, a.CreationDate) DESC