Answer score quartiles as a function of length

0

Please login or register to vote for this query.

(click on this box to dismiss)

Plots quartiles of the answer score distribution as a function of answer length.

DevOps Meta

Q&A about the site for software engineers working on automated testing, continuous delivery, service integration and monitoring, and building SDLC infrastructure

SELECT 
LEN(Body) AS Length,
Score AS Score,
NTILE(4) OVER(PARTITION BY ROUND(LEN(Body), -3) ORDER BY Score)
FROM Posts
WHERE PostTypeId = 2 AND
      LEN(Body) <= 500
ORDER BY
  LEN(Body),Score

Enter Parameters

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