This video is part of a multi-part series on mastering the SQL SELECT statement. The SELECT statement, the most often used SQL command, is easy to learn yet difficult to master. Follow along with me and level up your database query super powers!
This video covers the table JOINS, specifically
Natural / Equijoins on primary / foreign key
Multi-table joins
Table aliasing to handle ambiguous column names
Outer joins: LEFT and RIGHT joins. FULL outer joins.
Using a NULL check across Outer joins to find rows not participating in the join.
Self joins where the same table participates more than once in the query.
What can go wrong with joins, just because it works doesn't mean it makes sense!
The SQL code is available here: https://github.com/mafudge/learn-data...
If you need to setup your own database environment, check out learn-databases! The easy way to get going and follow along with these videos. • Learn Databases Walkthrough
This video is part of the textbook Applied Database Management https://applieddb.com
Here's the entire playlist: • Applied Database Management with SQL