Q&A for professionals and students of engineering
-- List of active users / active editors / active posters in the last -- 30 days, only counting questions and answers with non-negative score, -- not closed and not deleted. Number arbitrarily chosen to summarily -- resemble https://stats.wikimedia.org/EN/TablesWikimediaAllProjects.htm SELECT p.OwnerUserId, u.DisplayName, u.Reputation, COUNT(*) AS ActivePosters5 FROM Posts p JOIN Users u ON p.OwnerUserId=u.Id WHERE p.Score >= 0 AND p.ClosedDate IS NULL AND p.DeletionDate IS NULL AND DATEDIFF(day, p.CreationDate, GETDATE()) <= 30 GROUP BY p.OwnerUserId, u.DisplayName, u.Reputation HAVING COUNT(p.Id) >= 5 ORDER BY ActivePosters5 desc, DisplayName ;