The Tag ordered by count

0

Please login or register to vote for this query.

(click on this box to dismiss)

Enter Query Description

Stack Overflow

Q&A for professional and enthusiast programmers

-- Enter Query Title
-- Enter Query Description

WIth tagcounts as (
Select count(postID) c, tagname   from 
PostTags pt 

INNER JOIN tags t on 
pt.tagID = t.id
group by tagname
)
Select row_number() over (order by c desc) rn,
tagName,
c
from tagcounts

Enter Parameters

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