Q&A for professionals, academics, and students working within the systems development life cycle
SELECT p.Id as [Post Link], count(*) as [Occurrences] FROM Posts p INNER JOIN Votes v ON p.Id = v.PostId WHERE p.PostTypeId = 1 AND p.ClosedDate IS NULL AND v.VoteTypeId = 6 GROUP BY p.Id HAVING count(*) >= 1 ORDER BY occurrences DESC