Average score for a tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga

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 + '%';

Enter Parameters

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