Q&A about the site for enthusiasts and power users of the Android operating system
SELECT TOP 10 DATEDIFF(SECOND, p.CreationDate, a.CreationDate), p.CreationDate, a.CreationDate FROM Posts p INNER JOIN Posts a ON a.id = p.AcceptedAnswerId WHERE p.AcceptedAnswerId IS NOT NULL AND datepart(year, p.CreationDate) = 2017