May 2020
Beginner
564 pages
14h 9m
English
Oracle uses the MINUS operator to accomplish what MySQL does with a right or left excluding join, and what PostgreSQL and SQL Server accomplish with the EXCEPT operator. You can rewrite the code from earlier in this section in Oracle, like this:
USE lahmansbaseballdbSELECT playeridFROM peopleMINUSSELECT playerid FROM allstarfull;
The previous query will return all rows from the people table that don't appear in the allstarfull table.
Read now
Unlock full access