SELECT COUNT(*) AS ActivePosters5 FROM Posts p WHERE p.Sc...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Puzzling

Q&A for those who create, solve, and study puzzles

SELECT COUNT(*) AS ActivePosters5
FROM Posts p
WHERE p.Score >= 0
AND p.ClosedDate IS NULL
AND p.DeletionDate IS NULL
AND DATEDIFF(day, p.CreationDate, GETDATE()) <= 90
GROUP BY p.OwnerUserId
HAVING COUNT(p.Id) >= 5;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results