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