select top 1000 Id as [Post Link], ViewCount from Posts w...

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 top 1000 Id as [Post Link], ViewCount
from Posts
where PostTypeId=1 --is question
and Id in 
  (select PostId 
   from PostTags 
   where TagId in 
     (select Id 
      from Tags
      where TagName = rtrim(##TagName:string##))
   )
order by ViewCount DESC

Enter Parameters

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