Q&A for professional and enthusiast programmers
-- tagname:Name of tag select tc.tagname , count(*) as [count] from tags tc inner join posttags ptc on ptc.tagid = tc.id inner join posttags pt on pt.postid = ptc.postid inner join tags t on pt.tagid = t.id where t.tagname = ##tagname:string## and tc.tagname <> ##tagname:string## group by tc.tagname order by count(*) desc