Home  >  Article  >  Database  >  What is the usage of exists in oracle?

What is the usage of exists in oracle?

王林
王林Original
2020-05-09 13:17:158017browse

What is the usage of exists in oracle?

exists is followed by a subquery

What is the usage of exists in oracle?

The following two tables are used as examples to demonstrate the id in table a Associated with aid in table b

What is the usage of exists in oracle?

exists function is to check whether the result of the subquery is true. If the subquery is true, the outer SQL statement is executed. exists does not return data, only returns true or false

What is the usage of exists in oracle?

If it returns false, the outer SQL statement will not be executed

What is the usage of exists in oracle?

The above is the detailed content of What is the usage of exists in oracle?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn