Questions with the given number of tags

1

Please login or register to vote for this query.

(click on this box to dismiss)

GIS

Q&A for cartographers, geographers and GIS professionals

SELECT 
  q.Id AS [Post Link],
  q.Tags,
  COUNT(t.Id) 
FROM Posts q INNER JOIN PostTags pt ON q.Id=pt.PostId
INNER JOIN Tags t ON t.id = pt.TagId
GROUP BY q.Id, q.Tags
HAVING COUNT(t.Id)=##num?5##
ORDER BY q.Id DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results