bookmark

Build Median Aggregate Function in SQL - Postgres OnLine Journal


Description

One of the things we love most about PostgreSQL is the ease with which one can define new aggregate functions with even a language as succinct as SQL. Normally when we have needed a median function, we've just used the built-in median function in PL/R as we briefly demonstrated in Language Architecture in PostgreSQL.

Preview

Tags

Users

  • @macek

Comments and Reviews