SQL Joins Examples |¦| Joins in SQL |¦| SQL Tutorial

Sdílet
Vložit
  • čas přidán 6. 08. 2024
  • A SQL JOIN lets you retrieve data from 2 or more tables in your database. In this video we give examples of 4 kinds of joins: INNER Joins, LEFT Joins, RIGHT Joins, and FULL Joins (also known as FULL OUTER Joins).
    If you are just learning about SQL Joins, we would recommend you watch our first video: “SQL Joins Explained.” • SQL Joins Explained |...
    Our SQL playlist starts here:
    ↪bit.ly/Socratica_SQL
    Be sure to SUBSCRIBE for more SQL!
    ↪ bit.ly/SocraticaSubscribe
    You may also enjoy our Python playlist:
    ↪bit.ly/PythonSocratica
    ♦♦♦♦♦♦♦♦♦♦
    Ways to support our channel:
    ► Join our Patreon : / socratica
    ► Make a one-time PayPal donation: www.paypal.me/socratica
    ► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9
    Thank you!
    ♦♦♦♦♦♦♦♦♦♦
    Connect with us!
    Facebook: / socraticastudios
    Instagram: / socraticastudios
    Twitter: / socratica
    ♦♦♦♦♦♦♦♦♦♦
    SQL instructor: Ulka Simone Mohanty (@ulkam on Twitter)
    Written & Produced by Kimberly Hatch Harrison (@khhsocratica) & Michael Harrison (@mlh496)
    ♦♦♦♦♦♦♦♦♦♦

Komentáře • 345

  • @Socratica
    @Socratica  Před 4 lety +140

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @ianmubangizi6721
      @ianmubangizi6721 Před 4 lety +2

      still waiting...

    • @juliechen6745
      @juliechen6745 Před 2 lety

      あっくぇえええt387っq0っっっっくぁぱー⁰あpーああ⁰⁰あーーーあー1っq3q5い0

  • @JoeWong81
    @JoeWong81 Před 5 lety +371

    I love this woman's attitude and sense of humor and the content is also well taught... This channel definitely deserves more likes and subscribes

  • @shoebsultan5876
    @shoebsultan5876 Před 4 lety +284

    4 dislikes? I think they are from Mercury

    • @alexmungai7962
      @alexmungai7962 Před 3 lety +8

      16 at the moment, we got some extra-galactic activity from Andromeda

    • @thomasedwardking7286
      @thomasedwardking7286 Před 3 lety +1

      🤣🤣

    • @switkaren
      @switkaren Před rokem

      Surely, they have a right and liberty to dislike? As for me, I like!

    • @kaptainkaboom
      @kaptainkaboom Před 11 měsíci

      Lol na they some dirty belters!! Mercurians are hot!! Leave them alone!! Lol. I watch too much tv. Lol

    • @bareback_3000
      @bareback_3000 Před 9 měsíci

      😭😭

  • @Krm3458
    @Krm3458 Před 4 lety +125

    i love when someone teaches me like im the dumbest person on earth,like this :d

    • @BrianEdwardAshmore
      @BrianEdwardAshmore Před 4 lety +20

      You joke, but that's the best way to drive home the fundamentals - the most important part

    • @MrLuxNsk
      @MrLuxNsk Před 3 lety +3

      On Mars.

  • @dhruvamalekar8522
    @dhruvamalekar8522 Před 4 lety +221

    Such innovative style of teaching....I was scared of SQL joins till date...then I found Socratica!!

  • @sajidmanzar
    @sajidmanzar Před 3 lety +46

    9:38 convert NULL quantity to ZERO. Here is the full code:
    SELECT s.supply_id, ISNULL(i.quantity,0) AS quantity, s.name, s.description
    FROM (SELECT * FROM inventory WHERE base_id = 1 ) AS i
    RIGHT JOIN supply AS s
    ON i.supply_id = s.supply_id
    ORDER BY s.supply_id
    ;

  • @terrancekayton007
    @terrancekayton007 Před 4 lety +15

    YA'LL ARE KILLING ME WITH THE HUMOR, I am seriously 10 seconds in and cracking up looking forward to learning the way yall deliver this information. THANKS A BILLION

  • @michaelvigato3228
    @michaelvigato3228 Před 5 lety +56

    Christ, this is some of the best tutorials I've seen. Thank you for sharing, keep up with the excellent work!

  • @user-fb7ux7tg7x
    @user-fb7ux7tg7x Před 4 lety +20

    Educational AND highly entertaining. Love her sense of humor and smile! Never have I clicked so fast for the next tutorial video. Great work Socratica and team!
    The supply descriptions are hilarious 😂 and the graphics & sound effects throughout the vid are superb!

  • @rocioarmstrong2675
    @rocioarmstrong2675 Před 3 lety

    You are my hero!!! Never change your instructions methods, please. People like myself need you.

  • @timwilcox5183
    @timwilcox5183 Před 4 lety

    Easily the best video concerning SQL that I have watched. Not sure what else can be done any better.

  • @TheSoulCrisis
    @TheSoulCrisis Před 3 lety +8

    THANK YOU for this awesome video series on SQL and especially JOINS! I've never had so much fun watching..........any coding video and this is such a blast. You guys rock for this.

  • @yincheng7246
    @yincheng7246 Před rokem

    the amount of effort and great sense of humor this lady has put in , so much appreciated.

  • @sajidmanzar
    @sajidmanzar Před 3 lety +2

    I love the way they teach while having fun at the same time. In a short video, they explained all the three joins and sub-query, Alias as well. Thanks for this video.

  • @marinav.7332
    @marinav.7332 Před 4 lety +2

    Very insightful video I was searching for. For years I could not understand joins and related syntaxes but now finally I got it! Thank you a lot!

  • @sheilaquan9824
    @sheilaquan9824 Před 5 lety

    SQL is very important... thank god u have got this tutoring recorded. The best way for me to learn to learn is to watch this first.

  • @marcwa9124
    @marcwa9124 Před 4 lety +3

    Wow! This Playlist is the best I've ever seen! Thanks so much! It's unbelievable how well this is done! Are you just geniuses or do you have a ridiculously high Budget? Amazing… really… absolutely amazing...

  • @PrakharBhagwat
    @PrakharBhagwat Před 3 lety +2

    One of the best learning video series for SQL! Kudos to your creativity and execution :)💕

  • @danielquill
    @danielquill Před 3 lety +2

    Great video, and entertaining too - now I understand how to use the JOIN functions in SQL much better, thank you!

  • @michaelcdarby
    @michaelcdarby Před 4 lety +1

    Idk what it is that makes these tutorials better than all the others. I think it’s her way of communication

  • @natnaelabay670
    @natnaelabay670 Před 4 lety

    this is one of the best tutorials i have ever
    seen......thank you

  • @ALOKIKYADAV31
    @ALOKIKYADAV31 Před 5 lety +58

    Hats off to your creative ways to teaching. keep moving forward >>>

  • @Jaxxy35
    @Jaxxy35 Před 4 lety +1

    You are just what I needed! I feel much more confident that I'll pass my test! Thank You!
    I love the nerd humor too!

  • @ThalassaMavri
    @ThalassaMavri Před 5 lety +16

    Thank you for the videos! Hope you will keep publishing more videos on SQL.

  • @zm690
    @zm690 Před 2 lety +2

    I really enjoy this SQL series, very helpful. Thank you for making it so fun !

  • @prashantchoudhary2456
    @prashantchoudhary2456 Před rokem +1

    Wow. I never imagined joins were so entertaining... thanks a lot. Finally after 12 years of completing btech I now understand how joins work.

  • @nimshisheron9846
    @nimshisheron9846 Před 4 lety +2

    Absolutely in love with the videos!! Thanks a lot!! Did not expect all the fun in these videos :')))

  • @joshuaeirman594
    @joshuaeirman594 Před 4 lety +1

    Maybe I should comment more, this an incredible futuristic professionalism that is completely amazing. Beyond compare!

  • @djmostephens
    @djmostephens Před 4 lety +2

    The best SQL tutorials ever...damn! I love this and thanks a million

  • @tinam269
    @tinam269 Před 2 lety +2

    watching these to prepare for a job interview. The cuteness factor is really helping put me in the right mindset. I appreciate this so much!!

    • @Socratica
      @Socratica  Před rokem

      GOOD LUCK in your interview!! 💜🦉

  • @tabaristake144
    @tabaristake144 Před 4 lety +1

    Seriously stellar! Humor and information are 100% Thanks for this!

  • @asal1001
    @asal1001 Před 4 lety +3

    thank you thank you that'll you had an exam and was so worried about joins. your an amazing teacher!!!

  • @MrWabouz
    @MrWabouz Před 5 lety +1

    Cool vid! Your work deserves to be more known

  • @Cienega32
    @Cienega32 Před 3 lety

    What a goofy, loony chick. I love it! And funny too. Makes it such a relaxed learning environment. The voice... the hypnotic, expressive eyes... the ease with which I've learned things thru these videos. What a great presentation. What a great teacher!
    Instead of just poking my way thru a basic 'How To' type of book until my very simple SQL usage does what I hope it to do, I'm actually learning stuff on how to do things correctly & efficiently.
    You, madam, are brilliant in your technique!

  • @aroncasiano1796
    @aroncasiano1796 Před 4 lety

    this the first SQL video I have watched that is not boring. this video just motivates me!!!

  • @paqueteaguilera6
    @paqueteaguilera6 Před 4 lety

    You saved me, my exam is in a few days and I didn´t undertand the subject until now. Thanks a lot!

  • @paulodepaula4957
    @paulodepaula4957 Před 4 lety +3

    Amazing content, thank you so much for helping me understand the basics of SQL!!

  • @navitaw8876
    @navitaw8876 Před 5 lety +4

    Thank you for these videos, they are most helpful! Looking forward to more SQL videos! :)

  • @jimbo5437
    @jimbo5437 Před 2 lety

    The way this was put together was perfect. I get so f-ing bored in class and have a hard time paying attention. THIS taught me more than in 1 hour of lecture. THANK YOU!

  • @nicolasjimenezq369
    @nicolasjimenezq369 Před 2 lety

    Congratulations on your tutorials. Really helpful, on point, entertaining.

  • @alienpuppy
    @alienpuppy Před 3 lety

    I cant believe how informative and fun this is!!

  • @avi.chan23
    @avi.chan23 Před 5 lety +23

    Actually you're helping me getting prepared for my exam next week. Great clips with really good examples.

  • @danschool7969
    @danschool7969 Před 8 měsíci

    Extremely well done. It is a little over the top but honestly you are explaining things none of the other vids have so far which were all the difference to me in understanding this concept. Thank you!!

  • @meechiesimms3827
    @meechiesimms3827 Před rokem +1

    I love these videos so much! Thank you for making studying easier for me!

  • @vzntoup
    @vzntoup Před 5 lety +1

    Perfect explanation and also enjoyable ! Keep it up!

  • @datapathit1
    @datapathit1 Před 4 lety +1

    Wow, I was lost in sql till I clicked on these videos. Superb job

  • @ajayarumugam4742
    @ajayarumugam4742 Před 2 lety

    This was the best explanation, I have seen so far!

  • @ishanbhatt6067
    @ishanbhatt6067 Před 5 lety +5

    Heyy!! This was a really nice video!
    Great discovery for me. GOOD JOB!

  • @3mad0s
    @3mad0s Před 2 lety

    Great video, learning SQL quick for an interview and this video (with the previous part) helped a lot in visualizing and understanding joins...thanks a lot!

  • @chase36chase
    @chase36chase Před 2 lety

    i am a fan of this channel by now. this soundtrack, the william gibson -vibes, your acting!
    10/10

  • @terrificsuper
    @terrificsuper Před 4 lety

    Unbelievable videos! Great format. Please make many more!

  • @MARIUTSKI13897
    @MARIUTSKI13897 Před 4 lety +1

    Amazing! Just found your channel and it's amazing, thank you!

  • @cliffkatiecollins9975
    @cliffkatiecollins9975 Před 3 lety

    Socratica, you are one of the best humans this side of Mars.

  • @dorcasia109
    @dorcasia109 Před 3 lety +3

    This video was posted in my SQL class and so far it has been the thing that helps most in my lab assignment. Thank you!

    • @Socratica
      @Socratica  Před 3 lety +1

      This is wonderful to hear - we're so glad you're watching! Please say thanks to your instructor for us!! It helps us so much to get the word out.💜🦉

  • @girish_captures
    @girish_captures Před 6 měsíci

    Hello Ms Socratica, I am not kidding.. Even though I'm proficient in all computer science-related concepts, I am always confused with SQL Joins. You have explained things with soo much ease, I literally fell in love with you and your approach. I'm more confident with joins now in just 11 mins. Thank you soo much.

  • @gustavosantos106
    @gustavosantos106 Před 5 lety +1

    Awesome work. I wish I had found this channel before.

  • @lokeshsivakumar3927
    @lokeshsivakumar3927 Před 4 lety +9

    She is a Fantastic teacher. Top work on the editing guys, I am a visual person and concepts are better understood visually.
    I would be glad if you guys can share the csv files for the martian course as well for us to practice.

  • @mohsink4u
    @mohsink4u Před 3 lety

    i havent see many of your videos yet, but i have already started loving them

    • @Socratica
      @Socratica  Před 3 lety

      We're so glad you've found us! Thanks for your nice comment!! 💜🦉

  • @melissajade7717
    @melissajade7717 Před 2 lety

    I used to hate building databases.... Boring... Socratica makes it enjoyable! Thank you Socratica!

  • @COOKINGBIRD
    @COOKINGBIRD Před rokem +1

    Thank you for the SQL video! It was incredibly informative. 😊🙏🎥💻

  • @vigneshhendrix4447
    @vigneshhendrix4447 Před 3 lety

    You just Nailed it!🔥. I've joined socratica from today!
    Keep it up.

  • @ayang315
    @ayang315 Před 3 lety

    This channel is awesome. I am liking SQL again.

  • @nielltalwar1574
    @nielltalwar1574 Před 2 lety

    education is supposed to be entertaining. Bang on Socratica !! learnt and laughed . cheers

  • @chaytanya2293
    @chaytanya2293 Před 2 lety

    Haven't found any better video on SQL than this.

  • @SamuelLed2k24
    @SamuelLed2k24 Před rokem

    very clear and easy to understand, love the analogies used here! this video helped me greatly!

  • @arturoprepotente9837
    @arturoprepotente9837 Před 2 lety

    One of the best methods for teaching. Examples are easy to understand and interesting. Even a child will love and learn these clips. Please continue what you're doing. Thank you.

  • @Zhu-lw4dn
    @Zhu-lw4dn Před 5 lety

    such a creative way to teach, great video!

  • @cavedon.felipe
    @cavedon.felipe Před 4 lety +1

    Love how you explain!

  • @Jake_cub
    @Jake_cub Před rokem

    This helps so much. Joins were killing me this made it simple. love it thanks.

  • @aara144
    @aara144 Před 2 lety

    Appreciate the wonderful illustration.

  • @shervinledu9440
    @shervinledu9440 Před 4 lety

    Thanks ! This is so well explained !

  • @pantsuslayer8631
    @pantsuslayer8631 Před 2 lety

    truly, a video of the year

  • @manu52dain13
    @manu52dain13 Před 2 lety

    I love the way you explain this!

  • @chrismalingshu
    @chrismalingshu Před 3 lety +20

    Replace NULL with zero:
    SELECT ISNULL(myColumn, 0 ) FROM myTable

    • @vishnumohank1299
      @vishnumohank1299 Před 2 lety +1

      You really should have used IFNULL(i.quantity, 0) rather than the ISNULL.

    • @adalovelac24
      @adalovelac24 Před 2 lety +1

      SELECT COALESCE(myColumn , 0) FROM myTable;

  • @alikakavand3165
    @alikakavand3165 Před 11 měsíci

    It was incredible. Thanks Socratica.

  • @ethanbourne8324
    @ethanbourne8324 Před 4 lety

    Need more of SQL content like these

  • @Vintagetube310
    @Vintagetube310 Před 2 lety

    Am I the only one in love with this cyborg? great videos. I just have to keep up a bit faster than usual. Which is a good and bad thing.

  • @rishisrivastava2354
    @rishisrivastava2354 Před 2 lety

    loved the way you have taught SQL. Really Really AMAZING. Fun learning

  • @happinin
    @happinin Před 3 lety

    I really really like you. I'm definitely going to study these for my new job. Thank you so much! you really explain this beautifully! You got yourself a subscriber!

  • @ryanfelton2325
    @ryanfelton2325 Před 3 lety +1

    0:16 seconds in and smashed like, love the star wars reference!

  • @stephontreadwell1664
    @stephontreadwell1664 Před rokem

    Wow! This is a great explanation and not boring lol. Thank you!

  • @jameseldridge3445
    @jameseldridge3445 Před 2 lety

    This is taught so well. Easier than a book

  • @GreenSlugg
    @GreenSlugg Před 2 lety

    This lady is the best!

  • @bhavukgarg3619
    @bhavukgarg3619 Před 4 lety +4

    You made it so easy mam, I request you to please make more videos like this, I will definitely contribute on patreon once I have a job.☺

  • @niaei
    @niaei Před 5 lety +5

    I wish I could Cite to a youtube links in scientific papers.
    You made my data analysis really fas...
    Thank you....

  • @ashujadhav5457
    @ashujadhav5457 Před rokem

    i like the teaching method of socratica . thank you

  • @mezzdien
    @mezzdien Před 2 lety

    Thanks indeed the best video for explaining sql joins ever
    I can't believe it goes in details for all the concepts in less than a 12 minutes ❤️❤️😍

  • @aviiamo
    @aviiamo Před 3 lety

    these vids are so fun to watch!

  • @rubyraj8869
    @rubyraj8869 Před rokem

    This is the best video ever!I love all your videos ❤

  • @mehekpasricha2252
    @mehekpasricha2252 Před 3 lety

    YOU ARE A LIFE SAVIOR QUEEN!!!!!

  • @cjcjonesit
    @cjcjonesit Před 4 lety

    Great video you make it so much fun and entertaining.

  • @Pras105
    @Pras105 Před 4 lety

    Very informative and very funny. These videos are amazing!

  • @JairoMorales123
    @JairoMorales123 Před 5 lety +3

    She and/or the person that wrote the script has a great sense of humor

  • @SantiagoRodriguez-en9hi

    Loving these, thanks a lot

  • @laurenmiller8237
    @laurenmiller8237 Před 2 lety

    I freaking love this channel. Thank you!

  • @gravitycuda
    @gravitycuda Před 5 lety +25

    Waiting for Socratica's NoSql DB tutorial. I have subscribed, liked and commented and many will follow if you make a NoSQL DB tutorial.

    • @ZahidHasan-cc8tf
      @ZahidHasan-cc8tf Před 4 lety +1

      Yeah. I hope she fulfills our request for NOSQL tutorials.

  • @gaberondon8757
    @gaberondon8757 Před 4 lety +1

    I love your content!!!

  • @MarCesar
    @MarCesar Před 3 lety

    Outstanding way to teach a subject. I have never seen anything close to this. There are many good videos all around but the vídeos of this young lady are really from another world.

  • @buddhikaperera5716
    @buddhikaperera5716 Před 4 lety

    its wonderful presentation that you are really really doing .. very easy to understand and you voice keeping us with the lesson in perfect manner. good luck mam...

  • @bornkool
    @bornkool Před rokem

    Great Presentation thank you.