multi column aggregates?

Поиск
Список
Период
Сортировка
От Creager, Robert S
Тема multi column aggregates?
Дата
Msg-id 10FE17AD5F7ED31188CE002048406DE8514EF0@lsv-msg06.stortek.com
обсуждение исходный текст
Список pgsql-general
Wondering if it's possible to create multi column (but a constant number of
columns per function) aggregate functions?  I'm looking to create a weighted
mean, which uses the sums and products... of 2 columns.  I have the SQL
statements to do what I want, but a two column aggregate in this case would
seem to work well.

Robert Creager
Senior Software Engineer
Client Server Library
303.673.2365 V
303.661.5379 F
888.912.4458 P
StorageTek
INFORMATION made POWERFUL



В списке pgsql-general по дате отправления:

Предыдущее
От: Tuckheng
Дата:
Сообщение: "Relation does not exist" error
Следующее
От: "Richard Teviotdale"
Дата:
Сообщение: OID's as Primary Keys