How to select based on the condition of a column exists

Поиск
Список
Период
Сортировка
От Shaozhong SHI
Тема How to select based on the condition of a column exists
Дата
Msg-id CA+i5JwbpxnR2+Jb++hWG-98csG_rMbSaKbcg74+TUM7ez6c6VQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to select based on the condition of a column exists  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
The following does not work.
select count(test) from table where exists (select test from table)


How to  select based on the condition of a column exists?   It column test is not exists, a message need to be returned.

Regards,

David

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

Предыдущее
От: "Lahnov, Igor"
Дата:
Сообщение: RE: Unable to start replica after failover
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to select based on the condition of a column exists