Median score

0

Please login or register to vote for this query.

(click on this box to dismiss)

Calculates the median score

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

-- Median score
-- Calculates the median score

SELECT
  x.score,
  100*Floor(x.viewcount/100)+50 as views,
  Count(1) as number
FROM
  posts x
Where posttypeid=1
GROUP BY
  x.score, Floor(x.viewcount/100)

Enter Parameters

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