Q&A for anime and manga fans
declare @tag as varchar = '##Tag##'; select cast(sum(Score) as float)/cast(count(Score) as float) as AvgScore from posts where tags like '%' + @tag + '%';