SQL Joins: Difference Between Inner/Left/Right/Outer Joins

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 332

  • @LaughinLoneStar
    @LaughinLoneStar Рік тому +60

    Join/Inner Join = Keep only that which matches
    Left join = Keep every thing from left table, only matches from right table
    Right join = Keep everything from right table, only matches from left table
    Outer join = Keep everything

    • @AnaMaddison
      @AnaMaddison 4 дні тому

      They’re formally called left outer joins and right outer joins
      “Outer joins” are called “full outer joins”

  • @j.deluca8824
    @j.deluca8824 3 роки тому +387

    You made me understand this in 10 minutes, whereas I had no idea what was going on in my university lectures. Thanks lol

  • @Hoppensagen
    @Hoppensagen 2 роки тому +38

    Seriously, why do teachers not explain it simply like this, I was so confused, they just like explained in words what join is, and then write sql and show it and then I just have no idea what happened. Great visual.

  • @blindhydra
    @blindhydra 3 роки тому +59

    This is probably one of the best data analysis videos i've seen on youtube, thanks man I really appreciate it

  • @saintmichael918
    @saintmichael918 Рік тому +2

    The most simplified and relateable tutorial on Join

  • @LoXena
    @LoXena 3 роки тому +97

    Thank you this is the best explanation I've found so far!

  • @programmingwww
    @programmingwww 3 роки тому +12

    This guy explained joins and gave us perfect website about it 👏👏👏 Thank you!

  • @stol3nsoul504
    @stol3nsoul504 2 роки тому

    my teacher spend literally 3 full hours trying to explain this as complicated as he could, I didnt understand a single word. 10 minute video from you and boom i got it. Thanks so much buddy!!

  • @melissaduran6319
    @melissaduran6319 3 роки тому +11

    I know people say this in nearly all programming/comp sci videos but yours was hands down the best explanation for this concept! I was only finding videos explaining the SQL but I am not learning that yet in my class so I didn't find it useful watching tutorials on it. Thank you so much for this detailed and thorough explanation!

    • @luisgaxiola-baqueiro6105
      @luisgaxiola-baqueiro6105 2 роки тому +2

      Exactly, I have seen these boring theoretical explanations which make me be more confused at the end than I was at the beginning, but this explanation is just easy and so well explained.

  • @nomsotechnologies67
    @nomsotechnologies67 Місяць тому

    This is the most brilliantly laid out lesson I've watched on UA-cam

  • @jaymanzoom
    @jaymanzoom 2 роки тому

    Didn't matter how I asked my teacher I couldn't understand what the hell the differences between the joins were. Thank you for making it so easy and showing visual examples.

  • @krissstories5586
    @krissstories5586 3 роки тому

    OMG, I spent 2 weeks hitting my head in the wall. These 10 minutes made me understand that joins..... Thank you man

  • @markovujanic
    @markovujanic 3 місяці тому

    Thanks for all animations and grate narration, I think we can improve on the mental model of your presentation, especially for outer joins.
    Inner Join
    1. Cartesian product created
    2. Keep rows matching condition (USING/ON)
    Left Join
    1. Cartesian product created
    2. Keep rows matching condition (USING/ON)
    3. Left join (add back left table unmatched rows, assign them to null)
    Most important part is that every JOIN starts with Cartesian product, then some filtering + variation

  • @thanhsangto8603
    @thanhsangto8603 3 роки тому +30

    That was such an easy guide to understand. I hope your channel will early expand more. thank you so much.

  • @rubenkanya7342
    @rubenkanya7342 3 роки тому +17

    Very well done, you covered in 10 minutes what I never grasped in years! Well Done!

  • @sparrowXXIII
    @sparrowXXIII 2 роки тому +1

    🙏!!!
    I desperately needed a visual explanation like this.
    Going to dive in your other videos and see what other magic visualizations you have up your sleeve!

  • @dalitsobotha7932
    @dalitsobotha7932 Рік тому +1

    Short, sweet and straight to the point... Great stuff!

  • @Ray-xl9iz
    @Ray-xl9iz 2 роки тому +1

    Best join guide ive seen, and i feel like ive seen dozens of them. Thank you

  • @fndfgbberb
    @fndfgbberb 3 роки тому +8

    Thanks Joma! The visualization is awesome for JOIN explanations. Totally stealing that haha

  • @mohamedsuhailirfankhazi6628
    @mohamedsuhailirfankhazi6628 11 місяців тому

    Very simple, concise and to the point. Exactly the way a tech tutorial is meant to be. Thank you!

  • @proCode10
    @proCode10 2 роки тому +1

    This is one of the best explanation videos I've seen on youtube.

  • @backendadmin1217
    @backendadmin1217 Рік тому

    The way you explain things in detail is fabulous, you just made my day.... This video is most amazing on entire youtube.

  • @rahulmahbubani1392
    @rahulmahbubani1392 Рік тому

    Best Video i have seen on joins, you did it better than any 1 hour video

  • @ayoubbellaoui5833
    @ayoubbellaoui5833 3 роки тому

    simple and understood way to explain things that I have make me hate SQL one time but now anything is easy.
    Thank you !

  • @tabithae3679
    @tabithae3679 2 роки тому

    This video is so helpful that I've come back to watch it 4 separate times.

  • @milindsagar3630
    @milindsagar3630 2 роки тому +1

    I really love the way you teach, its just amazing.

  • @alpha-mf9rh
    @alpha-mf9rh 5 місяців тому +1

    The visuals are so helpful!

  • @fg0611
    @fg0611 2 роки тому

    The best and simplest explanation about table joins in sql so far

  • @keylanshannon9492
    @keylanshannon9492 3 роки тому +3

    This is really great content! Your visual break down solved about a week of my frustration!!

  • @billnye7252
    @billnye7252 8 місяців тому

    Thank you so much for the easy to understand video. My a whole lecture of class understandable in 10 minutes. The visuals helped a LOT.

  • @omyni
    @omyni Рік тому

    THANK YOU
    Sincerely,
    All visual learners everywhere

  • @송예은-h7b
    @송예은-h7b 2 роки тому +1

    Hey Joma, this is the best explanation I found about Join so far! Thank you!!

  • @gssj-o8p
    @gssj-o8p 6 місяців тому

    Hands down the best explanation of the history of the universe

  • @001tolky
    @001tolky 2 роки тому

    That is the absolute best explanation I've found on this topic, print or video, including even Socratica's (which is saying something).

  • @shubhampendbhaje9976
    @shubhampendbhaje9976 2 роки тому +1

    I'll mark this tutorial as the easiest amongst all out there... It was so easy to understand everything 😲

  • @namphantech
    @namphantech 2 роки тому

    It's extremly visualize.I got uderstanding about all of type join in sql.Thanks bro

  • @Morexod999
    @Morexod999 2 роки тому

    Pretty good visualization of joining procedure, it gives more mean than just writting querys. Thank you, man, good presentation

  • @meme1033
    @meme1033 3 роки тому

    This is the best explanation and visualization of how joins work on youtube - thank you!

  • @shigriasif1316
    @shigriasif1316 8 місяців тому

    You did an amazing work. Before watching your video I haven't any idea about joins and Thanku so much for this content.

  • @mzamomahaeng268
    @mzamomahaeng268 Рік тому +1

    I honestly couldn't visual understand this concept until your explanation 🙏🤗👍best ever explanation thank you

  • @Exceltech810
    @Exceltech810 Рік тому

    Omg. This video is veryyyyy clear for joins. Thanks you!! It's better than most of similar video about joins

  • @pauloxavier3033
    @pauloxavier3033 7 місяців тому

    Perfect explanation!! Simple and easy to understand!!

  • @melvinwookiee2696
    @melvinwookiee2696 2 роки тому

    I can't thank you enough... hands down the best video for beginnners

  • @siamimam2109
    @siamimam2109 2 роки тому +1

    I love how you explain!! Wish my professors were like u

  • @fahadjavaid7126
    @fahadjavaid7126 2 роки тому +1

    You have explained these complex topics so nicely Cheers mate

  • @missstella1584
    @missstella1584 2 роки тому

    Best video about joins so far

  • @gloriyathomas
    @gloriyathomas 2 роки тому

    The best intuitive explanation of joins! Thanks a lot..

  • @t.l.e.e.
    @t.l.e.e. 2 роки тому

    finally someone who knows how to teach!

  • @lppap9774
    @lppap9774 3 роки тому +2

    Hey man,
    This was the best explanation after so many videos. 💯
    THANK YOU!

    • @gentleechoes6
      @gentleechoes6 2 роки тому

      also tell good website for triggers ans stored procedures for visualization

  • @martinamilitello3893
    @martinamilitello3893 2 роки тому

    Best explanation ever? Best explanation ever!
    Thanks a lot!

  • @Gn0ume
    @Gn0ume 2 роки тому

    I didn't know you know actually anything about coding! Good job!

  • @hobbyboy218155
    @hobbyboy218155 3 роки тому +3

    Thank you for making this! Your explanation was clutch for my SQL exam tomorrow

  • @ozonewagle
    @ozonewagle 4 дні тому

    Thank you so much. It was so easier to understand with the venn diagrams.

  • @Roodementary
    @Roodementary 3 роки тому +1

    Thank you! This was 10 times easier than trying to read about it.

  • @jazzryjamz
    @jazzryjamz 3 роки тому

    I spent so long looking at docs and even pictures didn't make sense to me. I feel hella dumb after understanding joins within the first 4mins of listening to you, thank you.

  • @Rextirant
    @Rextirant 4 роки тому +6

    YOYOYO these be very educational, keep it up Joma!~!~

  • @FleeurFleeur
    @FleeurFleeur Рік тому

    This was the best explanation I've heard! Thank you

  • @danielcortes4057
    @danielcortes4057 3 роки тому +2

    Thank you, it was very useful, cheers from Mexico!

  • @codealong2456
    @codealong2456 3 роки тому

    WOW! thanks reading the same thing confused me a lot, just so easy this way!

  • @user-cx5wq9rn6e
    @user-cx5wq9rn6e 11 місяців тому

    bro made this shit look so easy. i even didnt get the content alone at that website. bruh

  • @kukkakaali1751
    @kukkakaali1751 2 роки тому

    Best explanation of joins that I've seen, finally understood it now :)

  • @Sebochan
    @Sebochan 2 роки тому

    You explained it in the best way possible. I hope we could see more of this (SQL) from you!

  • @akindelelekan614
    @akindelelekan614 3 роки тому +1

    Tremendous explanation

  • @katerynariaboshapko4037
    @katerynariaboshapko4037 3 місяці тому

    Joma, you are the best!

  • @nymrod6620
    @nymrod6620 3 роки тому

    Great explanation Joma ! , You should consider doing the entire SQL

  • @adamdudkiewicz6444
    @adamdudkiewicz6444 2 роки тому

    i had no idea that there were different types of joins, thanks

  • @natalevelardi1585
    @natalevelardi1585 2 роки тому

    Best explanation i've ever seen by far thank you!

  • @mariaelisha
    @mariaelisha Рік тому

    best video with great explanation
    salute to you man

  • @eliasalvarez6881
    @eliasalvarez6881 9 місяців тому

    Best JOINs video ever!!!

  • @ghaziali3504
    @ghaziali3504 2 роки тому

    Interactive content and you made it so easy to learn! Thanks

  • @daryllculas6894
    @daryllculas6894 Рік тому

    Thanks for your simple explanation I finally understood the concept of each joins since I was being confused with them yesterday hehe

  • @rajireddymutyala4217
    @rajireddymutyala4217 3 роки тому

    U explained Simple way and excellent👍

  • @manavdubey7670
    @manavdubey7670 8 місяців тому +1

    very nicely explained . Thanks for the video !

  • @shadynit
    @shadynit 2 роки тому +1

    this website you mentioned is perfect. Thanks

  • @VeronicaAngryPolak
    @VeronicaAngryPolak 2 роки тому

    THANK YOU!! oh my gosh this finally set in, i finally get it after this video!!! thank you so much!!

  • @michealbailey6372
    @michealbailey6372 2 роки тому

    Man, great tutorial on joins. This explanation definitely helped my understanding on the subject.

  • @rep_reprobit
    @rep_reprobit Рік тому

    ''kind of like society... and dating'' my bro this take went so hard

  • @davidemmanuel3001
    @davidemmanuel3001 2 роки тому

    Best demonstration ever

  • @azhar6055
    @azhar6055 3 роки тому +1

    thank you Joma , this is extremely helpful

  •  3 роки тому +2

    Awesome Joma, very clearly explained, keep the good SQL stuff content!!!

  • @Bdlover-24
    @Bdlover-24 2 роки тому

    You are a good Teacher sir😍😍😍😍😍😍😍😍 Thank you from Bangladesh.

  • @bhushanssable9641
    @bhushanssable9641 2 роки тому

    The best video ever for joins ❤️

  • @subhamchakraborty6822
    @subhamchakraborty6822 3 роки тому

    Awesome Brother! Please upload more from DBMS

  • @codingbaba8239
    @codingbaba8239 Рік тому

    8:14 let go back,, truu Sounds great

  • @Julie-lb6pw
    @Julie-lb6pw 2 роки тому

    Thank you ! my goodness. all the other examples were so complicated

  • @zulzarifzahir2004
    @zulzarifzahir2004 9 місяців тому

    You are a great teacher.

  • @hipman21
    @hipman21 Рік тому

    This is such an amazing explanation, so simple and clear! Thankyou

  • @TheAjayTyler
    @TheAjayTyler 2 роки тому

    Fantastic job breaking this down 👍

  • @SamBaltimore
    @SamBaltimore Рік тому

    Thanks Bro, I feel Like Snoop Dogg now, with this Joins.

  • @senseiimoh
    @senseiimoh 3 роки тому +1

    Vzryy bery usefal video thnks joma. We want more video about sql and BI

  • @yanivshabi288
    @yanivshabi288 2 роки тому

    It was very clear. Good job keeping it simple !

  • @caesarcastro9583
    @caesarcastro9583 Рік тому

    simple and straight forward. Thanks

  • @chrisnandasaputra2708
    @chrisnandasaputra2708 2 роки тому

    THANK YOU SENPAI, this is awesome!!!!!!

  • @djung8667
    @djung8667 3 роки тому +1

    Congrats for this very good video!!

  • @SzrIsTaken786
    @SzrIsTaken786 2 роки тому

    clutching me up in my databases class actual plug

  • @nandykumar3037
    @nandykumar3037 2 роки тому +1

    Vry nice explaination

  • @nosebleed4304
    @nosebleed4304 2 роки тому

    Good Expiation easy to follow btw I'm a Collage Student And this is the most understandable expiation

  • @KhianVictoryDCalderon
    @KhianVictoryDCalderon 5 місяців тому

    Thank you, i've understand it very well, even chatgpt can't explain to me clearly, it still complicated but this video is very clear.

  • @hanmuhammetbahtiyarov1644
    @hanmuhammetbahtiyarov1644 2 роки тому

    truly awesome! you made it look way easier than i thought, thank you

  • @mralextacy
    @mralextacy 3 роки тому +1

    excellent explanation