Distribution of HNQs based on minutes until entering


Please login or register to vote for this query.

(click on this box to dismiss)

Linguistics Meta

Q&A about the site for professional linguists and others with an interest in linguistic research and theory

;with times_cte AS (
p.Id AS pid,
p.CreationDate AS cre,
ph.CreationDate AS hot,
DATEDIFF(minute, p.CreationDate, ph.CreationDate) AS minutes
FROM PostHistory ph INNER JOIN Posts p ON ph.PostId=p.Id
WHERE ph.PostHistoryTypeId=52
---52 = Question became hot network question

  COUNT(pid) AS Count
FROM times_cte
GROUP BY minutes
ORDER BY minutes

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results