All tags with excerpt and wiki

0

Please login or register to vote for this query.

(click on this box to dismiss)

Lifehacks

Q&A for people looking to bypass life's everyday problems with simple tricks

-- Start with the Tags table, merge in body from posts table --

SELECT 
  A.TagName AS TagName 
  ,A.Count AS TagCount 
  ,B.Body AS Excerpt
  -- ,C.Body AS Wiki
FROM Tags AS A 
   LEFT JOIN Posts AS B ON A.ExcerptPostId = B.ID
   -- LEFT JOIN Posts AS C ON A.WikiPostId = C.ID
ORDER BY TagCount DESC

Enter Parameters

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