Please login or register to vote for this query.

(click on this box to dismiss)

Sitecore Meta

Q&A about the site for developers and end users of the Sitecore CMS and multichannel marketing software

AVG(CAST(DATEDIFF(SECOND, p.CreationDate, a.CreationDate) AS BIGINT)) AS avg_secs
FROM Posts p
INNER JOIN Posts a ON = p.AcceptedAnswerId
WHERE p.AcceptedAnswerId IS NOT NULL
  AND datepart(year, p.CreationDate) = 2017
  AND p.PostTypeId = 1
  AND a.PostTypeId = 2

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results