SQL FUNCTION to compute MEDIAN
Hi
Just as we use MAX and MIN to compute the maximum and minimum values using SELECT query in SQL, does anyone know of a direct/indirect function/method to calculate the MEDIAN of a given set of values. Powerbuilder provides median function. I am looking forward to doing this using SQL/PLSQL.