Re: sum(if command

Поиск
Список
Период
Сортировка
От Jochem van Dieten
Тема Re: sum(if command
Дата
Msg-id 1032182652.3d85db7c8d52b@webmail.oli.tudelft.nl
обсуждение исходный текст
Ответ на sum(if command  ("king" <king_pepper99@hotmail.com>)
Список pgsql-general
Quoting king <king_pepper99@hotmail.com>:
>
> Does posgres support the equivalent to the mysql sum(if command in a
> SQL statement? I did not see reference to it in my readings.

The SQL standard CASE statement is supported and it can do the same.

Jochem

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