Outer join filtering - SQL in 60 seconds

Опубликовано: 14 Март 2026
на канале: The Magic of SQL
4,035
111

Beware when filtering the inner table in an OUTER JOIN!

Do this incorrectly and the query is effectively an INNER JOIN again.

Need help with SQL?

Ask us over on AskTOM: https://asktom.oracle.com

Twitter:   / chrisrsaxon  
Daily SQL Twitter tips:   / sqldaily  
All Things SQL blog: https://blogs.oracle.com/sql/
Test your SQL Skills on the Oracle Dev Gym: https://devgym.oracle.com/

============================
The Magic of SQL with Chris Saxon

Copyright © 2020 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.