MySQL: JOINS are easy (INNER, LEFT, RIGHT)

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии •

  • @BroCodez
    @BroCodez  2 года назад +148

    -- 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;

  • @rah.248
    @rah.248 9 месяцев назад +140

    I was fighting for my life trying to comprehend joins before I watched this video, RUclips really is a life saver. Thank you!

  • @siyabongagift4168
    @siyabongagift4168 2 года назад +237

    Bro you just made it look easy, you the best

  • @AMPAROLawrenz
    @AMPAROLawrenz Год назад +869

    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?

  • @TheL0rdOfTheStrings
    @TheL0rdOfTheStrings 9 месяцев назад +14

    Man crazy how simple but effective your explanation is. I was scouring blogs for hours in order to understand this. Thanks a ton

  • @christophergruendell8089
    @christophergruendell8089 Год назад +97

    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!

    • @edb484
      @edb484 11 месяцев назад +11

      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

    • @exile8110
      @exile8110 8 месяцев назад

      @@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
      @shadowrealm8937 6 месяцев назад +1

      @@edb484 what video was that?

    • @Deven210
      @Deven210 День назад

      @@shadowrealm8937 More than likely a Kaan Academy Video. Absolutely great content. He will help you understand math you never thought you could before.

  • @AymanAli51
    @AymanAli51 5 месяцев назад +9

    4:57 `and that is a quick introduction` bro you explained it all, thanks.

  • @Vishwas696
    @Vishwas696 6 месяцев назад +79

    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 🙏🙏🙏🙏

    • @jayeshrahulkovi9738
      @jayeshrahulkovi9738 3 месяца назад +1

      But why we need different types , what is the purpose of each ?

  • @markbarton6845
    @markbarton6845 Год назад +17

    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.

  • @MohitYadav-be1ju
    @MohitYadav-be1ju 11 месяцев назад +11

    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

  • @celestes8072
    @celestes8072 10 месяцев назад +1

    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!

  • @PedroHoffmann
    @PedroHoffmann 3 месяца назад +1

    English is not even my native language and I still learned more in 5 minutes with you than in 15 RUclips videos.

  • @kunalprasad4215
    @kunalprasad4215 4 месяца назад +1

    Wasted 2 hours on this concept and finally got it from this video in less than 20 minutes. Nice work dude keep it up.

  • @oussKhayi
    @oussKhayi 2 года назад +117

    You made it soooo easy ❤
    I always avoided understanding it, thinking it was too difficult 😫

  • @explore-learn-share6937
    @explore-learn-share6937 24 дня назад +1

    I have seen many videos but i could only understand concept of JOINS from your simple video. Very beautifully explained here

  • @Nicholasiz
    @Nicholasiz 7 месяцев назад +1

    by far the best description been studying this for hours but u explained it clearly

  • @ReneAshu-fb5fd
    @ReneAshu-fb5fd Год назад +11

    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.

  • @aikasal5214
    @aikasal5214 Год назад +5

    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.

  • @thomasbrablec1149
    @thomasbrablec1149 8 месяцев назад +1

    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!

  • @thecatman9o9
    @thecatman9o9 4 месяца назад +1

    This is quicker than the quickest quickie I ever had. thank you

  • @RayAndrewsDev
    @RayAndrewsDev 10 месяцев назад +1

    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

  • @nthextellar2239
    @nthextellar2239 10 месяцев назад +1

    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

  • @kamrulislam3841
    @kamrulislam3841 3 месяца назад +1

    That was so simply powerful video on JOINS. You are great man!

  • @stevenvillarreal8970
    @stevenvillarreal8970 Год назад +2

    Great video! You made it 100% easier to understand than my professor back in college! Simple and to the point, love it!

  • @josephwinstead3525
    @josephwinstead3525 2 месяца назад

    I take the ISC section of the CPA exam Monday - this is such a huge help. Thanks for making this

  • @danitaupe1230
    @danitaupe1230 11 дней назад

    Lovin' the fact that you were very specific with the topic.
    Nice video!

  • @AdrianTregoning
    @AdrianTregoning 8 месяцев назад +1

    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!

  • @nafissadik
    @nafissadik Год назад +2

    Simple, precise, to the point! Really loved it! Absolutely awesome and very helpful!

  • @M.A.PROHOR
    @M.A.PROHOR Месяц назад +1

    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

  • @noliiiivaldez7861
    @noliiiivaldez7861 8 месяцев назад

    did this years ago in college, did not learn by heart.
    need to use now in work, found a semester worth of knowledge

  • @Old3nough
    @Old3nough 25 дней назад

    Ok thank you for this because I was having the hardest time understanding JOINS!! Great and well explained video !!

  • @shawnchristophermalig4339
    @shawnchristophermalig4339 Год назад

    Bruh... You made it easy. Truly, bro code!!!

  • @andrewcenteno3462
    @andrewcenteno3462 5 месяцев назад

    That was the best explanation i've ever heard for this

  • @manasranjanbera25
    @manasranjanbera25 Месяц назад

    You're the real saviour. Really very good explanation

  • @arnoldbhebhe
    @arnoldbhebhe 4 месяца назад

    love the use venn diagram to visualize the joins - thanks!

  • @xChikyx
    @xChikyx 3 месяца назад

    ok, best explanation about joins i've seen

  • @raevenconsolacion2449
    @raevenconsolacion2449 Год назад +5

    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

  • @komalthecoolk
    @komalthecoolk 3 месяца назад

    SIR, I mean BRO, you have done it. The most beautiful explanation of this concept on the internet. Subscribed.

  • @anikakoob2633
    @anikakoob2633 Месяц назад

    You make this so easy to understand. Thank you!

  • @tung-hsinliu861
    @tung-hsinliu861 Год назад +1

    This explains so clearly with examples provided! Thankyou!

  • @TJKlimoski
    @TJKlimoski 10 месяцев назад

    One of the best explanations I've seen on this topic. thank you so much!

  • @sahilrawat7966
    @sahilrawat7966 Год назад +1

    bruh 1 was abt to watch 3 videos of half an hour each for them tysm

  • @Warden_Here
    @Warden_Here 4 месяца назад

    this is the best explain I've ever seen!

  • @kristopherthompson1342
    @kristopherthompson1342 Год назад +3

    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.

  • @gpabokan
    @gpabokan Год назад

    Clear and concise, no more needed.
    Thanks!

  • @gandamraviteja7019
    @gandamraviteja7019 4 месяца назад

    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

  • @0Nardock0
    @0Nardock0 Год назад

    The best explanation I ever found on yt, thank you bro.

  • @serifaygun9381
    @serifaygun9381 10 месяцев назад

    can not be explained easier than this way, great work

  • @barsha9262
    @barsha9262 2 месяца назад

    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!

  • @cypher4528
    @cypher4528 Год назад

    Thanks bro!
    I understood everything from this 5min video than I did in the last 30mins from the W3School page.

  • @juliep.6824
    @juliep.6824 Год назад

    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 😂

  • @Prakeet1995
    @Prakeet1995 Год назад +1

    That's a really good explanation. Thanks.

  • @ethanshutika8621
    @ethanshutika8621 Год назад +1

    This explained it so much easier and made sense versus my course textbook and labs.

  • @brahimlagueb5909
    @brahimlagueb5909 Год назад

    Thanks for clarify the inner join option ! you made it
    easy to understand

  • @GoViral-fi8dh
    @GoViral-fi8dh 8 месяцев назад

    Clean and eloquently explained!

  • @CSSANJAYR
    @CSSANJAYR Год назад

    while watching this vid ,I was a bit confused abt the joins.But later peeking the first comment it got cleared!
    ++

  • @sampathchary9155
    @sampathchary9155 Год назад

    That venn diagram alone explained most of the part.You really made it easy Bro!!

  • @passportbro904
    @passportbro904 7 месяцев назад

    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

  • @amonraii7273
    @amonraii7273 Год назад +1

    You really are a bro man, no kidding.

  • @ab_obada5012
    @ab_obada5012 7 месяцев назад

    As always, the best of the best ❤

  • @NutchanonC
    @NutchanonC Год назад

    I finally understood joins. Never really understood them while I was in college lol. Thank you.

  • @vinalpawar7488
    @vinalpawar7488 4 месяца назад

    Wow, how does he make it look so simple? Amazing work!

  • @RG-500
    @RG-500 4 месяца назад

    Thank you so much for posting this video. You did an excellent job explaining it in easy to understand terms. Very helpful! Cheers!

  • @christiangeorge5313
    @christiangeorge5313 22 дня назад

    You are just too good. Thanks for the Explanation

  • @kodiq3429
    @kodiq3429 Год назад +1

    Why my profesor couldnt have said it in 1,5h lecture … You are amazing

  • @oyakalesola7458
    @oyakalesola7458 5 месяцев назад

    Thank you for making this video, straight simple and giving a superb explanation.

  • @shadowplayer11.86
    @shadowplayer11.86 Год назад

    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

  • @Mikaas111
    @Mikaas111 Год назад +1

    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!

  • @heinzguderian3010
    @heinzguderian3010 Год назад +1

    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.

  • @skrullmania4808
    @skrullmania4808 3 месяца назад

    you are so good at these explanations, thank you so much

  • @muktarsayeed9198
    @muktarsayeed9198 9 месяцев назад

    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"

  • @contactdi8426
    @contactdi8426 Год назад +3

    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

  • @FlameEnzo
    @FlameEnzo Год назад

    And this is how I learned Mrs. Puff's first name lol. Nice video, very helpful!

  • @catcatcat2899
    @catcatcat2899 7 месяцев назад

    that was so straightforward and quick, ty!

  • @sargata3054
    @sargata3054 4 месяца назад

    Thank you!! This is so easy to understand.

  • @TheShawn_v
    @TheShawn_v 6 месяцев назад

    easest way someone can explain joins

  • @di-egohumilde4515
    @di-egohumilde4515 2 месяца назад

    Thank you so much, now I understand wayyy better

  • @umangupreti9107
    @umangupreti9107 Год назад

    Thank you boss. Plain & Simple explanation 👏

  • @ИльясНуруясов-в2э
    @ИльясНуруясов-в2э Год назад +1

    Good video, thank you

  • @yker8913
    @yker8913 Год назад +1

    Thanks! You made it so easy.

  • @darkseid94
    @darkseid94 8 месяцев назад +1

    This is the best and easiest explanation for joins on the Internet-better than that UDEMY course from Jose Portilla.

  • @outoftime687
    @outoftime687 2 месяца назад

    you made it so easy to comprehend thanks v much. 🙏🏼

  • @marcusvinicius7510
    @marcusvinicius7510 7 месяцев назад

    Thank you so much! Very didactic and so much easier to understand.

  • @muzika5001
    @muzika5001 2 года назад

    Needed fast reminder on joins. And this video made things very easy. Thank you! 👍

  • @CP-xu2pj
    @CP-xu2pj Год назад

    The best video so far

  • @itsnevertoolatetolearn4875
    @itsnevertoolatetolearn4875 16 дней назад

    wow , very articulate explanation

  • @kostasoriginal181
    @kostasoriginal181 Год назад

    Thanks a lot
    I really thought joins were confusing as hell but they seem simple

  • @tinanguyen1072
    @tinanguyen1072 4 месяца назад

    Best explanation hands down

  • @Gvnrae
    @Gvnrae 7 дней назад

    I love this video. Thank you.

  • @tharaks552
    @tharaks552 4 месяца назад

    love from india , you made it very easy peasy ❤‍🔥

  • @calvinchao05
    @calvinchao05 11 месяцев назад

    Omg this video made everything make so much sense

  • @OnstreamGaming
    @OnstreamGaming 2 месяца назад

    Very helpful , i understood everything ! thanks

  • @mussimbigrace3469
    @mussimbigrace3469 8 месяцев назад

    you just earned yourself a new subscriber !! thank youuu!!!

  • @isar.h8258
    @isar.h8258 6 месяцев назад

    I thought it was more complicated! Thanks

  • @tarunthomas8123
    @tarunthomas8123 8 месяцев назад

    short yet super informative .

  • @antoniomontana5990
    @antoniomontana5990 Год назад

    Very clear and easy to understand. Thanks!

  • @Andrey7923
    @Andrey7923 10 месяцев назад

    Thanks for your work, this video-lesson is easy for me as a newbie

  • @UshaRani-mj3hg
    @UshaRani-mj3hg 6 месяцев назад

    Thankyou sir for giving a clear explanation 🙏

  • @kuhome-lw9to
    @kuhome-lw9to 7 месяцев назад

    The best video in joins 🍯

  • @HollywoodCameraWork
    @HollywoodCameraWork Год назад

    Wonderfully clear explanation.