SQL JOINS Tutorial for beginners | Practice SQL Queries using JOINS - Part 2

Поделиться
HTML-код
  • Опубликовано: 25 июл 2024
  • This is the SQL JOINS Tutorial for complete beginners. This is the second part of the series. In this video we shall cover FULL OUTER Join, CROSS Join, NATURAL Join and SELF Join. In the first part of this video series, I had covered INNER Join, LEFT join and RIGHT Join.
    I start this video by discussing about FULL OUTER Join. But in order to understand FULL OUTER Join, we need to first look at the difference in output from INNER, LEFT and RIGHT JOIN. So we go through the difference in these 3 joins first and then I explain the concept of FULL OUTER Join.
    We then cover CROSS join and I explain a scenario where you may need to use CROSS join.
    We then talk about NATURAL join. I'll tell you the difference between NATURAL join and INNER join and also tell you why you should not be using NATURAL Join.
    Finally, we cover one of the most important JOINS in SQL which is the SELF JOIN. I explain SELF join by taking a real world example.
    Every concept is explained by writing SQL queries so hopefully this video along with the first part of this video, should help you to completely understand JOINS in SQL.
    Joins are the most fundamental concepts in SQL and having a clear understanding of Joins is very essential to write good SQL queries.
    Timeline:
    00:00 Intro
    00:54 FULL OUTER JOIN in SQL
    10:20 CROSS JOIN in SQL
    16:44 NATURAL JOIN in SQL
    21:51 SELF JOIN in SQL
    Watch the first part of this SQL JOINS Tutorial Series:
    • SQL JOINS Tutorial for...
    My recommended SQL Course: learnsql.com/?ref=thoufiqmoha...
    Join my Discord Server: / discord
    Join my FREE live SQL training session:
    Batch 1 - Started on 03-Jan-2022 (08:00 pm Malaysian Time / 05:30 pm Indian Time)
    Day: Monday, Tuesday, Thursday, Friday
    Registration Link: www.lighthall.co/class/305d73...
    Batch 2 - Starts on 17-Jan-2022 (09:30 pm Malaysian Time / 07:00 pm Indian Time)
    Day: Monday, Tuesday, Thursday, Friday
    Registration Link: www.lighthall.co/class/185a13...
    Note: Both batch 1 and batch 2 will cover the exact same topics. Just the date and time are different based on the convenience of everyone.
    How to Join the sessions:
    1) Go to www.lighthall.co/
    2) Click the subject "Data Science"
    3) Find my session and click on it. The sessions will automatically start 4 mins prior to the scheduled time.
    Please do subscribe and like this video if you found it useful.
    🔴 WATCH MORE VIDEOS HERE 👇
    ✅ SQL Tutorial - Basic concepts:
    • SQL Tutorial - Basic c...
    ✅ SQL Tutorial - Intermediate concepts:
    • SQL Tutorial - Interme...
    ✅ SQL Tutorial - Advance concepts:
    • SQL Tutorial - Advance...
    ✅ Practice Solving Basic SQL Queries:
    • Practice Solving BASIC...
    ✅ Practice Solving Intermediate SQL Queries:
    • Practice Solving INTER...
    ✅ Practice Solving Complex SQL Queries:
    • Practice Solving COMPL...
    ✅ Data Analytics Career guidance:
    • Data Analytics career ...
    ✅ SQL Course, SQL Training Platform Recommendations:
    • SQL Course / Training
    ✅ Python Tutorial:
    • Python Tutorial
    THANK YOU,
    Thoufiq

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

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

    After 5 centuries i finnaly understand what Cross Joins are. You deserve a Cookie!

    • @sithaphal
      @sithaphal 28 дней назад

      Then he need to subscribe to Mr.beast 😂

  • @venkatpullalarevu9998
    @venkatpullalarevu9998 Год назад +132

    Never understood SQL joins as much as I did with this video. Thoufiq, your teaching ability is beyond comparison. Great work.

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

      right ....super se uper💯❤💥💥💥💥

  • @crap45671
    @crap45671 2 года назад +35

    I can't believe I'm paying college fees with profs that can't even teach this well...

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

      😁 I am glad this video helped

  • @worldofnature8066
    @worldofnature8066 10 месяцев назад +6

    TOUFIK you did a fantastic job simplifying SQL joins! I used to find them confusing, but his explanations really made it clear. Great job and very understandable!

  • @faizanwar_
    @faizanwar_ Год назад +10

    How can you be so good at teaching? this is amazing...salute to people like you who provide such valuable contents for free

  • @monikadewani6181
    @monikadewani6181 Год назад +4

    I struggled with the self join especially when I had to write the condition. You made it crystal clear to me. Thank you so much

  • @sabyasachimukherjee4278
    @sabyasachimukherjee4278 2 года назад +5

    Best explanations of JOINS in RUclips. Hands down!

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

      Thank you bro 🙏🏼

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

    Excellent SQL Joins videos- Highly Recommended to watch it!

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

    I am really thankful to you for all the SQL related videos on your channel. Since the day I have been watching your videos, I can see lot of improvement in my learning.

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

    Once you start watching his videos. There's no going back seriously. This guy is the OG!

  • @vijayadivakar9887
    @vijayadivakar9887 2 года назад +25

    Great teaching thank you sir....I'm continuously fallowing your SQL videos..

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

      Your welcome 🙏🏼
      I am glad you have liked my contents

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

      I'm also

  • @officesuperhero9611
    @officesuperhero9611 2 года назад +6

    You are a really good teacher. It is clear you spent a lot of time planning, writing, and editing these videos. Thank you!!

  • @daminichatta290
    @daminichatta290 Год назад +32

    Your way of explaining the concepts is very clear and easily understandable. The other best thing is that you explain the use cases that other videos lack. Good work Thoufiq.

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

      Thank you so much Damini ☺️🙏🏼

  • @varshithreddy5104
    @varshithreddy5104 2 года назад +10

    Keep posting different difficult concepts in SQL.
    No need to think of joins again after watching ur videos

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

      Thank you Varshith .. glad you liked it

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

    The way you explain I will never confused between any join …. Perfect explanation I have never get from any tutorial.. simple explanation not confusion♥️ all the best 👏

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

    Thank you so much for this. I have been able to comprehend JOINS easily because of your well-explained videos.

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

    The best tutorial out of all the tutorials present there on RUclips.

  • @user-ug9kb1od8x
    @user-ug9kb1od8x Год назад +1

    The best lecture on sql joins i've got so far!!

  • @johnwayne6151
    @johnwayne6151 Год назад +8

    Mate, I've viewed multiple videos explaining self-joins and yours is the one that pieced it together for me. Kudos to you - keep up the amazing content!

  • @adeebazia3436
    @adeebazia3436 Год назад +8

    I've watched multiple videos on joins before, but this is the last video I'm watching as from today onwards all my concepts on joins will be crystal clear.
    Thankyou Thoufiq ♥️

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

      Super glad to know that Adeeba 🙏🏼☺️

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

    It's the first time I've ever understood sql joins so well, جزاك الله خيرًا, "بارك الله فيك thoufeek

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

    That's great explanation, I was always vague about joins until I watched this video. Thank you so much!

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

    The best explanation for SQL JOINS.

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

    Was doing a Udemy course, learned join section there but wasn't cleared of all doubts. After watching your videos, cleared of all. Thank you!!

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

    Great content, so clear and with great examples! Thank you very much!

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

    thank you so much sir! I was also thinking like cross join is a useless thing, but today i realised its importance

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

    "Clear and concise video tutorial - a perfect guide for mastering [SQL]. Highly recommended!" Thanks a lot Thaufiq🙏

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

    You truly are a brilliant teacher. Thank you.

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

    best video on joins tutorial...maza aagya sir ..pata hi ni chala kb video khatam ho gyi👌👌

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

    very good video to understand joins both parts 10 on 10 sir

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

    I have never understood self join. Thank you very much Sir for the simplified explanation.

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

    Mashallah perfect. These 2 videos are brilliant with excellent explanation

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

    Thank You Brother... First person who taught the joins so clearly.
    Thanks a lot

  • @SaiKiran-pu7ce
    @SaiKiran-pu7ce 4 месяца назад

    One of the best sql join video ever i watched 💥

  • @manavnarula6427
    @manavnarula6427 Год назад +26

    I've been training myself to get into a business analyst role and trust me without a doubt, your videos are just so relevant and important. Would love to connect over linkedin. Thanks!

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

      Thank you so much ☺️

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

      hey bro any update on your business analyst journey? i too am preparing for it!

  • @RK-wf7re
    @RK-wf7re 2 года назад

    Awesome presentation, among all the videos that I searched in entire RUclips this is the best video i found on joins. Anyways I decided to watch all your playlist to improve my database skills. Plz keep doing more videos dude.

  • @rajesh.singha
    @rajesh.singha 2 года назад

    Awesome tutorial on SQL joins. Thanks a lot sir.

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

    I understood the 1st part very well and now watching 2nd. Thank you very much for helping.

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

    bro you are really a magician ..like loved that video sm never understood like this before

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

    you made this so easy to understand! thank you once again!!

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

    I feel I am at the right place thoufiq , thanks for investing your valuable time for us

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

    Wow! mind-blowing explanation Taufiq. Self join demo is outstanding. You are genius man.....!

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

    I enjoyed the previous video and i'm now enjoying this one too.

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

    Explanation with same example in simple language. Very helpful for understanding basics on joins.
    Thank you 😊

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

    BEST SQL VIDEOS EVER!!!! TRUST ME GUYS, THESE VIDEOS ARE JUST SOMETHING WHICH FEELS ILLEGAL TO BE FREE!!!!! LOTS OF LOVE SIR.....THANK YOU SO MUCH.........#aspiringDataEngineer

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

    I never understood self join but from this video its cleared.Thanks

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

    very good explaination part ...thank you so much

  • @anchal_diary
    @anchal_diary 27 дней назад

    I rarely comment because I am so lazy but your teaching skills forced me to write something for you as an appreciation you are a great teacher . so simple and straight Thankyou so much. Preparing for Data Analyst Role wish me luck!!!

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

    Made the concept very clear. Loved the way you explain everything

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

    After watching a lot of videos on Joins, finally I have got a best, Simpler and outstanding one.. No doubt at all.. I am feeling very Happy today Alhamdulillah as I got the confidence on Joins concept. Thank You Thoufiq.. Jazakallahu khair.. !!!

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

    you are rocking by way of explaniation, Even i had a lot of stuck in understanding join before watch this one.Great job Mr.

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

    absolutely loved it !! thanks for sharing

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

    The tremendous job bro...the jet speed of understanding directly landing into our brains..tq so much

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

    Hi mate, thanks for the great video. Also to make sure, since both employee and manager table share two same columns(dept_id, manager_id), I would appreciate if you could show how it works on natural join if the query was to display employee names, and their managers.

  • @user-ey5ch8ww1x
    @user-ey5ch8ww1x 11 месяцев назад

    No one can explain in such way that sql concept thanks sir sharing with us valuable content 😊

  • @snehalgajbhiye1454
    @snehalgajbhiye1454 Месяц назад +1

    Thank you so much sir...its amazing to learn SQL from ur channel☺

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

    thank you brother! i love it the way your explaining

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

    Part 1 explanation was awesome.going for part two.❤️

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

    AWSOME VIDEO

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

    My goodness, this tutorial is priceless!

  • @vgaurav3011
    @vgaurav3011 2 года назад +2

    Thankyou for the efforts! Loved the Join Series surely sharing it on all my groups and communities, perfect for beginners and even people who want to revise!

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

      Thank you Vipul ..
      Glad you liked it and happy to know you would share it with others 🙏🏼☺️

  • @harkiratkaur3467
    @harkiratkaur3467 2 года назад +14

    Can't thank you enough! A great resource to learn, keep posting:)
    Can you also teach how NULLs are treated in joins?

    • @techTFQ
      @techTFQ  2 года назад +12

      Thank you :)
      as for NULLS in JOINS, will probably make another video about it since many have asked it

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

    one of the best explanation so far this guy deserves a bow❤❤ love from ireland

  • @soy_leche
    @soy_leche 2 года назад +7

    Thoufiq, I really appreciate your videos. The explanations are great.

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

      Thank you Ryan 🙏🏼

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

    Thank you very much sir !, your SQL content is amazing

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

    Thankkk u soo muchh . finally someone teaches it so perfectly

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

    This the best You Toube series to learn sql.. Thank You for the efforts..!!!

  • @neelmohankrishna8532
    @neelmohankrishna8532 2 года назад +6

    Thanks for bringing full clarity on joins with your amazing explanation. It would be great to have a lecture on Subqueries. Thank you.

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

      Thank you 🙏🏼 glad you liked it.
      Subqueries video is coming in about an hour..
      Just uploading it now ..
      I hope you like that one too

  • @qurdedu4032
    @qurdedu4032 2 года назад +2

    Tofig, you are rocking it bro! Deep and clear explanation.
    Thank you sir.

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

      Glad you liked it buddy 🙏🏼

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

    Wait is over.. first JOIN video was awesome 👌

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

      I hope you will like this one too ☺️

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

    What an explanation!! This helped me alot. Thankyou.

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

    this is great stuff my dude. thank you

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

    Thank You so much, very helpful , you know how to simplify things.

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

    Toufiq sir, your teaching is great thanks a lot...I cant stop myself from not hitting the like button after the video.

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

    Your trainings are awesome... Thanks lot... For the knowledge sharing...

  • @manojkumarrajaka5204
    @manojkumarrajaka5204 2 года назад +7

    Thanks for the second part Thoufiq. Its clear and i learned a lot from your online live sessions.Guys these are really helpfull for who are trying to learn SQL from scratch. I strongly recomended his second batch live sessions will start on 17th JAN 2020.Try to register before its free of cost.🥺👍🏻. THANK YOU.

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

      Your welcome Manoj ..
      I am glad you liked my live sessions too 🙏🏼🙏🏼

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

    I can't appreciate you enough for making your videos so easy to understand, thank you Thoufiq.

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

      Your welcome Bro
      Glad you like them

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

    Best Video Watched For SQL Joins 🤩🤩🤩

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

    Hi Thoufiq,
    Seriously You are the best , I completely understood the topic where did not get them from the college itself. Thank you so much.

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

    That was awsome, ...simple outstanding explanation brother...Thanks aton...respect from Blr...INDIA.

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

    You're an amazing teacher! I've taken courses on Coursera from big companies like IBM and Google, but your explanation of database joins is by far the best. The way you break down the different types of joins makes it so easy to understand. Thank you! Sending lots of love from Pakistan.

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

    Thank you So Much For Explaining Each & Every Topic Of Join In Deep ❤️

  • @shabbirahmed-hc7ek
    @shabbirahmed-hc7ek Год назад

    iam starting my career into data analyze your vidoes is really help lot

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

    Mind blowing bro the way you teach is awesome wish i could have find you sooner Thanku

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

    I am glad I found your video. I was struggling in joins so much- now feels like i am a pro

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

    Amazing Series!! Please keep continuing to post all the topics. Thank you Thoufiq!!

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

      Thank you Gautam, I will

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

    Thank you very much. Amazing explanation with examples. 😀👌

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

    I very rarely make comment's on any videos but today, I felt like if, I wouldn't like or subscribe to you that you be injustice to this wonderful and very simplified explanation.

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

      I truly appreciate it , glad to know you liked it

  • @AmitKumar-df2yl
    @AmitKumar-df2yl 2 года назад +2

    Thanks for making this kind of videos. You are just clearing all our doubts sir 🙏🏼🙏🏼

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

      Your welcome Amit

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

    Great to learn from u

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

    Thank you maaan! Help me a lot. Wth love from Azerbaijan

  • @user-cg6fu2gh9u
    @user-cg6fu2gh9u 11 месяцев назад

    value for time content... Amazing teaching skills.... Thank u so much sir.....

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

    Very lucid explanation. Thank you!

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

    The way you explained is excellent. Very much understandable you lecture

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

    Excellent ,outstanding :) keep up the good work sir

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

    perfect information delivery. Thank you very much

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

    Explained in very simple words, there is nothing that i didn't understand. Keep it up!!!

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

    Simple and straight forward

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

    Simply great

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

    thank you so much TFQ ji .excellent explanation