Count of posts with only one tag, grouped by tag

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

-- Count of posts with only one tag, grouped by tag

select count(p.id), p.tags from posts as p
where p.tags not like '%><%'
group by p.tags
order by count(p.id) desc

Enter Parameters

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