Left, right, inner, outer, anti, no matter what you call them, Joins are an important part of the SQL for data analysis. In this comprehensive video, learn how to create your first join and more with easy, clear and relevant explanation of the concepts.
💻 Get the data:
==============
Visit https://chandoo.org/wp/learn-sql-for-data-analysis/ to get the dataset. Use the instructions on that page to set up the data in SQL Server or MySQL.
Topics covered in this video:
=======================
Why we need joins in the first place?
Joins explained visually
Join with a one table
Join with two tables
Joins and where clauses
Join and group by
Solving complex business questions using join and CTE
⏱ Video Chapters:
================
0:00 - What is a join and why we need them?
2:22 - Our first join in SQL
3:58 - Join Example #2 - Shipments by name & team
4:56 - Example #3 - Joins with where clause
5:51 - Example #4 - another Join with where clause
6:28 - Using where vs writing the condition in the join itself (#5)
7:22 - Using 3 tables in a join - Example #6
9:24 - Bonus tip with joins
9:52 - Joins and Grouping example (#7)
12:51 - Left, Right and Anti joins explained
14:30 - Left join example (#8)
17:29 - Anti join example (#9)
19:24 - A complex join example with real business problem
~
💡 Learn more SQL
===============
SQL for beginners: https://youtu.be/yfWcZ6eot4g
SQL Beginner to PRO video: https://youtu.be/l8DCPaHc5TQ
Using SQL with Power BI: https://youtu.be/UQJAHUUFK-o
50 Example SQL Queries - https://chandoo.org/wp/learn-sql-for-data-analysis/
😎 SQL Alternatives:
=================
Using Power Query: https://youtu.be/UAFExySaSPY
Using Pandas: https://youtu.be/mkYBJwX_dMs
~
#SQL #joins