EXISTS operator checks how many records are in the result of a subquery. If it is empty, then the operator returns 0. Otherwise, it returns 1.
EXISTS can also be used in a WHERE clause.
Syntax
Query
Response
Query
Response
Query
Response
Documentation for the EXISTS operator
EXISTS operator checks how many records are in the result of a subquery. If it is empty, then the operator returns 0. Otherwise, it returns 1.
EXISTS can also be used in a WHERE clause.
Syntax