Inner Join, Left Join, Right Join and Full Outer Join in SQL Server | SQL Server Joins

  Рет қаралды 1,752,267

Questpond

Questpond

Күн бұрын

Пікірлер: 1 000
@questpondvideos
@questpondvideos 3 жыл бұрын
20+ SQL Server Interview Questions : kzbin.info/www/bejne/iXbHcnluorh-iZY SQL Server Joins : kzbin.info/www/bejne/gYXZint7o9mppJo SQL Step by Step - kzbin.info/www/bejne/q3jPl4NvpJyeo7s 20 MSBI Interview Questions : kzbin.info/www/bejne/hKjCpHt7gNOCi6c 10+ Power BI Interview Questions : kzbin.info/www/bejne/eaDdlGyNg6eFqpY Software Architecture Interview Questions : kzbin.info/www/bejne/d6W3mJaYgbSkg68 Angular Step by Step Tutorial for Beginners : kzbin.info/www/bejne/Y2q5lIptgqd3qZo 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 35 Important JavaScript Interview Questions : kzbin.info/www/bejne/kJOXlYOfbKh0hLc 30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 25+ OOPS Interview Questions : kzbin.info/www/bejne/q2qcqHSld893rLM 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 20 PHP Interview Questions : kzbin.info/www/bejne/Z5PTf4avo7qlopo 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M 20 MySQL Interview Questions : kzbin.info/www/bejne/b5nJm3Zjd9WMaJI
@jerkifer924
@jerkifer924 3 жыл бұрын
Just in case you missed it, the consensus is 'This is the most succinct and clear explanation of Joins.' Subscribed. You, Sir, are a legend. Thank you for your service.
@MartyMacFry
@MartyMacFry 7 жыл бұрын
You are the FIRST person I have ever seen to explain what "LEFT" actually means in context of the tables. Everyone else doesn't talk about what that means but you did. Thank you for that.
@santoshsahani6685
@santoshsahani6685 6 жыл бұрын
,
@hawnannahian9538
@hawnannahian9538 4 жыл бұрын
Agree with you
@jerkifer924
@jerkifer924 3 жыл бұрын
HELLO McFLY!!!
@MartyMacFry
@MartyMacFry 3 жыл бұрын
@@jerkifer924 this is heavy
@nelikhan3314
@nelikhan3314 3 жыл бұрын
But table ks py bnaya or kese sql mei le gy
@sophielourence
@sophielourence 3 жыл бұрын
all good. only the red circles are wrongly illustrating left and right join: the whole circle should be red, cause matching data is also included
@master_zenrade
@master_zenrade 3 жыл бұрын
Ahh yes. I also noticed that one.
@anantgoswami7161
@anantgoswami7161 2 жыл бұрын
Yaa. Exactly.
@ganeshtalluridsyg9649
@ganeshtalluridsyg9649 2 жыл бұрын
Yes mam, need to fill red colour matched records from left table and right table ....
@zeelthumar
@zeelthumar 2 жыл бұрын
True...totally agreed
@professorpoke
@professorpoke 2 жыл бұрын
The only reason I gave this video a dislike 👎
@angieserrao2270
@angieserrao2270 3 жыл бұрын
You, Sir - are a great teacher. I've been working with SQL for over 6 months - yet by watching this video I realised how little I actually understood about joins! Thank you - will now check out the rest of your content. Thanks
@tayyab2323
@tayyab2323 3 жыл бұрын
Thank you for explaining the concepts. I think there is a small mistake in the Venn diagrams of Left join and Right join. Since both joins include data from the Inner join as well, the overlap in the Venn diagram should also be highlighted red.
@EdwinVeenboer
@EdwinVeenboer 10 жыл бұрын
i thought this was hard to understand, but you sir, you made it all clear. thank you
@abdoaboganima
@abdoaboganima 2 жыл бұрын
In the venn diagrams, the intersection should also be included in the left and right joins.
@shikhar7385
@shikhar7385 9 жыл бұрын
Short & Precise Completely understood in 8 mins
@hienle-kc6qw
@hienle-kc6qw 3 жыл бұрын
we have this expert at work and he tried to train everybody on this subject for an hour but no one could understand! This video makes it seems like a walk in the park! :)
@cdmurphy1981
@cdmurphy1981 9 жыл бұрын
that was the best join tutorial I have found on KZbin. Really clear explanation!
@lebohangmotsepe6335
@lebohangmotsepe6335 6 жыл бұрын
I second that.
@spcexodus
@spcexodus 10 жыл бұрын
AWESOME explanation! Thank you so much for using simple explanations and making this a breeze to learn. I felt these were difficult and scary - now it's whatever - you've unraveled the mystery! Now to move on to more difficult joins :) Thanks again for helping me in progressing my launch of a new career! RECAP ON LESSON: INNER Join will display: ALL records that match between both tables. LEFT Join will display: ALL records from left table and MATCHING records from right table. RIGHT Join will display: ALL records from right table and MATCHING records from left table. FULL OUTER Join will display: ALL records from ALL tables.
@LightningShiva1
@LightningShiva1 2 жыл бұрын
Thanks man
@tharealminipunch
@tharealminipunch 5 жыл бұрын
Went through an entire course on databases at a well known university and learned more about joins from this video than the entire course, gotta love it
@camilasampson478
@camilasampson478 6 жыл бұрын
Did i just learn what my teachers were trying to teach me in 3 months in 8 minutes? wow...
@pyotrpig
@pyotrpig 3 жыл бұрын
it only seems so. if those 3 months of study were not there you wouldnt understand it now in 8 min
@mr.badanalogy9502
@mr.badanalogy9502 3 жыл бұрын
@@pyotrpig Nah fam just started learning MySQL yesterday. This is just a solid explanation with no fluff.
@Wisdom-eg1gp
@Wisdom-eg1gp 9 жыл бұрын
thank you man. Almost no one seems to explain the concept of LEFT, RIGHT but you . everybody uses left right, full, without explicitley expalining to the student how to determine which table is at the left or right. You explained very well
@carolinebraley6301
@carolinebraley6301 9 жыл бұрын
Fantastic summary of JOINs. I need a refresher and this was clear, concise and quick. The Venn diagrams helped a lot too. Thanks!
@randomness3235
@randomness3235 6 жыл бұрын
This video has cleared many hours of trying to understand these joins, and in only 8 minutes and 10 seconds or less. Now it all makes simple sense, lol. Thanks for posting this.
@ddx9197
@ddx9197 3 жыл бұрын
Your comments on those query types are correct, however your drawings with circles for left and right join are incorrect: (A) for left join, the entire left circle should be full of red color, including overlapped part; (B) for right join, the entire right circle should be full of red color, including overlapped area.
@RamyHaramy
@RamyHaramy 2 жыл бұрын
I watched so many videos on joins but was always somewhat confused, you just made me understand it perfectly. Thank you so much!
@FrantisekNovak55
@FrantisekNovak55 8 жыл бұрын
Left and Right join diagrams are wrong...
@yunuskasimk
@yunuskasimk 8 жыл бұрын
vlastos That's what i was thinking too
@jaemiah1515
@jaemiah1515 8 жыл бұрын
left and right are wrong!
@seanpolley8529
@seanpolley8529 7 жыл бұрын
The diagrams are showing the right excluding and left excluding while the video is talking about full right and full left.
@harvintoledo734
@harvintoledo734 6 жыл бұрын
With his explication it's enough. We don't need a correct Venn's diagram.
@sachinpatil9564
@sachinpatil9564 6 жыл бұрын
Yes. It should cover the common part as well.
@ja3sk3adik55
@ja3sk3adik55 5 жыл бұрын
This is THE BEST explanation I have found, I can't believe that I have just found this video 7 years since the initial upload. I wish I came across this video a long time ago. I want to thank you so, so, so very much for posting this. Most especially the left and right join explanation. It is the clearest explanation I have ever gotten. Thank you sir.
@JeanAlesiagain3
@JeanAlesiagain3 10 жыл бұрын
Excellent explanation! Your accent is easy to understand too. Thank you!
@Daoseth
@Daoseth 7 жыл бұрын
It has been a long time since I have used SQL and this got me back up to speed in minutes. THANK YOU FROM LOUISIANA!
@StevenBrener
@StevenBrener 9 жыл бұрын
Very clear concise comprehensible explanation. Thanks!
@aparnapandravada5073
@aparnapandravada5073 4 жыл бұрын
Superb! Saw somany tutorials of SQL joins, but none of them explained this much clear... it's crystal clear...👍
@vishnum9692
@vishnum9692 10 жыл бұрын
Good explanation .The diagrams are not proper i seems If the left join dispalays all data from left table and matching records from the right table , the red shade should fill the intersection of the 2 circles wiz 'Country' and 'State' Similarly for right join also.
@samantharutendodoba6302
@samantharutendodoba6302 3 жыл бұрын
i think so too
@shivamthesomeone3078
@shivamthesomeone3078 3 жыл бұрын
Ya I think it tooo...
@arnoldsujankatru9667
@arnoldsujankatru9667 2 жыл бұрын
UPloaded 10 years Ago still giving a clear explination Hats Off
@yotuber09
@yotuber09 9 жыл бұрын
Great work with explaining the basics but one mistake the diagrams are incorrect for the left join and right join, the red shade should fill the intersection of the 2 circles wiz 'Country' and 'State' for both the joins
@KentOJohnson
@KentOJohnson 11 жыл бұрын
Finally a quick, understandable explanation! It seems like people think with inner, right, and left joins frequently, they just don't know they are thinking like a DBA. Thank you!
@bharathkumar9971
@bharathkumar9971 8 жыл бұрын
Good explanation, But Please correct the Venn-Diagrams for Left and Right joins. so that the learners can not miss understand.
@ALLCPL
@ALLCPL 6 жыл бұрын
good job
@DineshKumar-lq2ck
@DineshKumar-lq2ck 2 жыл бұрын
After hunting whole day this video answers the question. I am short of words to express my gratitude. Also i take help of your C# tutorials. Thank you Sir.
@questpondvideos
@questpondvideos 6 жыл бұрын
👊👊👊👊👊👊Smash Subscribe button if you like it.👊👊👊👊👊👊
@smaklilu90
@smaklilu90 6 жыл бұрын
Venn diagram is wrong it should be like this ibb.co/f2gMb9
@ruinfirefly2088
@ruinfirefly2088 6 жыл бұрын
7 year old video still more informative than others
@SuperMega_E
@SuperMega_E 6 жыл бұрын
are Natural Join and Full Outer Join are same?
@nitishkumarpatel8490
@nitishkumarpatel8490 4 жыл бұрын
When i see the diagram of left and right join i literally confused its wrong matching record + left table all record should be displayed
@roydenpereira5726
@roydenpereira5726 3 жыл бұрын
Good explanation with example but the venn diagrams are incorrect. For left join if "all records from left table are returned" then shouldn't it cover the common/intersecting part in RED as well? Same for right join
@JohnWaclawski
@JohnWaclawski 5 жыл бұрын
I still struggle with JOINS but you made quite a bit of sense when you explained to put the tables side-by-side to differentiate between the LEFT and RIGHT table. It always confused me as to which one was the LEFT and which one was the RIGHT. Thank you!!!
@TheBongRapper
@TheBongRapper Жыл бұрын
It is easy here, but when we use multiple tables and joins , i still get confused which one to consider as the left join then 😐
@sameeranandtorvi
@sameeranandtorvi 9 жыл бұрын
Amazing explaination.. except the left and the right join intersection needed shading.. But still.. short and simple.. Thanks
@vinoderramsetty1093
@vinoderramsetty1093 2 жыл бұрын
Awesome in just 8mins. Thanks!!
@medobigposs
@medobigposs 5 жыл бұрын
Good job! However, the drawings for left and right joins are incorrect
@francis191
@francis191 3 жыл бұрын
This is one of the best explanations of inner joins, left joins and rights joins I have come across. Great session
@questpondvideos
@questpondvideos 12 жыл бұрын
yes you are right , our mistake ;-)
@intuitiveclass6401
@intuitiveclass6401 2 жыл бұрын
I went through an entire month misunderstanding the use of these JOINS, thank you for some goddamn clarification!!
@DanielAngali
@DanielAngali 8 жыл бұрын
Thanks for explanation.Please correct the venn diagrams.
@michaelsomers349
@michaelsomers349 8 жыл бұрын
Great execution, even a baby could understand that. Awesome
@I-believe-in-humanity
@I-believe-in-humanity 8 жыл бұрын
nice , but please correct Venn-Diagram
@sory6783
@sory6783 3 жыл бұрын
I opened up five other tabs. Your explanation was soo good I closed them cos you gave me what I needed.
@arunoday.r693
@arunoday.r693 9 жыл бұрын
Thank you so much...could understand easily
@kashifumer8755
@kashifumer8755 3 жыл бұрын
First person with the common sense to explain what the 'left' in left-join means! Thanks. Please start a course on Udemy so I can pay you for your sensibilities.
@raviprakash8092
@raviprakash8092 8 жыл бұрын
Venn-diagrams r wrong..when u say all the data from..left/right...tables..y the full circle were not highlighted ?...rest all good effort..!
@pedishettys
@pedishettys 7 жыл бұрын
It was the best join tutorial I have found on KZbin. Really clear explanation!
@SeanAxion12
@SeanAxion12 11 жыл бұрын
I've always created a blank table and then used 'for each row in table {' with my stipulation to populate the desired table. This is much more efficient though, I can see why my method will quickly become very slow. Thanks! (Learning as I go ha ha)
@Merajmohdkhan
@Merajmohdkhan 10 жыл бұрын
good explanation just need to do little conceptually correction in the diagram..but good work
@mmezzab
@mmezzab 9 жыл бұрын
+meraj khan yeah, the left and the right join just need to have the intersection painted red
@xarzu
@xarzu 9 жыл бұрын
+meraj khan I was thinking the same thing. Glad I was not the only person to recognize that with the left and right join.
@outrangers
@outrangers 12 жыл бұрын
Wow ! This is by far the best tutelage on Joins. I had been scouting for a while to find a naive stream to understand but this is too good. Great going!
@love2al
@love2al 10 жыл бұрын
Did anybody notice that vein diagrams for left and right Joins are wrong??
@prateekkish
@prateekkish 5 жыл бұрын
Yup. In case of right and left, the intersection part should have been colored as well.
@ragiththomas9510
@ragiththomas9510 9 жыл бұрын
I understood all the joins. It's very easy to understand, simple examples are very easy to understand. You rocking man. thanks a lot
@sahilsheikh610
@sahilsheikh610 8 жыл бұрын
Your venn diagram for left and right outer join is incorrect.
@aeliyazaheer6792
@aeliyazaheer6792 6 жыл бұрын
Excellent explanation.. Now my Concepts about joins are completely clear.. GOD Bless U.
@InternPalooza
@InternPalooza 10 жыл бұрын
Please remove the misleading diagrams... It confuses people ....
@amilawijesekara4990
@amilawijesekara4990 9 жыл бұрын
This is an excellent session. I had difficulties with joins and your explanation is crystal clear. Well done and thanks a lot.
@michor10
@michor10 10 жыл бұрын
Yes, your diagrams suck. Why would you want to confuse people? That's just mean, man.
@aparnam6247
@aparnam6247 5 жыл бұрын
First time i got so clear explanation. Thank you sir
@aurora5399
@aurora5399 5 жыл бұрын
Wow! Best video lecture on joins ( especially left and right joins)...
@ramyab6961
@ramyab6961 8 жыл бұрын
Everything is very clear in this video. Revised section is added advantage of this.
@hoplahey
@hoplahey 8 жыл бұрын
Thank you. I had this in school 20 years ago and did not understand since it was not well explained. This was incredebly simple.
@jaycornucopia
@jaycornucopia Жыл бұрын
Clearest explanation I have ever found! Thank you!
@miguelsousasoares
@miguelsousasoares 2 жыл бұрын
Brilliant explanation!!! Very clear. The best explanation about JOIN SQL function. Thank you
@SiriB-l4u
@SiriB-l4u 4 ай бұрын
1.7M views shows how simply, effectively, neatly u presented, thanks a lot sir🙏🙏🙏
@greatvedas
@greatvedas 8 жыл бұрын
As clear as water ! thats the best explanation I ever heard. Thanks for publishing this video.
@sn4yker
@sn4yker 8 жыл бұрын
Great demonstration, i was a little bit confused with the different types of joins, (even after watching different videos)... but now i understand, your video is simple and very intuitive. Of course, your english is better than other indian teachers. Thanks
@Philbrazil
@Philbrazil 3 жыл бұрын
yesssss I finally comprehend joins!!!! thank you so much!
@nikhildasari9702
@nikhildasari9702 7 жыл бұрын
After Watching This Video The Joins Concepts Are Very Very Clear......Good Work Sir jiiiii
@NitinKumar-ey3zx
@NitinKumar-ey3zx 4 жыл бұрын
Nice and crisp explanation. Less wastage of time. To the point!
@ravikumar-ep9je
@ravikumar-ep9je 9 жыл бұрын
first time I understood joins clearly.. superb.. thanks a lot..
@yogeshnaik936
@yogeshnaik936 7 жыл бұрын
best join tutorial ever found on KZbin.
@danielgitahi2847
@danielgitahi2847 4 жыл бұрын
Thanks for the wrong right and left diagrams. But your explanation was so clear that i completely understood the concept and corrected your diagrams. Good work bro!
@mohammadghufran3494
@mohammadghufran3494 8 ай бұрын
awesome sir, a lot of respect for you. after watching several videos, I found your video, which made to learn Joins queries, you explained in brilliant and made it easy for me to understand. Your video is most creative and easy to make out these joinders. Thank a ton. keep it up,
@informationandentertainmen536
@informationandentertainmen536 2 жыл бұрын
Thank you for making me understand. My coach didn’t explain it properly . You have explained it in such a simple language. Much appreciated
7 жыл бұрын
Very good explanaition. I understood much better the joins after watching this! Thanks a lot!
@Moank23
@Moank23 6 жыл бұрын
Thank you very much. This video finally cleared the SQL JOIN concept for me. Very simple explanation. God bless you!
@haciendadad
@haciendadad 4 жыл бұрын
Simple video but clearly explains these joins. Yes, the Venn diagram is not correct for the Left and Right Joins, the inner overlap should be colored, but other than that, it is a good easy explanation.
@matiuspakpahan7612
@matiuspakpahan7612 3 жыл бұрын
left table = from right countryy + joint on we say right and left is because, if they are written in single line the FROM will be located left of JOIN ON INNER JOIN = include all rows that has value/no null LEFT JOIN =include all row and row that has null value from **FROM table (LEFT TABLE)** RIGHT JOIN =include all row and row that has null value from **JOIN table (RIGHT TABLE)** FULL JOIN =include all row and row that has null value from **BOTH TABLE**
@rozansanjitha6287
@rozansanjitha6287 Жыл бұрын
Thanks a lotttt… it really helped me a lot. Now I’m crystal clear with joins in SQL.❤❤
@sabrinsabrin566
@sabrinsabrin566 8 жыл бұрын
Thanks for your Video posted ,it is so help full to understand joins .The way you explained it ,it make it so easy to understand than other tutorial .
@abhishekmukherjee2091
@abhishekmukherjee2091 6 жыл бұрын
Best explanation on joins i have seen so far.
@abdrk1
@abdrk1 3 жыл бұрын
Simple explanation, easy to understand. Thank you very much. But I believe there is some rectification needed in the diagram of left and right join
@maheshreddypesala266
@maheshreddypesala266 8 ай бұрын
Short and clear🔥✌️...
@HarishGGU
@HarishGGU 5 жыл бұрын
You are awesome teacher. your explanation your clean voice your presentation your example according problem solutions and topics your teaching step by step you take very less time and explain big things in very easily i am biggest fain of you.
@NaveenKumar-xs3no
@NaveenKumar-xs3no 5 жыл бұрын
Superb and clear explanation sir you posted a video on 2012 but iam watched in 2020 it is very helpfull for the join condition beginers..........
@matousoleksak8790
@matousoleksak8790 2 жыл бұрын
Simple explanation. Love from Czech Republic.
@shlomi441
@shlomi441 6 жыл бұрын
Great video, I also appreciate the fact that you (unlike many many others on YT) added subtitles
@SoftwareTestSolutions
@SoftwareTestSolutions 2 жыл бұрын
This is one of the best videos I have seen so far!
@sanwal1981
@sanwal1981 6 жыл бұрын
I really like the way in which joins are explained I understood very easily about it and will never forget thanks!!!
@mr.win_minigames3615
@mr.win_minigames3615 3 жыл бұрын
Thanks.... This will be helpful for interview part happening in next week....
@paulreuter3238
@paulreuter3238 11 ай бұрын
for right and left join in the red circle diagram I believe the overlapping part of the circles should be red as well, because not only all information from one table is displayed but also the matching from the other
@iahmedsh_
@iahmedsh_ 2 жыл бұрын
Very great effort sir thanks alot, circles of left and right joins are wrongly illustrated because the whole circle will be red because left table intersects right table and right table intersects left table.
@hawnannahian9538
@hawnannahian9538 4 жыл бұрын
Mannn! Awesome explanation. I found this explanation is the best explanation ever about joins.
@mr.badanalogy9502
@mr.badanalogy9502 3 жыл бұрын
An absolute straightforward explanation, solid job Mate.
@papusahoo
@papusahoo 12 жыл бұрын
I was earching a proper answer from a long time, this video made me clear by using venn diagram. Thanks a lot .... :-)
@MeuTube
@MeuTube 3 жыл бұрын
This man is the G.O.A.T. Much love and support
@liaGend
@liaGend 3 жыл бұрын
This was all that I was searching for. THANK YOU!
@manpatel4145
@manpatel4145 5 жыл бұрын
Thanks for good explanation 👍.
@k9870
@k9870 5 жыл бұрын
Fabulous concept ,learned joins in 8 minutes...👌👌👌only diagram is little incorrect..U deserve more viewers ND subscribers...
@AndreasvanHaren
@AndreasvanHaren 2 жыл бұрын
Very helpful, thanks! Now if I would like to see the joint information only, should I make a new table for this?
@zinemeki3017
@zinemeki3017 7 жыл бұрын
Eloquent and lucid explanation; Please change the left and right Venn-diagrams to illustrate the explanation. Additionally,on the left join table Srilanka has a countryId 3 not null. Otherwise
@ruchapupala8471
@ruchapupala8471 6 жыл бұрын
Most clear and precise , simple explanation 👍👍
SQL Joins: Difference Between Inner/Left/Right/Outer Joins
10:52
SQL Server interview question :- Explain RowNumber,Partition,Rank and DenseRank ?
10:50
.NET Interview Preparation videos
Рет қаралды 529 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 243 М.
Путин ответил на ультиматум Трампа
7:25
Diplomatrutube
Рет қаралды 2,4 МЛН
MySQL: JOINS are easy (INNER, LEFT, RIGHT)
5:04
Bro Code
Рет қаралды 525 М.