select top 50000 Posts.Title + Posts.Body as [Post Body],...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

select top 50000
Posts.Title + Posts.Body as [Post Body], SUBSTRING(Posts.Tags, 2, LEN(Posts.Tags)-2) as [Post Tags]
From
Posts
Where
Posts.Tags <> '' 
AND Posts.Tags NOT LIKE '%><%' 
AND SUBSTRING(Posts.Tags, 2, LEN(Posts.Tags)-2) IN 
  (select top 100
  Tags.TagName as Tags
  From
  Tags
  Order By Tags.Count desc)

Enter Parameters

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