Most Asked SQL JOIN based Interview Question | # of Records after 4 types of JOINs

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • In this video we will discuss SQL Join based interview question where you need to tell no of records in output when you join 2 tables. This question is very important from interview point of view as well join understanding point of view. It is a must watch concept.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 526

  • @ankitbansal6
    @ankitbansal6  ปีที่แล้ว +17

    Master the art of SQL with my zero to hero SQL course. The course is focused on data analytics and covers all the advanced concepts starting from scratch.
    www.namastesql.com/course-detail/think-sql-go-from-zero-to-hero-english
    The course contains 2 portfolio projects and a bonus session on Tableau.
    50+ interview problems to crack any SQL INTERVIEW.

  • @Saumyagrow
    @Saumyagrow 10 หลายเดือนก่อน +23

    Before watching ur video I feel I know all in Joins but after seeing I m missing the gem thanks man for clearing topic

  • @sandeepreddy7687
    @sandeepreddy7687 ปีที่แล้ว +9

    I have lot of confusion to answer these kind of questions during interviews, but now I'm crystal clear with these kind of questions and can answer anything from Joins. Thanks sir!! Much appreciated for sharing your knowledge with us.

  • @PradyutJoshi
    @PradyutJoshi 2 ปีที่แล้ว +50

    No one would have explained this concept better. Please keep making more such videos 🙌

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +2

      Thank you for your kind words :)

  • @kishanraj4645
    @kishanraj4645 หลายเดือนก่อน +2

    I was asked this same question during my interview, and I was initially confused about it. This video clarified the concept perfectly for me!

  • @aakriti_100
    @aakriti_100 2 ปีที่แล้ว +9

    Sir, I surfed internet for these scenario based questions on joins for long & finally got your video. Can't thank you much! This really helped me :)

  • @asparshraj9016
    @asparshraj9016 หลายเดือนก่อน +3

    Same concept was asked in an interview, nailed it 🔥🔥

  • @ritikajaiswal3824
    @ritikajaiswal3824 2 ปีที่แล้ว +4

    I have watched multiple videos for this topic. I even clicked this video thinking what extra thing he can teach me. Now you blow my mind. Very well explained. Now I'm going to binge watch your videos

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +1

      Good to know that 😊

  • @shivanis6969
    @shivanis6969 2 ปีที่แล้ว +5

    Similar questions was asked to me in an interview.. even when I was aware about the concept of joins I wasn’t able to answer in a clarifying and convincing manner.. now I gained the confidence to approach the question… thanks for the video with awesome elaboration and explanation..

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      Excellent!

    • @saketsourav_hjp
      @saketsourav_hjp ปีที่แล้ว

      Exactly even I took this joins lightly but stucked on this in the interview

  • @luckyagrawal6029
    @luckyagrawal6029 2 ปีที่แล้ว +11

    I faced this question in EXL services interview round and couldn't answer it correctly. Thank you Ankit for the wonderful explanation

  • @suhassajjan4056
    @suhassajjan4056 2 ปีที่แล้ว +2

    omgaad,this type of questions have hit me hard many times in my interview,thanks for the explaination

  • @ramyasrielluri3243
    @ramyasrielluri3243 5 หลายเดือนก่อน +1

    Your explanation is very well very clear if any one ask me in sleep also i will tell
    .now it is very clear i have 2.5 years of experience but didnt get this much of clarity till now. .now its clear .thanks alot🎉

  • @apurvasrivastava6394
    @apurvasrivastava6394 4 หลายเดือนก่อน +1

    you made the topic crystal clear with these examples. keep coming up with more such videos.

  • @MamtaKumari-qu9jr
    @MamtaKumari-qu9jr 2 ปีที่แล้ว +2

    Has been searching for these kind of videos after so many rejection in interviews for the similar kind of scenarios, and finally a great stop here!!!! Thank you so much for the help😊

  • @uttamx2016
    @uttamx2016 ปีที่แล้ว

    good exercise to learn join output , which I used to confuse in past 9 years .Now I am confident .
    Thank you so much

  • @ArtsbyVaishh
    @ArtsbyVaishh 7 วันที่ผ่านมา

    Thank you for the very clear explanation.. Now I am confident that I won't make any mistake in these type of question.
    Keep creating such videos
    With simple and easy examples.
    It was easy to understand and very helpful 😊🙏

  • @koushikdey100
    @koushikdey100 2 ปีที่แล้ว

    This is awesome. Last Thursday I was asked this question by the interviewer from an renowned organization.

  • @thepositionalplay5307
    @thepositionalplay5307 2 ปีที่แล้ว +83

    You deserve a lot more recognition man. Keep going on, I'm sure you'll blow up one day. Awesome content btw

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +4

      Thank you so much 🙏

    • @anjalishar1829
      @anjalishar1829 2 ปีที่แล้ว

      True!

    • @NITIANShubham
      @NITIANShubham 2 ปีที่แล้ว

      Awesome bro

    • @jinkazama6156
      @jinkazama6156 2 ปีที่แล้ว

      Yaa even , i usually go for practicing SQL in geeksforgeeks but some of my frnds suggest me to this yt channel, this is how ur popularity increasing,
      And ofcourse I will also suggest others for this😌

    • @anushkagoyal1640
      @anushkagoyal1640 ปีที่แล้ว

      How are blank values handled in the case of different joins ?

  • @sandeepreddy7687
    @sandeepreddy7687 2 ปีที่แล้ว

    I faced this question in broadridge company interview yesterday unable to answer and now I can answer these type of question anytime. Thanks Ankit.

  • @sushmamc8904
    @sushmamc8904 2 ปีที่แล้ว +1

    Just now I got this question in my interview ... concepts got cleared.. thank you

  • @AlbouryNdiaye-ro8qz
    @AlbouryNdiaye-ro8qz ปีที่แล้ว

    This tutorial is an excellent resource among the many explanations (videos, books, articles) I have seen on this topic. It is the most helpful. Thank you very much, Ankit

    • @ankitbansal6
      @ankitbansal6  ปีที่แล้ว

      Glad it was helpful! Keep watching 😊

  • @ankurranjan3218
    @ankurranjan3218 2 ปีที่แล้ว +4

    These are really most asked questions in any top product based company for Data Engineering role. Keep up the good work Ankit. I really appreciate your effort. Well explained too.

  • @MukarramJahmj
    @MukarramJahmj 2 ปีที่แล้ว +1

    Thank you so much man.! Have been struggling from months to understand this and you cleared it out in 14 mins. Thank you again.!

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +1

      Glad to know that 😊

  • @inderpanda1
    @inderpanda1 ปีที่แล้ว

    This is the best explanation video I have seen till now on JOINS 👍👍

  • @deepankan03
    @deepankan03 12 วันที่ผ่านมา

    Its very interesting and well explained. Thanks for helping us out.

  • @surajd2338
    @surajd2338 2 ปีที่แล้ว +4

    Post clearing interview, i got to see this question here. Anyways thanks for more clarity. I cleared this question with own logic and got it all clear for all joins. 😀

  • @prakharadgale6463
    @prakharadgale6463 3 หลายเดือนก่อน

    Everything regarding joins is cleared through this video. Thanks!

  • @mohanbabu3030
    @mohanbabu3030 ปีที่แล้ว

    One of the best video on joins i have seen till now, great explanation,👏

  • @shalinikumari-lq8zt
    @shalinikumari-lq8zt 2 หลายเดือนก่อน +1

    Thank you Ankit for this wonderful video.🎉

  • @akshaykodekal8483
    @akshaykodekal8483 4 หลายเดือนก่อน

    Very clearly explained all concepts about joins

  • @Slantz00
    @Slantz00 2 ปีที่แล้ว

    This is a great video that answered a question I was asked during an interview.
    I appreciate your sharing this video

  • @kavitapawar2524
    @kavitapawar2524 2 ปีที่แล้ว +1

    very helpful. I am for this video, thank you for sharing.

  • @mounikasai8960
    @mounikasai8960 20 วันที่ผ่านมา

    Crystal clear explanation..very much impressed.Thank you so much..,

  • @bandhammanikanta
    @bandhammanikanta 2 ปีที่แล้ว +1

    NULL != NULL. Thanks for sharing. The explanation was very good that I could consume all you explained.

  • @Manoharc-n9h
    @Manoharc-n9h 2 วันที่ผ่านมา

    Clear & best explanation.

  • @deepshikhamishra9216
    @deepshikhamishra9216 11 หลายเดือนก่อน

    Many times I got stuck with null values as I used to see these null in the output, Aaj jake clear hua hai ye, Thanks a ton 🙏

    • @abhinavtiwari4238
      @abhinavtiwari4238 26 วันที่ผ่านมา

      Simple thing to assume about null is not all nulls are same

  • @shubhamjaiswal3799
    @shubhamjaiswal3799 2 ปีที่แล้ว

    Really a very helpful video this was asked to me in Barclays interview.
    Thank you for posting this video.

  • @sahilkushwaha7490
    @sahilkushwaha7490 ปีที่แล้ว

    Encountered very similar questions in my interview. I cracked interview for Data analyst role in big firm, Thank you for explaining clearly. Kudos to you

  • @hallowedshubh5073
    @hallowedshubh5073 2 ปีที่แล้ว +2

    Wanting to switch my career and get into Data Engineering. Visited your channel from LinkedIn. This is top rated content from which I would love to gain knowledge. Thanks a lot

  • @spark9_
    @spark9_ ปีที่แล้ว +1

    Excellent explanation, and very relevant. Got a similar question (also included cross join) for a data engineer interview

  • @soniaas9864
    @soniaas9864 17 วันที่ผ่านมา

    Thank you for more usefull content.

  • @sonip472
    @sonip472 2 ปีที่แล้ว +1

    Omg, finally all my confusion around such questions has resolved, thanks a lot 👍 you are awesome 🙂

  • @MG-hc4rr
    @MG-hc4rr 2 ปีที่แล้ว +15

    Been there facing similar scenarios in interviews..Really an awesome video😍✨great learning for me..💪thanks for clearing these concepts so well 🙌 really helpful 🌟

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว +1

      This is great 🙏🙏

  • @Villagegirl_in_IT
    @Villagegirl_in_IT หลายเดือนก่อน +1

    Really helpful🙌

  • @vatsalasharma6131
    @vatsalasharma6131 หลายเดือนก่อน +1

    Very well explained.

  • @jyotianand5007
    @jyotianand5007 2 หลายเดือนก่อน +1

    Very well described and explained, thankyou

  • @pratiksingh9480
    @pratiksingh9480 2 ปีที่แล้ว

    This is really helpful to those going for SQL interviews.

  • @avi8016
    @avi8016 ปีที่แล้ว

    I was asked this question in interview yesterday, thanks to your video i was able to solve it.
    Thankyou 🙏

  • @vivekkumarsingh9009
    @vivekkumarsingh9009 2 ปีที่แล้ว

    I regret not coming across this video before. Great work. Thank you

    • @ankitbansal6
      @ankitbansal6  2 ปีที่แล้ว

      Better late than never 😊

  • @harish1838
    @harish1838 ปีที่แล้ว

    Came here after seeing your recent linkedin post completely enjoying it

  • @venkateshwaranp5130
    @venkateshwaranp5130 2 ปีที่แล้ว

    Thanks for clear and easy to understand the concepts of Joins Quickly

  • @bhupendrasharma386
    @bhupendrasharma386 2 ปีที่แล้ว

    Interview had asked this question from me, few hour ago for etl developer profile, thanks for explaining

  • @nandkishoresrivastava2074
    @nandkishoresrivastava2074 2 ปีที่แล้ว

    Thanks for sharing the informative video.

  • @shashankchandramouli34
    @shashankchandramouli34 ปีที่แล้ว

    Thanks a lot. The exact same questions were asked to me in an interview. Thanks to you I was able to answer this. Your explanation is so simple that even someone who does not know sql can understand . Please keep doing more videos like this .

  • @dollysingh9364
    @dollysingh9364 2 ปีที่แล้ว

    I was looking for this solution from so long . Finally I got the solution

  • @Kanchan-m5c
    @Kanchan-m5c ปีที่แล้ว

    Thank you so much for such a crystal clear explanation. Lost an opportunity because of this. Will prepare using your playlist and update once I land a job.🎉

  • @anshulgupta1611
    @anshulgupta1611 2 ปีที่แล้ว

    wow.. how you made this simple...thanks. even 10 year student can learn from this method now, simple and clear.

  • @sudan9393
    @sudan9393 7 หลายเดือนก่อน

    thanks for covering all possible cases, this was missing from other videos about this question. This was very useful!!

  • @darpexplained79
    @darpexplained79 2 ปีที่แล้ว

    Thank you so much sir for explaining this concept i failed an interview earlier due to this question but now I am aware of the correct methodology

  • @bhumikasoni361
    @bhumikasoni361 8 หลายเดือนก่อน

    Awesome video, It gives good clarity with easy explanation

  • @shivarajhj9484
    @shivarajhj9484 2 ปีที่แล้ว

    Good one, thanks for sharing this

  • @esr58
    @esr58 2 ปีที่แล้ว

    Very thankful🙏 sir.... Before this I counting one by one but now multiple of matching record is easy😎 thank you🙏

  • @divyasworld9862
    @divyasworld9862 2 ปีที่แล้ว +1

    first time i understood why full joins retiurns nulls...thanks Man :)

  • @Absvenkatm
    @Absvenkatm 2 ปีที่แล้ว

    Nice information and explanation

  • @mohammadmahaboobjani4280
    @mohammadmahaboobjani4280 ปีที่แล้ว

    Thank you for explaining joins in detail and simple manner for different scenarios. Its a great learning for me. really helpful.👍

  • @sunitasahu307
    @sunitasahu307 2 ปีที่แล้ว +1

    Great Explanation covering all scenarios, it's really helpful

  • @shubh0707
    @shubh0707 2 ปีที่แล้ว

    yesterday i was asked same question. i made few mistake .but now i feel well prepared ..thnks :)

  • @semikolon4229
    @semikolon4229 2 ปีที่แล้ว

    This video is pure GOLD.

  • @vrishabhbhonde6899
    @vrishabhbhonde6899 5 หลายเดือนก่อน

    Thanks for the video ❤❤. I have been asked this question in one of my interview and unfortunately I got bit confused as I was unaware of this video that time.

  • @abhishekagrawal5237
    @abhishekagrawal5237 2 ปีที่แล้ว +4

    Thank you for explaining in a such a simple manner. Big thanks and cheers Sir, going to binge watch the entire SQL series. :)

  • @vinayakacn401
    @vinayakacn401 6 หลายเดือนก่อน

    nice video, very informative and precise, thanks keep up the work

  • @deepthimurali962
    @deepthimurali962 2 ปีที่แล้ว +3

    Going through interviews currently and faced similar questions! Thank you ankit ✅

  • @pragatidutta9470
    @pragatidutta9470 2 ปีที่แล้ว

    Best video on joins👍🏽

  • @pranaykukadkar7092
    @pranaykukadkar7092 2 ปีที่แล้ว +1

    The real content of SQL

  • @RajChoudhary-jm9io
    @RajChoudhary-jm9io 2 ปีที่แล้ว

    Thanks Ankit, today this question was asked in my interview. Thank god I'm following your channel. More power to you!!

  • @siddhantgarg2051
    @siddhantgarg2051 2 ปีที่แล้ว

    Best video for the topic❤️

  • @vikramr9437
    @vikramr9437 2 ปีที่แล้ว

    Excellent video sir, I got same question in interview.

  • @shakthimaan007
    @shakthimaan007 6 หลายเดือนก่อน

    This is awesome

  • @NaveenKumar-cn2pc
    @NaveenKumar-cn2pc 2 ปีที่แล้ว

    Well explained thank you for this great video

  • @gunasekharp5027
    @gunasekharp5027 2 ปีที่แล้ว

    Really great video ....the best video i have seen so far

  • @devarajanmurugesan3142
    @devarajanmurugesan3142 2 ปีที่แล้ว

    Oh man. You are awesome. You have explained the joins with simple multiplication and addition concept. It gives good confidence to work with join. I can't forget this concept. Appreciate your work and time

  • @nikhilchoudhary7860
    @nikhilchoudhary7860 2 ปีที่แล้ว

    Finally this concept is clear because of you Brother🤗. Thank you Brother 🤝

  • @EMRANKhan-q8x
    @EMRANKhan-q8x 11 วันที่ผ่านมา

    Well Explained...

  • @madhumms
    @madhumms 2 ปีที่แล้ว

    Most helpful with these scenarios. Thanks a lot

  • @rahulpawar5945
    @rahulpawar5945 2 ปีที่แล้ว

    Awesome all doubts are clear..thanks

  • @gouravkumar9011
    @gouravkumar9011 3 หลายเดือนก่อน

    amazing explanation by Ankit paaji

  • @nishantverma2966
    @nishantverma2966 2 ปีที่แล้ว

    Thanks for this video I had some confusion in it and you have explained everything 🙏🙏

  • @cheequsharma7391
    @cheequsharma7391 ปีที่แล้ว

    Very good example and explanation. 👍

  • @ishanbhatnagar8290
    @ishanbhatnagar8290 2 ปีที่แล้ว

    Awesome video and explain it very well.thank you.

  • @abhi1994100
    @abhi1994100 2 ปีที่แล้ว

    great video, finally found a video on this question and concept

  • @aanavourjoy
    @aanavourjoy ปีที่แล้ว

    Really a great explanation of these questions.. hatss off brother.thanks..

  • @DeepshikhaMeena-g2i
    @DeepshikhaMeena-g2i 4 หลายเดือนก่อน

    Very well explained

  • @Telugufun427
    @Telugufun427 2 ปีที่แล้ว

    good explanation i understood my doubts now

  • @Urmilavijay20
    @Urmilavijay20 5 หลายเดือนก่อน

    This Question was asked in Lenskart Interview and I couldn't answer. Thanks for the inputs

  • @mohammeddanish8624
    @mohammeddanish8624 ปีที่แล้ว

    I found the way and the technique much effective as well as easier. Thanks a lot!

  • @sudhanshubhardwaj9325
    @sudhanshubhardwaj9325 10 หลายเดือนก่อน

    You’re are awesome at explaining complex concepts bhaiya❤
    Thanks a lot for sharing such sessions

  • @pratibhamishra869
    @pratibhamishra869 2 ปีที่แล้ว

    Absolutely perfect video on this topic.

  • @Ak12345-g
    @Ak12345-g ปีที่แล้ว

    I have fair understanding of joins by this ankit❤

  • @hijamgyaneswarsingh879
    @hijamgyaneswarsingh879 2 ปีที่แล้ว

    Thankful for this video to regain my concept much more clear. Please do upload much more videos.Your explaination is crystal clear...

  • @nagendras9696
    @nagendras9696 8 หลายเดือนก่อน

    Great explanation Sir 🥳🥳🥳