Well, I need to get a median value for a set of numbers, from a query. To my surprise, Sql Server does not have a median function/sproc (well, if you install the analysis tools you do, but I can't).
The median function in Excel can be categorized as a statistical function. It can be entered as part of a formula in a cell of a worksheet. The syntax of the MEDIAN ...
where matrix is any n ×m matrix. The MEDIAN function returns the median value for each column in the matrix. It computes the median of univariate numeric data contained in the specified matrix. When ...