Search Postgresql Archives
How to select based on the condition of a column exists
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Subject
: How to select based on the condition of a column exists
From
: Shaozhong SHI <shishaozhong@xxxxxxxxx>
Date
: Fri, 26 Aug 2022 15:01:27 +0100
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
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: How to select based on the condition of a column exists
From:
David G. Johnston
Prev by Date:
RE: Unable to start replica after failover
Next by Date:
Re: How to select based on the condition of a column exists
Previous by thread:
In a partition why 1st time encounter NULL then call minvfunc
Next by thread:
Re: How to select based on the condition of a column exists
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]