Oracle Minus
Oracle Database Basic Course
Created by :
Database, Oracle
course
Programming, Software and application
1756
2020-12-07 03:13:23
In Oracle, 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
SELECT expression1, expression2, ... expression_n FROM table1 WHERE conditions MINUS SELECT expression1, expression2, ... expression_n FROM table2 WHERE conditions;
Parameters
1) expression1, expression2, ... expression_n: It specifies the columns that you want to retrieve.
2) table1, table2: it specifies the tables that you want to retrieve records from.
3) conditions: it specifies the conditions that must be fulfilled for the records to be selected.
Note:
The expressions must be same in number for both the SELECT statement and have similar datatype.

- Database Overview
- What Is Oracle Database
- History of Oracle Database
- Why Oracle Database
- Features of Oracle Database
- Oracle Vs. SQL Server: Key Differences
- Oracle Vs. MySQL Server: Key Differences
- Oracle Vs. NoSQL
- Install Oracle Database Server
- Oracle Database Sample Schema
- Execute Sample Database
- Connect to SQL Developer and Other SQL Editor