Conditions.bool-primary-exists

Returns True if the result set is not empty

Format

EXISTS ( query-expr )

Remarks

Used to test if a result set contains at least one row.

Example:

SELECT A.NAME FROM A WHERE NOT EXISTS ( SELECT * FROM B WHERE B.ID = A.ID )


Disclaimer

Geo SCADA Expert 2019