SQL Joins Tutorial for Beginners - Inner Join, Left Join, Right Join, Full Outer Join

Поделиться
HTML-код
  • Опубликовано: 6 авг 2024
  • Learn how to create SQL Joins. The first 10 minutes teach you the basics. Inner Join, Left Outer Join, Right Outer Join, and Full Outer Join. The second 10 minutes show you are few techniques that will help you as you start building joins.
    TABLE OF CONTENTS
    00:00 - Intro
    01:10 - INNER JOIN
    04:20 - LEFT JOIN
    07:03 - RIGHT JOIN
    08:35 - FULL OUTER JOIN
    09:36 - Optional OUTER Clause
    10:38 - Alias the Join Tables
    11:22 - Format SQL Join
    11:55 - Filtering SQL Join in WHERE Clause
    12:20 - Filter SQL OUTER Join in ON Clause
    14:40 - Filter SQL INNER Join in ON Clause
    15:30 - RIGHT JOIN can be changed to LEFT JOIN
    READ THE ORIGINAL ARTICLE WITH THE TABLE SCRIPS
    www.sqltrainingonline.com/sql-...
    RUclips NEWS UPDATES
    / sqltrainingonline
    VISIT SQLTRAININGONLINE.COM FOR TONS MORE VIDEO NEWS & TIPS
    www.sqltrainingonline.com
    SUBSCRIBE FOR OTHER SQL TIPS AND NEWS!
    ruclips.net/user/subscription_c...
    SUBSCRIBE TO OUR EMAIL LIST!
    www.sqltrainingonline.com
    LET'S CONNECT!
    Facebook: / sqltrainingonline
    Twitter: / sql_by_joey
    Linkedin: / joeyblue
    SQLTrainingOnline: www.sqltrainingonline.com
  • НаукаНаука

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

  • @joeyblue1
    @joeyblue1  3 года назад +28

    TABLE OF CONTENTS
    00:00​ - Intro
    01:10​ - INNER JOIN
    04:20​ - LEFT JOIN
    07:03​ - RIGHT JOIN
    08:35​ - FULL OUTER JOIN
    09:36​ - Optional OUTER Clause
    10:38​ - Alias the Join Tables
    11:22​ - Format SQL Join
    11:55​ - Filtering SQL Join in WHERE Clause
    12:20​ - Filter SQL OUTER Join in ON Clause
    14:40​ - Filter SQL INNER Join in ON Clause
    15:30​ - RIGHT JOIN can be changed to LEFT JOIN

    • @bridgerenzo6857
      @bridgerenzo6857 3 года назад

      i dont mean to be offtopic but does any of you know a method to log back into an Instagram account..?
      I was dumb forgot my login password. I would appreciate any assistance you can offer me.

    • @lukalarry7349
      @lukalarry7349 3 года назад

      @Bridger Enzo instablaster :)

    • @bridgerenzo6857
      @bridgerenzo6857 3 года назад +2

      @Luka Larry i really appreciate your reply. I found the site on google and im trying it out now.
      Takes a while so I will get back to you later with my results.

    • @bridgerenzo6857
      @bridgerenzo6857 3 года назад

      @Luka Larry it worked and I now got access to my account again. I am so happy:D
      Thank you so much you saved my account!

    • @lukalarry7349
      @lukalarry7349 3 года назад

      @Bridger Enzo happy to help :D

  • @momentshub3773
    @momentshub3773 6 лет назад +531

    Man, I watched like 6-7 video tutorials about Join in SQL. Your is the only one that I understood. Great explanation!

  • @diamondDog_629
    @diamondDog_629 6 лет назад +90

    And I thought Joins were advanced concepts in SQL that I'm not yet ready to understand. God bless you Mr. Blue

    • @airstriker4366
      @airstriker4366 4 года назад

      Create View Transactions AS
      Select tbl_customers.Customer_ID, FirstName, LastName, Address, OrderDate, tbl_payments.Quantity, tbl_product.UnitPrice From tbl_transactions
      INNER JOIN tbl_delivery ON tbl_delivery.Delivery_ID = tbl_transactions.Delivery_ID
      INNER JOIN tbl_customers ON tbl_customers.Customer_ID = tbl_delivery.customer_ID

    • @clhk12
      @clhk12 4 года назад +5

      @@airstriker4366 print("Weird Flex, but okay...")

  • @danieldouglas3340
    @danieldouglas3340 5 лет назад +14

    Great video! I got a much better grasp on SQL Joins in 18 minutes than I did in my instructor's 2.5 hour lecture. Thank you, sir!

  • @PatrickburkeTVComedy
    @PatrickburkeTVComedy 6 лет назад +86

    Great video. The graphic and audio quality made this very easy to learn.

  • @halildurmaz7827
    @halildurmaz7827 3 года назад +4

    Clear tutorial ! I cannot understand why the others make this topic hard to understand :) Especially the tiny tables you use, allows us to clearly observe what is happening

  • @user-bd4wc3oy8m
    @user-bd4wc3oy8m 6 лет назад +37

    I love your pacing. Not too fast or too slow. You're right in the goldilocks zone!

  • @isaacsmoli
    @isaacsmoli 5 лет назад +2

    Congrats, two years later and continuous amazing. I can understand everything with your videos.

  • @JerodimusPrime
    @JerodimusPrime 5 лет назад +3

    This is the best SQL join explanation I've found on RUclips. Thanks for your concise and understandable tutorial.

  • @AmitYadav-hn9rn
    @AmitYadav-hn9rn 4 года назад +1

    Goodness, he is the only man who makes sense when it comes to explaining confusing joins, really good. Thanks

  • @user-zz3qw9nr2p
    @user-zz3qw9nr2p Год назад +2

    This is by far the most helpful video I watched about Joins. So simple and straight to the point.

  • @vespa731
    @vespa731 6 лет назад +7

    Thank you so much for this video! I've watched so many PowerPoint presentations and lectures and your video was the only one that actually helped me understand joins! Thanks again

  • @SS-bo9re
    @SS-bo9re 3 года назад +1

    This was hands down the best SQL join tutorial I've ever seen in my life! Keep up the good work!

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

    I have been trying to understand JOINS for the past hour and these 18 minutes broke it down perfectly. Thanks for your clarity!

  • @benjaminswindle
    @benjaminswindle 5 лет назад +3

    I just started using SQL yesterday, and I already have a much higher level of understanding than a few of our developers, thanks Joey! Great series of videos!

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

    Hands down the BEST SQL tutorial on JOINs that I have seen! Makes clear sense!

  • @DallasOakCliff
    @DallasOakCliff 6 лет назад +90

    This dude is the Michael Jordan of SQL vids.

  • @ekaterinaslavova2320
    @ekaterinaslavova2320 4 года назад +5

    Finally a tutorial that made things simple and makes sense! Thank you!

  • @MrBauer73
    @MrBauer73 3 года назад +1

    Thank you Sir! You have made learning about Joins so simple. I spent hours reading through text books, trying to figure it out, and in less than 20 minutes you succeeded in making it clear to me.

  • @4realentropyst230
    @4realentropyst230 6 лет назад +2

    Spent an hour reading various tutorials and watching videos on this. Then you saved my nerves.
    This is by far the best and easiest explanation to SQL Joins I've ever seen, I can't thank you enough!

  • @igorsmet1123
    @igorsmet1123 4 года назад

    Literally the most straightforward video I could find, thank you so much. Now all those joins make perfect sense. 🙌

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

    One of the best examples of how 15' video beats hours of manuals, lengthy presentations or, God forbid, expensive classes. Much appreciated.

  • @mgismondo
    @mgismondo 6 лет назад

    I have to agree! After hours of what should be a simple straightforward just simple explanations I FINALLY hit your page! Well done sir!

  • @OffbeatOracle
    @OffbeatOracle 4 года назад +1

    Joey, all of you videos are super easy to understand. The visuals are great and you do great with the audio level. So many people upload videos where the audio is so low you can't hear it or it sounds like it's recorded in a box. Thanks for doing what you do.

  • @ahmedsehic9019
    @ahmedsehic9019 6 лет назад +2

    Many people post tutorials that are just confusing, yours is very clear Thanks Joey

  • @Vpzoe
    @Vpzoe 5 лет назад +6

    Read 1-2 paragraphs from 3 different books in 2 mo. on joins. Today I said I'm going to get it. I come home, 18 min later, I'm good. Locked in. THANK-YOU-MR.-BLUE!

  • @georgecristianiordan3712
    @georgecristianiordan3712 6 лет назад +2

    great man we owe you a lot, great explanations, great teacher!!!First I was learning without the app installed and I couldn't understand a thing, then I installed the Microsoft sql and I learned all your tutorials, I even created those tables that you show them in that video alone to understand better... Your are the best! thanks a lot.

  • @aaronmarks7912
    @aaronmarks7912 6 лет назад

    Just stopping by to tell you - this is a great resource for folks who are new to SQL OR for developers who are trying to level up on SQL skills. Thanks for taking the time to make this!

  • @hannav7125
    @hannav7125 3 года назад

    Thank you Joye your voice is so calm and relaxed to listen too. This is extremely helpful.

  • @ZnSstr
    @ZnSstr 4 года назад

    Finally a dude with a clean microphone, no stupid music and animations. I have been really rusted on sql, since I don't have that much experience either, this helped me a lot and I also learnt something new that you can filter ON clause and also you can use a where after the join.

  • @RandjithKumar
    @RandjithKumar 4 года назад

    After a long time came here to have a quick glance about joins. videos from other channels was confusing. But your was much clear. Thanks a lot Joe.

  • @joshuakoni5428
    @joshuakoni5428 4 года назад

    The Visual representation of the joins as Venn Daigrams helped a lot. Thank you!

  • @nw7us
    @nw7us 4 года назад

    As so many other people have written, your clear, paced explanation with demonstration really helped me solidify my handle on these basic concepts. I'm subscribing. Thank you for your efforts.

  • @thejancis38
    @thejancis38 4 года назад +1

    I always thought this is hard, and I've never tried to learn this. After watching this video and trying it out, it's actually pretty simple and very useful! Thank you!

  • @isaacvallejo6333
    @isaacvallejo6333 4 года назад

    This really helped. From reading to watching other tutorials. This one was broken down perfectly and easy to understand thanks!

  • @samsbuzz9272
    @samsbuzz9272 4 года назад +1

    Thanks Joey..Really a simple and the best way of explaining Joins..The best part was the picture where you have shown putting the real tables in it and explaining it which has made it much more easier.Have tried so many videos to learn the concept but hands down you are the best..

  • @searez7251
    @searez7251 3 года назад +2

    As someone has said in the comment section, I have watched several videos to get a good grasp (concept) of the SQL joins, in my opinion this tutorial is the best tutorial I found. Simple, clear and to the point. Many thanks & God bless you!

  • @arlenefvivaldi9677
    @arlenefvivaldi9677 5 лет назад +1

    Jesus, Thank You! I've used so many different sources and No one made it as straight forward as did you. Thank you :-)

  • @adivax3
    @adivax3 4 года назад

    You are the best teacher/instructor EVER!!! I dont know how you do it, but you make learning SQL so easy and enjoyable! Thank you!!!!

  • @alexandreabarbosa
    @alexandreabarbosa 5 лет назад +11

    Awesome! Straight to the point! Correct and excellent explanation!

  • @violetadyulgerova1446
    @violetadyulgerova1446 4 года назад +2

    Well after completing two courses on linked in learning and watching like 10 videos on RUclips, I finally understood how to formulate join query and why do we use that = sign.Thank you so much for the clear, simple explanation!

  • @GfastGao
    @GfastGao 4 года назад

    Exactlly the thing I need:
    1. No BS agenda
    2. no fancy context description
    3. just thing about the topic and pitfalls I may encounter.
    Congrat, another good vid tutorial found!

  • @rufinosalgado4126
    @rufinosalgado4126 5 лет назад +1

    The clearest description of joins I've ever seen.

  • @Yegorich
    @Yegorich 5 лет назад +2

    You are brilliant sir! I understood the concept of inner join as soon as your wrote your fist query. Thanks a lot !

  • @CoderSprint
    @CoderSprint 5 лет назад

    Special Salute. I went on with google for hours. In just 8 minutes you cleared all messed up things!!. Great Job. Thank you.

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

    The best explanation of SQL joins I have ever come across! God bless you.

  • @mattiekahn4616
    @mattiekahn4616 6 лет назад

    Thank you! This is very helpful in my work. I am truly appreciative to have your videos to go to over and over as I need them!

  • @mulugetakebede6651
    @mulugetakebede6651 4 года назад

    i have been watching so many videos to understand this concept, yours is the only one that makes it so simple to understandable. Thank you so much

  • @TheChodex
    @TheChodex 5 лет назад

    Thank you for this! Especially how you connected code with picture, made things really clear!

  • @jjones40
    @jjones40 5 лет назад +2

    Good job. Finally... a video that clearly explains this topic. Thanks.

  • @user-yz5gn9ko8g
    @user-yz5gn9ko8g 5 лет назад

    god. this helped me so much on my assignment. I was looking at numerous videos and i couldn't understand any of those until i see yours. I'm so glad that this video exists. thank you so much.

  • @dejasbeautyxoxo1361
    @dejasbeautyxoxo1361 2 года назад +1

    This was the best explanation of Joins. I appreciate you so much! other videos gave me an idea but this really helped me to comprehend and grasp the content. Thank you so much. You breaking this down step by step made a world of difference.

  • @KiranPatel-gg6wt
    @KiranPatel-gg6wt Год назад

    It only took me 12 years to understand joins. I was always afraid to touch this topic. Now I have some confidence. Thanks.

  • @myguitarquest
    @myguitarquest 5 лет назад

    Now those diagrams finally make sense. What an excellent way to teach us joins!

  • @THE_joshbeoulve
    @THE_joshbeoulve 3 года назад

    Thank you Mr. Blue. You succinctly explained in 8 minutes (didn't have to watch the whole vid) what my classroom teacher failed to teach in 45. More power to you, good sir.

  • @singhpad1
    @singhpad1 5 лет назад +2

    Thank you for your in-depth explanation for novices like me. Really appreciate it.

  • @ellyjessy5044
    @ellyjessy5044 5 лет назад

    I'm now more confident after watching your videos. Great teacher indeed.

  • @speakup2888
    @speakup2888 4 года назад

    I wish I had a teacher like you in my school. God Bless You!

  • @IamPali2024
    @IamPali2024 3 года назад

    Where has this dude been??!!! I have been developing for over 10 years, and I found this explanation to be coherent and clear as I was looking for a refresher on my SQL skills.
    thank man

  • @juliusguevarra3729
    @juliusguevarra3729 3 года назад

    Thanks for explaining it very clearly. Out of all the videos that I watched regarding this topic, only yours made it all sense to me!

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

    Thank you, this is so helpful. I couldn't understand my teacher, your video is 100% clear and on point. I literally have no questions. Really appreciate it. The quality is great too. I never thought that could be an issue in 2021, however, after viewing my teacher's recordings I realized that one must put an effort to make it this good.

  • @PlantBasedPietro
    @PlantBasedPietro 3 года назад

    I always had an idea of how the joins worked and usually experimented until I got the desired results. Now I fully understand the technique!!! Thank you Joey!!!!! :)

  • @Rogueimgs
    @Rogueimgs 4 года назад

    Good job JB! I've felt like an idiot watching and reading my teachers instructions on joins but after your video I feel like its clearer. Mostly because you explain while showing the queries.

  • @vedatduhadaglar960
    @vedatduhadaglar960 3 года назад

    The way he explains it is so clear. Really well done

  • @lorismiths6951
    @lorismiths6951 5 лет назад

    This was the first video I saw of Joey's SQL series, and I must say I'm hooked. I was going to watch the 1hr beginning video. But, I'm very glad I watched this one first. Extremely helpful and look forward to watching all the videos in the series. Just a tip for anyone who is new to T-SQL (Microsoft) or SQL in general. I would personally practice the JOINS he talks about. And even come back, and watch the video a couple times to really help it stick. Again amazing video thank you!

  • @bimsarademintha6845
    @bimsarademintha6845 4 года назад +2

    Dude tomorrow is my DBMS exam for my diploma and you've probably saved my life. Hats off mate.

  • @igordjurdjic7380
    @igordjurdjic7380 6 лет назад +2

    Thank you for your great explanation, only this video showed me what each Join do. Bless you

  • @alexpajp123
    @alexpajp123 6 лет назад +6

    Your explanations were very simple. Great video!

  • @ThunderblightGanon14
    @ThunderblightGanon14 4 года назад

    Hi Joey, this video clarified a lot of my confusion on how to do Joins. Thank you for your help!

  • @Monotoss
    @Monotoss 5 лет назад

    I can't agree more with a comment, "Your is the only one that I understood". Same here. Absolutely brilliant explanation. Thanks so much Joey for making this awesome vids. You are the hero in SQL.

  • @manilakid3
    @manilakid3 5 лет назад

    Best explanation about SQL joins on the Tube. The others try to over complicate things to make themselves sound scientific which defeats the purpose of a tutorial. Thanks Joey.

  • @KyleBrinkerhoff
    @KyleBrinkerhoff 5 лет назад

    good lord that is so much more simple than what WGU teaches in their SQL class. you just saved me from so much friggen confusion

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

    I like how simply you explained this. Was the exact video I was looking for. Thanks a bunch!

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

    Brilliant tutorial. You were right on the spot to explain about this topic. It was really easier to understand SQL joins thanks to you

  • @workfromhomedev
    @workfromhomedev 6 лет назад

    thanks for explaining. it is very clear and understandable than any other video i watched so far

  • @mariaelenarebolledo8696
    @mariaelenarebolledo8696 3 года назад

    Nice! Straight to the point on SQL JOINS and the explanation is very clear. Thank You!

  • @JohnSmith-hn6kv
    @JohnSmith-hn6kv 6 лет назад

    This is probably the best Join video I've watched. Caleb should watch your videos for production values inspiration!

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

    for real, this is the best tutorial on JOINS..Great explanation, thanks!

  • @SDemonZ
    @SDemonZ 5 лет назад

    Thanks a lot!
    This short video summarised hours of my database classes.
    Totally recommendable! :)

  • @bunnyhei
    @bunnyhei 4 года назад

    Thank you! I always find myself getting lost when people started talking about 'coding' or 'programming'.but your video is so well explained, and I understood what you have taught us. maybe i am not too dumb after all.

  • @davidr7111
    @davidr7111 5 лет назад

    really great, clear, and easy to understand explanation. The best I've seen. Thank you!

  • @RS250Squid
    @RS250Squid 5 лет назад

    My tutor took us through a one hour lecture on joins and a one hour classroom session and all that she did was confuse me hugely and make my head spin! You made this so simple and easy to understand. Thanks :-).

  • @mattmattelig
    @mattmattelig 4 года назад

    using the venn diagrams to explain the concept was genius. Thank you for your great tutorial. thumbs up

  • @alexedeigba
    @alexedeigba 6 лет назад +8

    Lovely video Joey. This was quite helpful

  • @okeuwechue9238
    @okeuwechue9238 5 лет назад

    Nicely done!. The Venn diagram explanation really helps to clarify the various Join meanings.

  • @VelezBiH
    @VelezBiH 3 года назад

    Thank you, this was very easy to fallow and easy to understand. Also the graphics really helped understand the lef, inner and right joins. Great job!

  • @pamtaylor9325
    @pamtaylor9325 5 лет назад

    Thanks Joey for this clear and concise tutorial. I learned basic concept of SQL

  • @MostafaMASLOUHI
    @MostafaMASLOUHI 4 года назад

    This is the first time I understand these stuffs. THANK YOU

  • @jordanmcquade230
    @jordanmcquade230 4 года назад

    Great video. Presented clearly and at a pace, I can understand first-time. Thanks.

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

    Dear God, I was looking for someone who explain me how to use joins, and finally You sir made it clear and simple. Thank you!

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

    After a long long time of procrastinating to understand the joins, finally, thanks a lot

  • @stianleinaas1638
    @stianleinaas1638 6 лет назад +9

    That was great explanation! Thanks a bunch, Joey! :)

  • @randomness3235
    @randomness3235 5 лет назад +3

    Finally, I get it! Thank you, so simple now.

  • @Osedread
    @Osedread 6 лет назад

    Really well explained, it definitely helped me understand the different types of JOINs. Thank you.

  • @randomguy-dd6mn
    @randomguy-dd6mn 2 года назад

    thank you so much for this, I don't think I would be able to the thing I wanted without this

  • @FinallHit
    @FinallHit 4 года назад

    I struggled alot with joins.. and now im like "thats it??"
    Great explantion!

  • @Shad0wB0X3r
    @Shad0wB0X3r 5 лет назад +1

    Your vid is amazing! I never understood joins Until ur vid taught me how to do so

  • @Mous132
    @Mous132 5 лет назад +3

    40 minutes before my exams, you saved me ! Thanks !

  • @ashwinjambhekar8063
    @ashwinjambhekar8063 4 года назад

    Perfect! The venn diagram makes it so much easier to understand.

  • @GabrielleBouchard
    @GabrielleBouchard 4 года назад

    thank you so much. Really appreciate the time you took to explain joins for us. I get it now