Tags and their synonyms


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 e.id,
  string_agg(TagSynonyms.SourceTagName, ',') as synonyms,
  e.body as 'Excerpt',
  w.body as 'WikiBody'
from tags t
left join Posts e
  on t.ExcerptPostId = e.Id
left join Posts w
  on t.WikiPostId = w.Id
left join TagSynonyms 
  on TagSynonyms.TargetTagName = t.tagName
where t.tagName like 'i%e%3%'
group by t.tagName, e.body, w.body, e.id
order by  count(t.tagName) desc

Enter Parameters

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