How popular is tag X?

0

Please login or register to vote for this query.

(click on this box to dismiss)

List the number of questions using tag X.

Islam Meta

Q&A about the site for Muslims, experts in Islam, and those interested in learning more about Islam

-- How popular is tag X?
-- List the number of questions using tag X.

DECLARE @TName varchar (255) = 'awk'

SELECT TOP 10
    TagName AS Name,
    count(*) AS Total
FROM
    TAGS JOIN PostTags ON PostTags.TagId = Tags.Id
WHERE
    TagName = @TName
GROUP BY
    TagName
ORDER BY
    Total
DESC

Enter Parameters

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