How many tags per question

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select
  len(Tags) - len(replace(Tags, '<', '')) as TagCount,
  count(*) as QuestionCount
from Posts
where PostTypeId = 1
group by len(Tags) - len(replace(Tags, '<', ''))
order by TagCount

Enter Parameters

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