Count all the tags used in a set of questions given by their IDs

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

select
  TagName, count(*) as TagCount
FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
where
  PostTags.PostId in (
  398378, 452902, 2027397, 4368857, 4619735,  -- C# / .NET
  2178303, 6747316,                           -- C++
  686231, 4121678, 6011345, 8654257, 8664705, -- Java
  303053, 3221008,                            -- Perl
  5697717, 6451232,                           -- PHP
  136168, 2301789,                            -- Python
  754494, 3024372                             -- Ruby
  )
group by TagName
order by TagCount desc

Enter Parameters

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