-- INNER JOIN selects records that have a matching key in both tables. SELECT * FROM transactions INNER JOIN customers ON transactions.customer_id = customers.customer_id; -- LEFT JOIN returns all records from the left table -- and the matching records from the right table SELECT * FROM transactions LEFT JOIN customers ON transactions.customer_id = customers.customer_id; -- RIGHT JOIN returns all records from the right table -- and the matching records from the left table SELECT * FROM transactions RIGHT JOIN customers ON transactions.customer_id = customers.customer_id;
I'm taking a class for SQL programming and the professor has 3 powerpoints, each about 20 slides long, for joins. Even with all of that, I couldn't figure it out. Your video had me understanding this by the 3 minute point though. Thank you! Whatever you're doing keep it up!
hell yea lol it kills how schools make things longer than they should. I remember taking a Calculus class and a 45 mins video taught you everything in a whole semester better than the Professor. everyone skipped the class unless it was test day
@@edb484 This reminds me of my database managment teacher who made me have a mental break down, I have therapay session to this day because this man. he couldnt teach what bro code could teach me in five minutes.
@@shadowrealm8937 More than likely a Kaan Academy Video. Absolutely great content. He will help you understand math you never thought you could before.
INNER JOIN = Show what is common in both table LEFT JOIN = Shows the full left table but the only the common items from the right table RIGHT JOIN = Shows the full right table but the only the common items from the left table Thank you bro for such a simple explanation 🙏🙏🙏🙏
My teacher was explaining us about joins today and I was like why is this so tough to understand, questioning my cognitive abilities. Turns out it's not me it's my lovely teacher, sometimes its not about the knowledge I guess its about the delivery. Still huge respect for my teacher shes a complete monster in SQL . Thanks bro you made my life easier
Thank you so much for this. I have a midterm today on SQL and I was having the HARDEST time understanding left and right join. This is the best video I have seen explaining it!
This is a masterful explanation that is very easy to expand on. Even though he used particular examples, he made it so easy to see a pattern. Thank you for such these 5 minutes of elegance.
BRUH, YOU MADE IT MUCH MORE EASIER FOR ME!!!!!!!!!!! However I'm learning SQL and I'm so much of a newbie that I don't know if the syntaxes are about to be different or not, but you broke it down me and clear for me. Salute to you bro. I really appreciate the clarity you brought to us.
I just got to the JOIN section in the Google Data Analytics certification and couldn't figure this out. Their example ended up being an exception where they stated that JOIN would work, and then reiterated how important it is to use the right JOIN. This video explained the concept much more clearly and I finally feel like I have a good grasp of what I'm looking at. Thank you!
If somebody would have explained it to me like this years ago it would have saved young me so much frustration. Building up a list of people I need to send this to :) Great tutorial
My teachers unironically had to spend 3-4 hours explaining this, and I didn't understand anything of what they said. I then come to this video, only to understand it in 3 mins, damn, you're the best, thank you
I watched all your Java videos (and did the exercises myself). Now I find myself back on your channel and as always: crystal clear and understandable! Thanks Bro!
I had watched a lot of videos of this Yet i still couldnt get it But you explained it very simple and the best Like youre really talking to a beginner Even a person with no experience in programming languages could understand thix Thank you
You're my hero. I'm taking the SQL course from UC Davis on Coursera, and the instructor did a terrible job at explaining joins. This made it so much easier.
Thank you so much for your you just made everything so clear where lot of tutorials takes hours but still end up failing clearing or delivering the concept even thanks feels tiny for your work
Your video was a fantastic explanation. It is the easiest to grasp these topics by exercise and hands-on project like i've done today. Perfect complement for experience!
Thank you so much for this video. I understand it now. I had an sql class about this subject that was *really* long and to be honest I forgot everything I didn't write down. This helped a lot!
OMG!! Bro code you are really a true bro! You made it super easy to understand. I always avoided it assuming it'll be very difficult concept to understand. Thanks a lot bro
-- INNER JOIN selects records that have a matching key in both tables.
SELECT *
FROM transactions INNER JOIN customers
ON transactions.customer_id = customers.customer_id;
-- LEFT JOIN returns all records from the left table
-- and the matching records from the right table
SELECT *
FROM transactions LEFT JOIN customers
ON transactions.customer_id = customers.customer_id;
-- RIGHT JOIN returns all records from the right table
-- and the matching records from the left table
SELECT *
FROM transactions RIGHT JOIN customers
ON transactions.customer_id = customers.customer_id;
can you explain Full join?
🐐
I was fighting for my life trying to comprehend joins before I watched this video, RUclips really is a life saver. Thank you!
Bro you just made it look easy, you the best
that was it? I was crying for four hours because I couldn't understand anything in class and that was it? it was that freaking simple?
Lmao same
Maybe you're stupidd enough
Same 😭😂but didn’t cry
Damn, you have a useless lecturer too?
@@silviauzie4958I only cried after watching this video
Man crazy how simple but effective your explanation is. I was scouring blogs for hours in order to understand this. Thanks a ton
I'm taking a class for SQL programming and the professor has 3 powerpoints, each about 20 slides long, for joins. Even with all of that, I couldn't figure it out. Your video had me understanding this by the 3 minute point though. Thank you! Whatever you're doing keep it up!
hell yea lol it kills how schools make things longer than they should. I remember taking a Calculus class and a 45 mins video taught you everything in a whole semester better than the Professor. everyone skipped the class unless it was test day
@@edb484 This reminds me of my database managment teacher who made me have a mental break down, I have therapay session to this day because this man. he couldnt teach what bro code could teach me in five minutes.
@@edb484 what video was that?
@@shadowrealm8937 More than likely a Kaan Academy Video. Absolutely great content. He will help you understand math you never thought you could before.
4:57 `and that is a quick introduction` bro you explained it all, thanks.
INNER JOIN = Show what is common in both table
LEFT JOIN = Shows the full left table but the only the common items from the right table
RIGHT JOIN = Shows the full right table but the only the common items from the left table
Thank you bro for such a simple explanation 🙏🙏🙏🙏
But why we need different types , what is the purpose of each ?
That probably the best and simplest explanation I ever seen in a MySQL tutorial . Great video, thanks so much for taking the time to make it.
My teacher was explaining us about joins today and I was like why is this so tough to understand, questioning my cognitive abilities. Turns out it's not me it's my lovely teacher, sometimes its not about the knowledge I guess its about the delivery. Still huge respect for my teacher shes a complete monster in SQL .
Thanks bro you made my life easier
Thank you so much for this. I have a midterm today on SQL and I was having the HARDEST time understanding left and right join. This is the best video I have seen explaining it!
English is not even my native language and I still learned more in 5 minutes with you than in 15 RUclips videos.
Wasted 2 hours on this concept and finally got it from this video in less than 20 minutes. Nice work dude keep it up.
You made it soooo easy ❤
I always avoided understanding it, thinking it was too difficult 😫
This comment could be me too, thank you!
Hi from brazil! I TOTALLY agree with u
Han serbha
I have seen many videos but i could only understand concept of JOINS from your simple video. Very beautifully explained here
by far the best description been studying this for hours but u explained it clearly
This is a masterful explanation that is very easy to expand on. Even though he used particular examples, he made it so easy to see a pattern. Thank you for such these 5 minutes of elegance.
BRUH, YOU MADE IT MUCH MORE EASIER FOR ME!!!!!!!!!!!
However I'm learning SQL and I'm so much of a newbie that I don't know if the syntaxes are about to be different or not, but you broke it down me and clear for me. Salute to you bro. I really appreciate the clarity you brought to us.
I just got to the JOIN section in the Google Data Analytics certification and couldn't figure this out. Their example ended up being an exception where they stated that JOIN would work, and then reiterated how important it is to use the right JOIN. This video explained the concept much more clearly and I finally feel like I have a good grasp of what I'm looking at. Thank you!
This is quicker than the quickest quickie I ever had. thank you
If somebody would have explained it to me like this years ago it would have saved young me so much frustration.
Building up a list of people I need to send this to :) Great tutorial
My teachers unironically had to spend 3-4 hours explaining this, and I didn't understand anything of what they said. I then come to this video, only to understand it in 3 mins, damn, you're the best, thank you
That was so simply powerful video on JOINS. You are great man!
Great video! You made it 100% easier to understand than my professor back in college! Simple and to the point, love it!
I take the ISC section of the CPA exam Monday - this is such a huge help. Thanks for making this
Lovin' the fact that you were very specific with the topic.
Nice video!
I watched all your Java videos (and did the exercises myself). Now I find myself back on your channel and as always: crystal clear and understandable! Thanks Bro!
Simple, precise, to the point! Really loved it! Absolutely awesome and very helpful!
It's been three day's i have been trying to understand wtf is join . and now it took only 5 minutes bro never disappoints
did this years ago in college, did not learn by heart.
need to use now in work, found a semester worth of knowledge
Ok thank you for this because I was having the hardest time understanding JOINS!! Great and well explained video !!
Bruh... You made it easy. Truly, bro code!!!
That was the best explanation i've ever heard for this
You're the real saviour. Really very good explanation
love the use venn diagram to visualize the joins - thanks!
ok, best explanation about joins i've seen
I had watched a lot of videos of this
Yet i still couldnt get it
But you explained it very simple and the best
Like youre really talking to a beginner
Even a person with no experience in programming languages could understand thix
Thank you
SIR, I mean BRO, you have done it. The most beautiful explanation of this concept on the internet. Subscribed.
You make this so easy to understand. Thank you!
This explains so clearly with examples provided! Thankyou!
One of the best explanations I've seen on this topic. thank you so much!
bruh 1 was abt to watch 3 videos of half an hour each for them tysm
this is the best explain I've ever seen!
You're my hero. I'm taking the SQL course from UC Davis on Coursera, and the instructor did a terrible job at explaining joins. This made it so much easier.
Clear and concise, no more needed.
Thanks!
Thank you so much for your
you just made everything so clear where lot of tutorials takes hours but still end up failing clearing or delivering the concept
even thanks feels tiny for your work
The best explanation I ever found on yt, thank you bro.
can not be explained easier than this way, great work
Your video was a fantastic explanation. It is the easiest to grasp these topics by exercise and hands-on project like i've done today. Perfect complement for experience!
Thanks bro!
I understood everything from this 5min video than I did in the last 30mins from the W3School page.
Thanks for this. Man I trying to understand joins for the longest and your video was to the point and my light bulb just went off 😂
That's a really good explanation. Thanks.
This explained it so much easier and made sense versus my course textbook and labs.
Thanks for clarify the inner join option ! you made it
easy to understand
Clean and eloquently explained!
while watching this vid ,I was a bit confused abt the joins.But later peeking the first comment it got cleared!
++
That venn diagram alone explained most of the part.You really made it easy Bro!!
oops, or as my bro use to say (poop) lol, if u know u know, he did it again, smh, this guy is something else, really a blessing. God bless you bro
You really are a bro man, no kidding.
As always, the best of the best ❤
I finally understood joins. Never really understood them while I was in college lol. Thank you.
Wow, how does he make it look so simple? Amazing work!
Thank you so much for posting this video. You did an excellent job explaining it in easy to understand terms. Very helpful! Cheers!
You are just too good. Thanks for the Explanation
Why my profesor couldnt have said it in 1,5h lecture … You are amazing
Thank you for making this video, straight simple and giving a superb explanation.
sheesh. I used to think this was hard when my professor first taught it 2 years ago, but now it looks so basic. Thanks Bro Code
Thank you so much for this video. I understand it now.
I had an sql class about this subject that was *really* long and to be honest I forgot everything I didn't write down. This helped a lot!
I think this channel is an A.I. which is running by itself.
The voice, the simplicity of the narration, the video explanation.
Everything is precise.
you are so good at these explanations, thank you so much
Very nice example, best one I've looked at on youtube 🙏🙏🙏🙏 i particularly like the venn diagram approach - "a picture is worth a thousand words"
OMG!! Bro code you are really a true bro! You made it super easy to understand. I always avoided it assuming it'll be very difficult concept to understand. Thanks a lot bro
And this is how I learned Mrs. Puff's first name lol. Nice video, very helpful!
that was so straightforward and quick, ty!
Thank you!! This is so easy to understand.
easest way someone can explain joins
Thank you so much, now I understand wayyy better
Thank you boss. Plain & Simple explanation 👏
Good video, thank you
Thanks! You made it so easy.
This is the best and easiest explanation for joins on the Internet-better than that UDEMY course from Jose Portilla.
you made it so easy to comprehend thanks v much. 🙏🏼
Thank you so much! Very didactic and so much easier to understand.
Needed fast reminder on joins. And this video made things very easy. Thank you! 👍
The best video so far
wow , very articulate explanation
Thanks a lot
I really thought joins were confusing as hell but they seem simple
Best explanation hands down
I love this video. Thank you.
love from india , you made it very easy peasy ❤🔥
Omg this video made everything make so much sense
Very helpful , i understood everything ! thanks
you just earned yourself a new subscriber !! thank youuu!!!
I thought it was more complicated! Thanks
short yet super informative .
Very clear and easy to understand. Thanks!
Thanks for your work, this video-lesson is easy for me as a newbie
Thankyou sir for giving a clear explanation 🙏
The best video in joins 🍯
Wonderfully clear explanation.