Oracle Minus | Sql Minus - oracle tutorial - sql tutorial
Learn oracle - oracle tutorial - Oracle minus - oracle examples - oracle programs
What is Oracle MINUS ?
- MINUS operator is used to return all rows in the first SELECT statement that are not returned by the second SELECT statement.
- Each SELECT statement has a dataset and the MINUS operator returns all documents from the first dataset and then removes all documents from the second dataset.
Syntax:
Example:
Code Explanation:
Before Execution:
- Table1 is shown
- Table2 is shown
oracle tutorial , sql tutorial , sql , pl sql tutorial , oracle , pl sql , plsql
AFTER EXECUTION:
- Using the “MINUS statement“ The given query returns only rows returned by the first query but not by the second.