SQL Joins Explained |¦| Joins in SQL |¦| SQL Tutorial

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

КОМЕНТАРІ • 1,3 тис.

  • @Socratica
    @Socratica  5 років тому +323

    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!! 💜🦉

    • @njstudio2526
      @njstudio2526 5 років тому

      ok thankyou but i am new in this field how we get jobs in DBA

    • @njstudio2526
      @njstudio2526 5 років тому

      as DBA

    • @friendlychannel100
      @friendlychannel100 4 роки тому +1

      is it required to make (martian-table)base id a primary key and (base-table) a foreign key?

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

      Any way we can have access to the Martian data as an XLM file somewhere? Lol I would like to practice with it.

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

      This could be better if you included a link to what you think is the best online busybox/play tool to practice/learn sql in practice.
      I still think you're really a robot ^_^

  • @RIFOU-FF
    @RIFOU-FF Рік тому +407

    Whoever wrote, hosted, edited, directed this masterpiece, deserves a Nobel Prize, well done ❤️

  • @gamezine8374
    @gamezine8374 3 роки тому +382

    I actually cried because this is too good to be free. Thank you.

  • @dingus4138
    @dingus4138 4 роки тому +579

    This is the first time I've heard someone explain the LEFT vs RIGHT join in a way that makes sense. Thank you!

    • @dorcasia109
      @dorcasia109 3 роки тому +6

      Me too! This video was shared in my sql class and they are the most helpful I have found.

    • @BigBoii1369
      @BigBoii1369 2 роки тому +2

      SAME HERE!

    • @anthonyogundipe9248
      @anthonyogundipe9248 Рік тому +3

      Me too, first time I see an excellent explanation after over a decade of programming.

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

      imagine holding match Box toy on your LEFT and a match A drink on your RIGHT
      LEFT join pulls matching B records and all of A while
      RIGHT join pulls matching A records and all of B

  • @JannisAdmek
    @JannisAdmek 4 роки тому +127

    2:25 the sound of the tables joining is sooo satisfying!

    • @alimertc
      @alimertc 4 роки тому +4

      lol i agree

    • @Margo-v2k
      @Margo-v2k 3 роки тому +2

      lmao yes I thought I was the only one

  • @islamelgarhi1808
    @islamelgarhi1808 4 роки тому +1408

    This is saving me from getting fired

  • @alexanderpalm6407
    @alexanderpalm6407 4 роки тому +380

    Let's not only acknowledge the great tutorial, but also the satisfying sound effects when the rows are joined together! 🥰

  • @szabozsombor3785
    @szabozsombor3785 5 років тому +461

    Your style is simply hilarious. This is what great education should look like!

  • @CompSciCentral
    @CompSciCentral 3 роки тому +430

    This is one of the most creative tutorials I've ever seen. Absolutely brilliant.
    Thanks for making learning fun!

  • @mahmoudalsafty5202
    @mahmoudalsafty5202 5 років тому +498

    I can't express how much i love this series

  • @josephjames2767
    @josephjames2767 3 роки тому +142

    Ok 2 minutes into this explanation I'm like "This how i want to learn everything else for the rest of my life"

  • @wogawooga
    @wogawooga 4 роки тому +148

    never seen such a well-produced SQL video

  • @edammen
    @edammen 3 роки тому +133

    I really deeply appreciate that you explained this with a theme, because I know how much time and effort editing this kind of videos take. You could just simply explain joins in a whiteboard or a regular presentation but you went beyond that and that alone deserves recognition 👏👏👏

  • @thegamerator10
    @thegamerator10 4 роки тому +29

    Gotta say, this is one of the most creative ways to teach SQL and databases I've ever seen.

  • @bensmith6987
    @bensmith6987 3 роки тому +55

    Your explanations are simply clear, straight to the point and easy to understand - better quality than majority of university professors or boot camp trainers. Thank you

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

      After just coming from a pretty good Udemy boot camp trainer, I 100% agree!

  • @ivanpuzankov
    @ivanpuzankov Рік тому +13

    Acting, jokes, delivery of information, everything here is magnificent

  • @inbalelmalech3902
    @inbalelmalech3902 3 роки тому +13

    Watched an hour ago, still laughing.
    You managed to make SQL funny while explaining it better than anything else I've found so far, and that's gotta be a superpower of some kind.. You guys are awesome!

  • @Jt-xe3xi
    @Jt-xe3xi 2 роки тому +17

    This is absolutely a masterpiece. I usually don't comment on videos but THIS VIDEO??? I cannot pass through without how amazing and well done this video was made. I was completely lost when I was reading about the Join process, and most videos usually don't help as much. This video was not only informational but also very fun to watch. It was kind of like watching a movie. Once again, thank you to everyone who contributed in this. Subscribed.

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

    Take a bow, the creative team behind this tutorial. You people deserve an Oscar for the R. E. Joinder thingy!

    • @jasonwang-wg8wu
      @jasonwang-wg8wu 9 місяців тому

      agreed, that was high-level comedy right thurr. I chuckled.

  • @filizcamuz8119
    @filizcamuz8119 5 років тому +58

    Amazing! You just saved me 2 hours of reading, thank you.

  • @tekapowai4734
    @tekapowai4734 4 роки тому +158

    I can't express the amount of inner join I got from this

    • @e.zarate
      @e.zarate 3 роки тому +7

      MORE LIKE INNER JOY RIGHT?

  • @TheSoulCrisis
    @TheSoulCrisis 3 роки тому +4

    OMG........this lady is amazing! The production values, comedic values, learning values, and creativity of the video are just killer. I never had so much fun watching a SQL video before and that does put a smile on my face.........

  • @JoshuaWilsonNZ
    @JoshuaWilsonNZ 3 роки тому +5

    By far you've explained joins as best I've seen on YT. Using inner join as the standard and left, right, and full as different tools it helps add context for why you would utilize the joins. So many times people try to explain this stuff completely theoretically, and does my head in. I enjoy the quirkiness too

  • @IslamAudioStation
    @IslamAudioStation 3 роки тому +15

    This is probably the weirdest tutorial i have ever watched, but it is absoloutely amazing and well explained.Thanks!

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

    I haven't written an sql query in like 5 years so just wanted to refresh my knowledge. This is so good. I wish content like this existed when I was learning how to code.

  • @CyrixLord
    @CyrixLord 5 років тому +89

    The Venn diagram example nailed it into my head wonderfully. Thank you. Now I cannot unsee the types of joins.

  • @StevenIvoire
    @StevenIvoire 7 місяців тому +1

    This is by far the BEST EXPLAINATION of Join in SQL. Thank you so much!

  • @Antnierv
    @Antnierv 4 роки тому +11

    wow....never thought I would find SQL remotely interesting.... Thank you for making this so much less painful!

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

    Yo... just me or is this the most creative way to learn this stuff? They killed this!

  • @GhostedJackal
    @GhostedJackal 5 років тому +600

    In the future, everyone uses SQL still? Oh, god, this truly is the worst timeline.

    • @DrShpilev
      @DrShpilev 5 років тому +6

      Don't worry. The SQL will also be encapsulated by a layer or AI. I mean... sure... the AI will probably also plot to vacate all of Earths atmosphere or something, but at least you wouldn't actually have to write the SQL yourself anymore.

    • @gaberondon8757
      @gaberondon8757 4 роки тому +2

      Or job security haha

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

      @@rafatashrafjoy2936 no worriers. It's impossible to work with large database using NoSql.

    • @hacerclic1020
      @hacerclic1020 4 роки тому +4

      And they will still be writing articles about how AI will soon make computer programmers unnecessary.

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

      It's the future. Everyone is using NoSQL now but SQL is still around :)

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

    This style of teaching makes the pieces of information much less painful to learn. I love it! Thank you so much for this content!

  • @adriancelis9691
    @adriancelis9691 5 років тому +28

    Dang so far the best video explaination for beginners ive seen on youtube. Thanks.

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

    I’ve been a few years in the Tech industry now but I haven’t worked with SQL in the past 5 years. This video is just amazing. Great resource for learning SQL joins.

  • @globaltrident5341
    @globaltrident5341 5 років тому +186

    It should have been a Dear Join Letter.

    • @Socratica
      @Socratica  5 років тому +75

      Opportunity wasted.

    • @HS-hr5wp
      @HS-hr5wp 4 роки тому +2

      Yes!!

    • @Jewelsonn
      @Jewelsonn 4 роки тому +5

      No No it should have been a Dear Join Later.

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

    I have tried to get clear information on JOINS from a few certs, and this is 1000X more clear than any of them, and quicker. I am SO thankful for this

  • @kevalmehta1058
    @kevalmehta1058 5 років тому +49

    I usually don't login to the youtube. But, after hearing that "join" joke I had to subscribe and give you a like.

  • @Andy_a7
    @Andy_a7 4 роки тому +1

    finally SQL tutorial that visually demonstrates and explains how rows from different tables are joined.

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

    This is unironically the *best* explanation of joins in SQL that I have come across. Thank you so much for making this video!

  • @DARKCOP2011
    @DARKCOP2011 5 років тому +6

    Ulka you are one of the greatest teachers i ever saw in my life! no joke

  • @karimkohel3240
    @karimkohel3240 10 місяців тому

    I am 5 years deep into my career in computer science and I still come back for your fun yet very informative videos. Thank you for everything

  • @sql_mike8268
    @sql_mike8268 5 років тому +18

    A SQL query goes to a bar, walks up to two tables and says, "May I join you?" Great videos Socratica!

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

    Been a dev since 2006 and this is THE best explanation/tutorial/video I've seen on the subject. Thank you!

  • @83jdizzle83
    @83jdizzle83 4 роки тому +5

    You just saved my brain... Thank you for breaking this down the way you did. I could not figure out the Join was actually doing but your formatting and starting with the * for all columns then narrowing it down made it all click for me. Thank you so much!!

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

    Thank you, I had questions about SQL during my engineering test and learning from your videos helped me pass it

  • @actrox1
    @actrox1 Рік тому +3

    I can't tell how these animations took my concentration, everything went easier than I thought, Thank you Socratica for your clear explanations and time, I can't wait to be where others are🥰.

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

      We're so inspired by you! Thank you for sharing your motivation and excitement about learning. 💜🦉

  • @hellohell-eo7fe
    @hellohell-eo7fe 2 роки тому

    extremely helpful, finished my assignment and didn't cry once because of this. 10/10 gives you maidens.

  • @raminmdn
    @raminmdn 5 років тому +5

    Maybe your next series can be about teaching some "words" in English language, which can help us express how much we love this series !

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

    THIS IS EXACTLY WHAT I WAS LOOKING FOR, the tables so nicely presented instead of starting at sql server no clue what to type omg

  • @vick7848
    @vick7848 2 роки тому +5

    7:53 love it 🤗
    This was extremely clear. Much love to the editing too

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

    My prof spent an hour, and he succeeded in confusing 80+ students in the lecture. You spent 10 min, and it makes so much sense!

  • @websterwing8225
    @websterwing8225 5 років тому +8

    It's good to know that I live in a world where glados 2.0 will patiently explain sql to me.

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

    FINALLY!!! Someone who has explained joined in a way I can understand. Thank you 👏🏾👏🏾

  • @emmanuelevuazeze4729
    @emmanuelevuazeze4729 4 роки тому +3

    Those animations are just superb. I have been looking for something like this that will give a clear visual explanation of joins but they are very rare to find or not good enough. Thank you Socratica

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

    Started weird (but in a good way) and ended up being maybe the best programming tutorial I've seen.

  • @hoapham7389
    @hoapham7389 5 років тому +4

    I'll be watching these more in detail at the next semester

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

    I've been a data analyst for a whole year and was missing this basic visual explaination of how JOINs work. You helped me figure some duplication stuff out I was really struggling with. Thank you!!

  • @SteinGauslaaStrindhaug
    @SteinGauslaaStrindhaug 5 років тому +9

    Good to hear that the crazy NoSQL fad has ended and we're sensibly using SQL in the future. ;)

  • @poojamurthy2079
    @poojamurthy2079 4 роки тому

    I have tried watching many videos but have never understood joins as clear as possible from this one! Wonderful thank you very much!

  • @smoothbeak
    @smoothbeak 3 роки тому +5

    This is a really great video (and I assume course though I've not seen the other videos yet).
    Super clear explanation, and I love that I can use my imagination to help to solidify the concepts better, great job!

  • @imrana.8370
    @imrana.8370 9 місяців тому

    I didn't there was any way in the entire multiverse to make SQL entertaining but you did it! Now I'm starting to understand JOINs!

  • @lalligood
    @lalligood 5 років тому +4

    It's worth noting that PostgreSQL also has a USING clause for joins, which can be used in place of the ON clause when--and only when--the column(s) being joined on in both tables have the same name. So using the example in the video, "ON b.base_id = m.base_id" could be replaced with "USING (base_id)". And yes, that syntax would work for all 4 types of joins.

    • @jvsnyc
      @jvsnyc 5 років тому

      Yup. Unfortunately, there are a lot of DBMS's that do not USE USING, so it wouldn't work in code trying to be portable across DBMS choices.

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

    Whimsy, quality content, brevity, this playlist is the complete package. Absolutely love the effort!

  • @yawningpheonix
    @yawningpheonix 4 роки тому +3

    Writing this down in my notebook: Okay, yeah this makes perfect sense. Everything is logical and clear.
    Testing myself with creating a customized sandwich database: What is what again?

  • @mitchellcampbell2775
    @mitchellcampbell2775 2 роки тому +2

    As I am typing this, this might just be the best video on the internet!
    These videos are well-explained, well-presented, and the humour deserves a gold medal 😀
    Sincerely, thank you Socratica for putting these videos together!

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

      Thank you so much for your kind words! We're so glad you're enjoying our videos-we've had so much fun making them. 💜🦉

  • @Hyp3rX360
    @Hyp3rX360 5 років тому +8

    Just found this channel, it's really good, although sometimes the face expressions are kind of creepy, maybe that's why I like it hehe

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

    The background noise giving that outer-space vibe is such a nice touch. I thoroughly enjoyed this video.

  • @ginflorita2148
    @ginflorita2148 4 роки тому +4

    I wanna go back to college again and make perfect my exams.

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

    literally the most relateable video ive seen on joins. ive been doing databases for about 10 years never had to use joins until recently, i could just write code and extract with seperate queries. or use aliases and take values and insert a function. sometimes you need to extract one value from one sql without furthersteps. thank you so much im not even finished the video and feel like i can go back and conquer the world lol

  • @BritishMoralHQ
    @BritishMoralHQ 5 років тому +75

    im doing intention yoga so i can marry this woman this life or next or the one after...

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

    This is an ACTUAL LIFE SAVER. Thank you for making a fun, silly example, and ACTUALLY VISUALLY MOVING THE ROWS and COLUMNS physically in the space to join them. I NEEEEEDED to SEEEE this. Not to HEAR it explained in fancy tech terms. You are AMAZING.

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

      This is great to hear, thanks for telling us. That's the thing we're aiming for in these videos-what can you do with a video that you can't do as well with just written tutorials.

  • @SomeGuyInSandy
    @SomeGuyInSandy 5 років тому +4

    I bought a bunch of books and none of them use Venn diagrams like you did here.
    I could have saved a lot of scratch. : /

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

    I just want to let you know that you've spoiled me. I'll never watch another unenthusiastic programming tutorial without wishing you were teaching it. Thank you for actually having fun while teaching!

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

    The visual clarity of this tutorial is amazing! I've struggled with joins for weeks, this was just what I needed. Mil gracias!!
    Sad for pour homeless John Carter though...

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

    This is the best channel...ever...I love how she is like a character from a TV series...It helps people like me who has a short attention span focus

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

    I already understood this topic in the first few minutes but I couldn't stop myself from watching till the end.
    I never knew I could actually enjoy a tutorial.
    I'm checking out the rest of your videos

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

    Just had 4 hours of class about joins, didn't understand a thing, this only 10 minutes and all the dots connected...Thank you!!!

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

    This free superbly helpful video not only shows how bighearted you are but also how much you love what you’re doing.. Thanks a lot. God bless you.

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

    Not gonna lie I had my doubts in the beginning, but the space-themed examples were great and this helped me understand joins better than any of the other videos that I watched thank you so much!

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

    Never thought I'd be smiling through a programming tutorial... just brilliant stuff

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

    And those light hearted wits are spot on. A tech savvy person like me is enjoying this thoroughly.
    I cracked at "maybe the other databases will..... JOIN us..".

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

    this was amazing!!
    I have test 8am tomorrow morning on this and i had choises to go trough 25 pages of pdf or search for educational video,
    i made a right choise.. THANK YOU

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

    By far the most clear and concise explanation of JOINS I have seen! Thanks so much!

  • @ИринаТроицкая-е2ы

    I never imagined that learning SQL could be so much fun! The creators of this channel are genius. Thank you so much!

  • @bonganisingo1717
    @bonganisingo1717 6 місяців тому

    This is one of the best explanations I've ever seen! Tears of join running down my face right now.

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

    Just the right amount of interesting, visual, and quirky/goofy. 12/10 would recommend.

  • @itsme-oc4vl
    @itsme-oc4vl 2 роки тому

    This might be the most creative and fast forward tutorial I've ever watched !!

  • @srijanchakraborty203
    @srijanchakraborty203 4 місяці тому

    I was scared at first, thinking that this video was going to be a very playful thing, but this was surprisingly informative. Saved me.

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

    This is so wholesome, smiling and learning the whole time

  • @kadiogluorkun
    @kadiogluorkun 4 роки тому +1

    whaaaat! to be frankly honest... this is the clearest SQL-joins video I have ever seen. a job well done! and thanks a lot, obviously :)

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

    I didn't understand SQL join until I watched this video. Thank you so much. Amazing socratica

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

    Praise the sun!!!
    Im doing Google Cyber cert right now learning joins in SQL. The google instructer sounded lime she was from another planet. But this right here with the visual aides made it much easier to understand.

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

    This was honestly hands down the best video I have seen. I have struggled with Joins before, but after watching this, I can explain joins to even a baby. Keep up the amazing work.

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

    This was such an outstanding way to describe JOIN in SQL. So much better than my textbook thank you for this.

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

    Not only was this a GREAT REFRESHER video with a lot of fun and jokes, it clarified and taught me all 4 of the JOINS at once. I used to frequently forget if I should use Left or Right join... but I won't anymore!

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

    This is the best video on JOINS in SQL ever.

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

    This is by far the clearest explanation of joins that I have seen. Thank you and we'll done. It motivated me to *JOIN*

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

    THIS IS ONE OF THE BEST VIDEOS TO LEARN SQL. FULL MARKS FOR CREATIVITY.

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

    Never knew sql tutorials can be that Perfect.

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

    Im in a level 2 class for SQL(Transferred). I no experience in this what so ever. You cleared up so much for me thank you so much!

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

    Finally someone could explain me how to use different JOINs!!! Oh THANK YOU for that!!!