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
Post a Comment