Re: Sum of columns

Поиск
Список
Период
Сортировка
От BladeOfLight16
Тема Re: Sum of columns
Дата
Msg-id CA+=1U=U7vQ1rXr4mqEttjXQRVw0iyC8b19epfKTmGQBJTATccQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sum of columns  (Marc Mamin <M.Mamin@intershop.de>)
Список pgsql-general
On Mon, Sep 9, 2013 at 8:12 AM, Marc Mamin <M.Mamin@intershop.de> wrote:

hi,

in addition to the others comments, you can also remove  " ELSE 0 " from your query.

It will result in <NULL> values that are discarded by SUM.


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

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: problem with query
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Best way to populate nested composite type from JSON`