Q&A about the site for members of the workforce navigating the professional setting
SELECT TOP 100 p.Id as [Post Link], p.CreationDate as [Create Date], p.ClosedDate as [Close Date] from Posts p where p.PostTypeId = 1 and DATEDIFF(DAY, p.CreationDate, p.ClosedDate) < 1 order by p.ClosedDate - p.CreationDate asc