SQL-Subqueries(Nested Query)-Page13

                                                                                                    


πŸ‘‰Subqueries (Nested Query)

A subquery is a form of an SQL statement that appears inside another SQL statement (Parent statement).

The parent statement uses the rows returned by the subquery.


πŸ‘‰Operator  IN, NOT IN


πŸ‘‰Exists, Not Exists

Exists - If the inner query finds a match, it will produce output.
Not Exists - If it does not find match, it will not produce output.


It checks for each branch, if branch does not exists in EMP_MSTR, it will display that row.

Comments

Popular posts from this blog

SQL-ForeignKeyConstraint-Page6

Javascript-OOPs(Part3)-Inheritance - (9)

OraclePLSQL-Page3