SELECT p.Score, AVG(CAST(p.ViewCount as Float)), STDEV(CA...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

-------------------------
-- @author: Moradnejad --
-------------------------
SELECT p.Score, AVG(CAST(p.ViewCount as Float)), STDEV(CAST(p.ViewCount as Float)) as AvgScore
From posts p
where p.PostTypeId = 1
group by Score
order by Score ASC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results