Q&A for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles
-- Response time: distribution in hours until accepted answer select COUNT(*) AS [Count], datediff(Hour, qu.CreationDate, ans.CreationDate) AS Hours from posts qu join posts ans on qu.AcceptedAnswerId = ans.Id GROUP BY datediff(Hour, qu.CreationDate, ans.CreationDate) order by [Hours] ASC