Average of Array?

Поиск
Список
Период
Сортировка
От Lee Hachadoorian
Тема Average of Array?
Дата
Msg-id AANLkTimbLPhLW7DzeTugvwClKBX-UQhOrUlR8afHydGB@mail.gmail.com
обсуждение исходный текст
Ответы Re: Average of Array?
Re: Average of Array?
Re: Average of Array?
Список pgsql-sql
Is there a function that returns the average of the elements of an
array? I'm thinking of something that would work like the avg()
aggregate function where it returns the average of all non-NULL
values. Can't find anything like it in the docs, and I'd like to make
sure I'm not missing something.

Thanks,

-- 
Lee Hachadoorian
PhD Student, Geography
Program in Earth & Environmental Sciences
CUNY Graduate Center


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

Предыдущее
От: "bruno.scovoli"
Дата:
Сообщение: Re: COPY command and required file permissions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Average of Array?