Joins in MySQL | Intermediate MySQL

  Рет қаралды 117,904

Alex The Analyst

Alex The Analyst

Күн бұрын

Full MySQL Course: www.analystbui...
In this lesson we are going to take a look at Joins in MySQL!
GitHub Code: github.com/Ale...
____________________________________________
SUBSCRIBE!
Do you want to become a Data Analyst? That's what this channel is all about! My goal is to help you learn everything you need in order to start your career or even switch your career into Data Analytics. Be sure to subscribe to not miss out on any content!
____________________________________________
RESOURCES:
Coursera Courses:
📖Google Data Analyst Certification: coursera.pxf.i...
📖Data Analysis with Python - coursera.pxf.i...
📖IBM Data Analysis Specialization - coursera.pxf.i...
📖Tableau Data Visualization - coursera.pxf.i...
Udemy Courses:
📖Python for Data Science - bit.ly/3Z4A5K6
📖Statistics for Data Science - bit.ly/37jqDbq
📖SQL for Data Analysts (SSMS) - bit.ly/3fkqEij
📖Tableau A-Z - bit.ly/385lYvN
Please note I may earn a small commission for any purchase through these links - Thanks for supporting the channel!
____________________________________________
BECOME A MEMBER -
Want to support the channel? Consider becoming a member! I do Monthly Livestreams and you get some awesome Emoji's to use in chat and comments!
/ @alextheanalyst
____________________________________________
Websites:
💻Website: AlexTheAnalyst.com
💾GitHub: github.com/Ale...
📱Instagram: @Alex_The_Analyst
____________________________________________
All opinions or statements in this video are my own and do not reflect the opinion of the company I work for or have ever worked for

Пікірлер: 76
@lifeasjt9584
@lifeasjt9584 2 ай бұрын
6 minutes in and I already understand more than an online course I’m enrolled in. Subscribed!!😊
@johncyriligwe7538
@johncyriligwe7538 Ай бұрын
same here
@duurduranto
@duurduranto 6 ай бұрын
i looked at several videos regarding joins and believe me, your way of explaining the topic is the best.
@dataandengineering
@dataandengineering Ай бұрын
The summary for the outer join is : ○ LEFT JOIN § You take everything from the left table , and the matches of the right table ○ RIGHT JOIN § You take everything from the right table and the matches of the left table
@kcmauceri
@kcmauceri 3 ай бұрын
A gold mine of information. So happy I came across this boot camp.
@MrKenneth009
@MrKenneth009 2 ай бұрын
Ron Swanson redacting his birthday was a hilarious reference from the show hahaha
@Mister_Garibaldi
@Mister_Garibaldi 8 ай бұрын
Poor Leslie Knope isn't getting a present this year! 🤣
@AlexTheAnalyst
@AlexTheAnalyst 8 ай бұрын
:(
@j__o__e__2739
@j__o__e__2739 5 ай бұрын
@@AlexTheAnalyst Why does craig show up in list 2, but not list 1? Is it because Ron isnt on list 1?
@RMIVfitness
@RMIVfitness 2 ай бұрын
What I wanna know is how Leslie is making more money even though Ron is her boss?
@braydj
@braydj Ай бұрын
@@RMIVfitness I make more than my bosses do. Though I am in a different industry.
@mohannadhazem5117
@mohannadhazem5117 2 ай бұрын
been struggling to fuly understand joins for weeks until i stumpled on this boot camp, but in this self join xample i don't think Leslie got herself a secret santa 😂
@fredericnicholson80
@fredericnicholson80 6 ай бұрын
Hi Alex, thanks for these great introductions. You present great examples that show the essential concepts. There is one topic though that I believe deserves some attention: The differences between the different SQL dialects. For example, If I compare this video to your intermediate SQL video on "Join", then mySQL seems to be missing the "full outer join" option.
@alkhemist6631
@alkhemist6631 3 ай бұрын
Glad im in the intermediate now. I doubt I understood everything in Beginner. I will go back and come when I understand 90% of it.
@NoluthandoMthethwa-ei9fp
@NoluthandoMthethwa-ei9fp 4 ай бұрын
Thank you, this is so helpful I’m so happy I found this boot camp
@palesampe
@palesampe 4 ай бұрын
Are you in the ALX programme?
@Lifestudent-
@Lifestudent- Ай бұрын
@@palesampeExplore AI program
@momohtimothy6898
@momohtimothy6898 3 ай бұрын
Exactly the information i want, clear and simple...straight to the point.
@BruceBeck-f1n
@BruceBeck-f1n 4 ай бұрын
Great lesson Alex. It's been quite some time since I practiced any sort of JOIN in any flavor of SQL. Great review! Thanks for your outstanding work. Cheers! 🤠
@ShreyaSridharD
@ShreyaSridharD 3 ай бұрын
As a huge fan of parks and rec i enjoy learning from these video : )
@taiebxr
@taiebxr 3 ай бұрын
thank you for this, loved the beginner series- concise amd clear!
@nategraham3980
@nategraham3980 17 күн бұрын
this was posted on my birthday! thumbs up January babies!
@MikeJones-ql3db
@MikeJones-ql3db 6 ай бұрын
Thanks a lot you make learning very easy
@shobolabenjamin4454
@shobolabenjamin4454 Ай бұрын
Thank you ALEX for all you do.
@abrahammoruti5967
@abrahammoruti5967 8 ай бұрын
As a recruiter yourself Alex what level of skill set are you looking for when you're trying to look for a entry level analyst?
@AlexTheAnalyst
@AlexTheAnalyst 8 ай бұрын
A solid concept up to Intermediate.
@HeinHtetAung-vh3uu
@HeinHtetAung-vh3uu Ай бұрын
Thank you so much, Alex. Awesome lesson
@ar8abdul
@ar8abdul 8 ай бұрын
If you don't mind make videos about creating indexes, triggers, auto_increment in mysql
@AlexTheAnalyst
@AlexTheAnalyst 8 ай бұрын
Some of those will be in the advanced series next :)
@NohablaEspnaol
@NohablaEspnaol 4 күн бұрын
Thank you so much!
@mohdparvez9148
@mohdparvez9148 23 күн бұрын
One problem though, the first employee Leslie doesn't have a secret Santa. I guess no gift for her this Christmas ;)
@Mr.Arshad-oc1fd
@Mr.Arshad-oc1fd 2 ай бұрын
On thing in my mind is that there is joining of two tables so the employee id column are showing double why should not there is only one employee id column
@sunnysisodhya
@sunnysisodhya 8 ай бұрын
Hey I Was Looking For This Video Thanks
@newenglandnomad9405
@newenglandnomad9405 8 ай бұрын
What kind of answer would you get from joining 3 tables? What would you do with the answer?
@Mr.Arshad-oc1fd
@Mr.Arshad-oc1fd 2 ай бұрын
Hi sir thanks for this great unforgettable teaching us
@RogerAmanna
@RogerAmanna Ай бұрын
At 10:40 the +1 is added to the left table. But, when we run the query, it looks like the right table was added with one. How exactly does this work?
@RogerAmanna
@RogerAmanna Ай бұрын
I found the answer to this. The join condition is emp1.employee_id + 1 = emp2.employee_id. This means that for every row in emp1, SQL will add 1 to the employee_id and then look for a match in emp2 where the employee_id equals this modified value.
@DadaCreative.
@DadaCreative. 2 ай бұрын
hello Sir Alex if I only write SELECT * FROM employee_demographics; its bring me Error have to write SELECT * FROM parks_and_recreation.employee_demographics; even if am inside demographics table.
@cassandraneall5484
@cassandraneall5484 2 ай бұрын
He goes over this in the fourth video of this bootcamp (Select Statement in MySQL) but you may have the wrong schema selected in the navigator section on the side, if the parks_and_recreation isn't bolded then the data will not be automatically pulled from that data set. Hopefully this helps and I explained it in a way that makes sense, I'm still new myself so if it's not that then I don't know lol
@sarkersaadahmed
@sarkersaadahmed 4 ай бұрын
lets put it in a logic gate INNER JOIN: AND GATE, IF ONE OF THE ROWS DOESNT EXIST WHILE THE OTHER DOES, ENTIRE THING GONE!! FULL OUTER JOIN: EVERYTHING LEFT OUTER JOIN:" OR gate where everything on the left will output but everything on the right will show NULL and everything on the right will only be shown if there are datas that have the same value as the values of the left RIGHT OUTER JOIN: VISE VERSA FOR LEFT OUTER JOIN
@kanchanachristopher5465
@kanchanachristopher5465 8 ай бұрын
Alex kindly make a playlist on azure.
@sarkersaadahmed
@sarkersaadahmed 4 ай бұрын
JOINS inner join ->inner join simply joins two database tables based on ->just like AND gate [ SELECT * FROM [chemical thermodynamic and polarizability table].[dbo].[Chemical] AS c INNER JOIN [SQL Tutorial].[dbo].[quantum_research_papers] AS q ON [SQL Tutorial].[dbo].[quantum_research_papers].categories = [chemical thermodynamic and polarizability table].[dbo].[Chemical].Energy; ] D1 denotes database 1 and D2 denotes database 2 will “merge” and excliude the databases that either of the tables do not have [simply the inner join] based on the common column name between the two databases tables Note: Its best to mention the [DATABASE_NAME].[dbo].[QUERY_NAME].column_name LEFT JOIN is like OR gate where everything on the left will output but everything on the right will show NULL and everything on the right will only be shown if there are datas that have the same value as the values of the left VISE VERSA FOR RIGHT JOIN FULL OUTER JOIN IS EVERYTHING LITERALLY
@Rianne421
@Rianne421 6 ай бұрын
Thanks this is great!
@mercyokwoli6837
@mercyokwoli6837 Ай бұрын
Thanks Alex
@faithgaming8770
@faithgaming8770 26 күн бұрын
I've completed all ur videos of this course till yet but didn't understand anything in sql. What the use of these functions in sql?
@varunchamoli9742
@varunchamoli9742 8 ай бұрын
Sir should I Start my career in data analytics with python or sql
@ashutoshpandey9105
@ashutoshpandey9105 8 ай бұрын
Hey, please bring more project based videos.
@AlexTheAnalyst
@AlexTheAnalyst 8 ай бұрын
I always do :)
@lovamaxy3498
@lovamaxy3498 2 ай бұрын
Thanks for the lesson, I keep having error problem (1046), how do i resolved it. Thanks
@ajithfrancis1992
@ajithfrancis1992 Ай бұрын
Sir in 16:49, the last query you wrote, you have added alias names for first two tables but you haven’t added alias name for parks_dept table; instead you wrote as pd. Why ??
@janvi2294
@janvi2294 8 күн бұрын
pd is alias for parks_dept table ..we can directly write it after table name or can use "AS pd"
@MinatoJunior-hl8tb
@MinatoJunior-hl8tb 8 ай бұрын
Hey can you make a video in how to download a program to practice data. Or is there a way for you to add it into your website for people to practice with data from outside like Jupyter but for sql
@joshuafriday5357
@joshuafriday5357 4 ай бұрын
Nahh. I think Mark got one. No santa for Leslie 😅😂
@sohaibamjad2878
@sohaibamjad2878 8 ай бұрын
Could you please let us know that can AI replace the data analytics job? I am going to end your course on data analytics but I have heard that soon AI can replace it. Thanks
@IhuomaGeraldine
@IhuomaGeraldine 3 ай бұрын
Please I need help.. I don’t think I have the data for parks department
@hisokaamorou4211
@hisokaamorou4211 3 ай бұрын
awesome...
@Earthlighte
@Earthlighte 8 ай бұрын
Sir, you've recommended Udemy and Coursera.... what about Analyst Builder for certification?
@AlexTheAnalyst
@AlexTheAnalyst 8 ай бұрын
I think my courses are a little bit better than what you'll find on Udemy and there are practice questions integrated into the course too which Udemy doesn't have. It does have a Certificate at the end just like Udemy has :)
@jimieJimieMaverickstarz
@jimieJimieMaverickstarz Күн бұрын
How much roughly your course fee​@@AlexTheAnalyst?
@glenmartin952
@glenmartin952 2 ай бұрын
I have notice something when he is renaming or assigning names, He uses AS sometimes and not in the others, Am I missing somthing?
@Hirenkn
@Hirenkn 2 ай бұрын
Pls refer to limit + aliasing inmy sql video....
@SareyFarah
@SareyFarah 8 ай бұрын
Have you ever Prepared already for Trigger?
@imvimalkumar007
@imvimalkumar007 3 ай бұрын
Is it alright if I don't get it in the first go?
@realdealisai
@realdealisai 8 ай бұрын
hey Alex do you still have the patreon page ?
@pragatheeshm.sc.577
@pragatheeshm.sc.577 5 ай бұрын
Why are you deleting or hiding videos ?
@beslandaur7729
@beslandaur7729 8 ай бұрын
“Let’s look at a very serious use case for self-join”… Proceeds to funding secret santa. But what’s the real purpose of self-join in a real-world? Why would you want to join a table to itself? Just trying to understand
@momohtimothy6898
@momohtimothy6898 4 ай бұрын
Honestly, the self join looks complicated to me.
@albertayeh-sarpong1264
@albertayeh-sarpong1264 6 ай бұрын
Which version kf SQL is this
@Monica14560
@Monica14560 6 ай бұрын
where i can download these data
@AjayAnkit-bt8cp
@AjayAnkit-bt8cp 2 ай бұрын
indians attendence here🎉😂
@userwheretogo
@userwheretogo 8 ай бұрын
People just keep producing identical content on KZbin. Quite a waste of time
@TalkdatawithJain
@TalkdatawithJain 8 ай бұрын
Don't watch
@jatinmanhas4966
@jatinmanhas4966 2 ай бұрын
thank you so much Alex the Analyst
@amrabdelatyfathallah2487
@amrabdelatyfathallah2487 3 ай бұрын
can i ask a question in self join you add 1 ON emp1.employee_id + 1 = emp2.employee_id, However the one added to 'emp2.employee_id ' not 'emp1.employee_id ' ? and another question we apply here self join using inner join , he should return for me only matches emp_id, i mean 2 Leslie Knope 2 Ron Swanson 3 Ron Swanson 3 Tom Haverford 4 Tom Haverford 4 April Ludgate 5 April Ludgate 5 Jerry Gergich ======================================= like this all over until he finished them why he returned for me like self join using left join like result appear in 13:00
@darwinrojas2208
@darwinrojas2208 Ай бұрын
At what point do you explain about EMP? 🥲
Unions in MySQL | Intermediate MySQL
7:22
Alex The Analyst
Рет қаралды 57 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 158 М.
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
Teaching a Toddler Household Habits: Diaper Disposal & Potty Training #shorts
00:16
Window Functions in MySQL | Intermediate MySQL
13:29
Alex The Analyst
Рет қаралды 70 М.
Data Cleaning in MySQL | Full Project
51:11
Alex The Analyst
Рет қаралды 147 М.
String Functions in MySQL | Intermediate MySQL Series
11:54
Alex The Analyst
Рет қаралды 59 М.
Triggers and Events in MySQL | Advanced MySQL Series
14:42
Alex The Analyst
Рет қаралды 45 М.
Learn SQL Joins
21:39
Decomplexify
Рет қаралды 49 М.
SQL Joins: Difference Between Inner/Left/Right/Outer Joins
10:52