Median Function in PostgreSQL - Mailing list pgsql-general

From Joseph Drasin
Subject Median Function in PostgreSQL
Date
Msg-id 7CAA42AB19AE99458975FD39281708C74B5EAD@bet-ems1.informaxinc.net
Whole thread Raw
List pgsql-general
I've been working a few days on trying to develop a median function for PostgreSQL. I've looked at a few discussions
anda couple of examples, but none seem to really give an answer that I've been able to get to work (the two examples
I'vetried either didn't work or worked unlike what I was expecting). I know the concept of how to build it, but I can't
getmy function to work. Any help would be greatly appreciated. 

Joseph Drasin
Sr. Database Administrator/Developer
jodrasin@informaxinc.com
InforMax Inc.
(240) 747-4089
(800) 357-3114


pgsql-general by date:

Previous
From: "Wm. G. Urquhart"
Date:
Subject: Re: how to get the primary key of a freshly inserted row in a stored procedure
Next
From: David Link
Date:
Subject: Screwy behavior with SUM and multiple joins to same table