Calculating the Median Value within a Partitioned Set Using T-SQL
It is ironic that one of the most essential of statistical aggregations, the median, has been so difficult in the past to calculate efficiently in SQL. Dwain Camps sets the candidates to work and identifies the winners and losers.
2014-01-22
3,927 reads