Тёмный

SQL Server Queries Part 6 - JOINS (Inner and Outer Joins) 

WiseOwlTutorials
Подписаться 209 тыс.
Просмотров 215 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 106   
@glenrietveld1743
@glenrietveld1743 Год назад
As always, nice and clear explanations with NO complicated queries for examples.
@WiseOwlTutorials
@WiseOwlTutorials Год назад
Thanks Glen!
@jeffreyjhouser
@jeffreyjhouser 11 лет назад
Another superb video and explanation of a somewhat complex part of SQL and queries. One of the best lessons I found when looking for this information, including a chapter in an expensive book I own about this subject!
@santanawales
@santanawales 10 лет назад
I must acknowledge that the best illustration of JOINS I have seen is this video. Venn diagrams were super useful. Now I know exactly what to expect when I use JOINS. Thank you WiseOwlTutorials for sharing these videos. Much appreciated.
@hunnydarling309
@hunnydarling309 2 года назад
The best RU-vid tutorial ,SQL,reporting services,very good
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Thanks so much!
@belegend
@belegend 10 лет назад
Brilliant, Brilliant, Brilliant stuff Andrew. All you folks watching should also understand that learning basic set theory will give you a MUCH deeper understand of the SQL language. Thank you Andrew!
@jaeken
@jaeken 6 лет назад
and by "basic set theory" you mean what?
@kwijaeboner
@kwijaeboner 11 лет назад
My database administration professor couldn't explain joins in a way that I understood, but you have helped me understand the concepts much firmer! Thank you so much! You have a great talent for teaching
@vec2735
@vec2735 10 лет назад
Seems that JOIN is a complicated concept but the visuals made it very simple. Thank you again
@youngcolt5305
@youngcolt5305 6 лет назад
The illustration of Left and Right Joins with Venn Diagrams.... awesome!
@a-iboom9108
@a-iboom9108 9 лет назад
to be honest i haven,t learned much in the whole semister that i learned through out your videos. thank you
@dantheboof3800
@dantheboof3800 9 лет назад
***** Hey Wise owl I cannot find in my Adventureworks 2014 where to find the same things to perform joins. You'd answered me a month or so back but I can't find your advice. I'm stuck at this part on where to actually get the same things in order to run a join. Thanks
@dantheboof3800
@dantheboof3800 9 лет назад
For some reason they cut off. I'll look again. I think it may be showing me the schema only as when I log in even though it shows adventureworks database it's for some reason it has me on the master. I think I resolved it by after logging in also doing USE adventureworks. So far so good. Might be a glitch.
@giselledarlene9467
@giselledarlene9467 8 лет назад
Thank you! Really enjoyed this video and it helped me understand joins better than other videos / articles I've previously read.
@SaqibNaveed
@SaqibNaveed 7 лет назад
For such a long time I coudn't understand joins... This single video made complete sense of Joins for me. Thank you :) your teaching method is awesome
@fissehaberhane7341
@fissehaberhane7341 9 лет назад
Your tutorials are much better than an edX course I am taking. You explain concepts very nicely. Great thanks!!
@FictionsAndIllusions
@FictionsAndIllusions 8 лет назад
I'm curious, which university are you taking the EDX course from? I took the intro to computer science course on EDX offered from Harvard and it was awesome. They've since added many other universities to the EDX platform and I don't think there's a specification that they have to adhere to.
@Goodborni
@Goodborni 9 лет назад
Hey there wiseowl, I see the positive relation you have with the people who watch your videos and how quickly you reply, it's really touching. I got an 2 part test about Databases in my college, I completed the first one, now I am preparing for the second part of it, which is about SQL only, and I had a hard time understanding all of the topics mentioned in your videos, thanks to your series though not only did I fully understand all of it, but I also really enjoyed learning all of it. I was thinking of saying thanks at the last of the SQL episode to so to say wrap it up, but I was scared I might forget. So I just did it here. Once again Thank You very much God Bless you and your family. Thanks for all your hard work, trust me it is appreciated a whole lot, as you probably have noticed by all the positive feedback you get. Peace
@ilegolord
@ilegolord 8 лет назад
Really easy to follow and very clear instructions, thank you so much for putting these tutorials for all types of audience. Great job and 'Thank you" again.
@Tmy8ster
@Tmy8ster 8 лет назад
God bless you! Very clear and concise. Really really appreciate your time putting all of these videos together!
@mweaton
@mweaton 10 лет назад
Fantastic set of tutotials! I have just landed a new job and was a bit unsure about my abilities but these tuts have put my mind at rest. Many thanks!
@MrNomads
@MrNomads 8 лет назад
Mr. Gould..........YOU ARE AWESOME!!!!!
@techconnectlearning
@techconnectlearning 3 года назад
You are awesome. One of the best youtuber and tutor. Your video always help to enhance my technical skills. Lots of love from India. God bless you always..
@Desp0
@Desp0 10 лет назад
U are indeed a wise owl! The venn diagrams greatly facilitated my learning, thank you!
@christopherpaine1858
@christopherpaine1858 10 лет назад
Many thanks. This has helped as a useful refresher just before a job interview.
@laxmisidhu4483
@laxmisidhu4483 9 лет назад
u r great Teacher
@laxmisidhu4483
@laxmisidhu4483 9 лет назад
Hi there , i m using ur tecniqs in my office to cope with SQL SERVER but u helped me a lot without ur videos its not possible. i need ur URGENT help , to convert ACCESS query in sql server query t sql , i tried but failed . Query IS: IIF(O.animalID IS NULL, IIF(K.animalID IS NULL, null, 'KILL') 'MOVE') as feedlotJoined pls convert this into sql by using CASE. Regards Sam
@272wolfey
@272wolfey 4 года назад
@@coolstone8617 because you dumb ass hell mate
@me3jab1
@me3jab1 4 года назад
probably I lost 2 years at university trying to understand this lesson , but here I am thank you
@atodaso378
@atodaso378 7 лет назад
Finally something in English!
@AlienBlade51
@AlienBlade51 10 лет назад
i have been watching your SQL vids and i think that they are ace mate!!!... very very very helpful!... thank you so much for uploading them!
@2112tux
@2112tux 9 лет назад
Nice Job. Thanks for the efforts. Keep em comming. Love to see more advance techniques / queries.
@farazp4294
@farazp4294 6 лет назад
AWESOME. YOU ARE A TALENTED TEACHER WISEOWL. REALLY BEING HELPFUL FOR MY NEW JOB. YOUR TUTORIALS ARE CRISP AND ON TARGET. SUBSCRIBED TO YOUR CHANNEL. IF CAN PLEASE PROVIDE TUTORIAL ON R AND PYTHON ALSO.
@mohamedameerodien9486
@mohamedameerodien9486 10 лет назад
Very very cool video. Can't wait to use this at work!!
@venkateshkannan7398
@venkateshkannan7398 8 лет назад
Thank you!! JOINS explained very well!!
@DamnSamuraiGoons
@DamnSamuraiGoons 8 лет назад
i finally understand joins, thanks a lot man
@neveen6302
@neveen6302 10 лет назад
Great and easy to understand tutorial. Thank you!!!
@MMichiganSalveRegina
@MMichiganSalveRegina 9 лет назад
Fantastic video, sir!
@bogdanudovicic391
@bogdanudovicic391 7 лет назад
Nice and concise (as always). Many thanks!
@Zipstacracksta
@Zipstacracksta 11 лет назад
Extremely good tutorial. Thank you!
@justinbanza4751
@justinbanza4751 3 года назад
Thank you very much for this video
@WiseOwlTutorials
@WiseOwlTutorials 3 года назад
You're welcome Justin, thanks for watching!
@adrianczajkowski5019
@adrianczajkowski5019 9 лет назад
Thanks so much, wish I found your videos earlier! would have made class so much easier
@PhanTimo01
@PhanTimo01 9 лет назад
You sir have aided me in adapting my knowledge of MySQL for T-SQL. For that you get a like and a sub. Keep up the good and BTW, I love the fact that your a Jurassic Park and Steven Spielberg fan lol.
@RemoPeter
@RemoPeter 10 лет назад
Love your tutorial!
@mrnobody6743
@mrnobody6743 6 лет назад
The explanation your provide makes this seem incredibly simple. Outer joins is something I had found confusing in the past due to poor explanations.
@malcorub
@malcorub 10 лет назад
Great videos and easy to navigate channel. I am subsribing to WiseOwl Tutorials today. Thank you teacher.
@rebelmusic7064
@rebelmusic7064 8 лет назад
Simply superb perfect well done !!!!!!!!!!!!!
@JohnWaclawski
@JohnWaclawski 10 лет назад
Very good tutorial!! You made it very easy to understand and supplying the sample database you used was extremely helpful!! Can't say enough good things about it! Do you have any video tutorials on the more advanced uses of JOINS by any chance? Thanks again!
@meriemkaroun7626
@meriemkaroun7626 8 лет назад
Thank you . Very concise !
@FavianTubeX
@FavianTubeX 5 лет назад
You’re very clear thank you
@roywit7836
@roywit7836 3 года назад
very helpful, thanks
@forpoopsandgiggles
@forpoopsandgiggles 9 лет назад
You are truly awesome. These tutorials have helped me sharpen my "proc SQL" skills on SAS. Thank you so much
@chuckc4387
@chuckc4387 10 лет назад
I love the tutorials for SQL and Excel. It appears that Ang Lee is in the Directors table x 2, with 2 different id numbers (8 and 107). I noticed his name around the 10:40 mark and then he also appeared in the results of those directors with no films in the film table. Duplicate values in a dimension table is a common issue I face. Thanks.
@chitizpaneru8241
@chitizpaneru8241 8 лет назад
u da best braw!!
@DonChoycito
@DonChoycito 8 лет назад
Now I get! thanks
@sand826
@sand826 9 лет назад
Just Awesome, very informative
@krismaly
@krismaly 11 лет назад
Interesting episode. Thanks a bunch.
@tytorrance96
@tytorrance96 10 лет назад
Wise owl- Me again, you more than delivered on the Excel VBA will you be posting any more Sql Server videos and if so could you possibly work in how to code with the char,varchar and most frequently used type of variables u can change I am struggling with coding to that level. Thanks in advance and keep up all the great videos it's great value and learning you provide.
@jjysoserious
@jjysoserious 10 лет назад
Really helpful
@assetmanager1435
@assetmanager1435 8 лет назад
Hi Andrew, could we have the Movies Excel file which you use for this series of videos - else we will have create entries from scratch to follow your tutorials. Thanks so much for your help. Your tutorials are definitely very helpful.
@azadehk3010
@azadehk3010 10 лет назад
Thanks. it was a very good one. Are you planning to put some videos for advance SQL users?
@kidentertainment5640
@kidentertainment5640 9 лет назад
thank is good Video Lesson .
@sams1448
@sams1448 11 лет назад
Best Explanation!! about joins in You Tube Channel ;)
@sanukumar7122
@sanukumar7122 5 лет назад
Thanks
@krismaly
@krismaly 11 лет назад
Useful video. Thanks a lot
@wenfengzhang897
@wenfengzhang897 7 лет назад
good video
@justinmlawrence
@justinmlawrence 9 лет назад
Awesome!
@dalepinn7659
@dalepinn7659 9 лет назад
Hi Andrew Great video. I was wondering if you could do a tutorial on joining data from two different databases.
@rfox5487
@rfox5487 8 лет назад
+WiseOwlTutorials There is one just google Excel spread sheet )
@andygroom8244
@andygroom8244 9 лет назад
At about 11:00 into the video where you narrow down the list to only show Directors who don't have a film listed in the database it seems to include Ang Lee, yet earlier in the video it shows him against several films, I'm confused!
@mchilds83
@mchilds83 6 лет назад
Why do the results of the LEFT OUTER JOIN also contain the results of the INNER JOIN until you specify a WHERE clause? The Venn diagram made me think the INNER JOIN results would be automatically excluded when using LEFT OUTER JOIN. Thanks.
@MrOwaisk
@MrOwaisk 8 лет назад
Excellent tutorial. I have few questions, (1) How do i decide that which table is my left table and which is right table, without seeing diagram? (2) If Left outer join is sufficient to get the result for the both sides (means changing the table name in right join case) then why there is right outer join? Appreciate your answers in advance :)
@meriemkaroun7626
@meriemkaroun7626 8 лет назад
(1) You re the one who decide which one is left or right on your diagram. If you decide that "Table A" is on Left, you should write it before the left JOIN ( From TableA Left Out join) (2) You use Right to avoid confusion
@johnparlier1326
@johnparlier1326 7 лет назад
any chance you could make a quick video on Self Joins?
@janvandalen3992
@janvandalen3992 10 лет назад
What about when you want to see which Directors have worked with which actors?
@samankhajehzadeh4445
@samankhajehzadeh4445 10 лет назад
Dear Wise Owl. Thank you very much for these videos. They are excellent. I have problems opening the database diagrams. Could you please advise?
@samankhajehzadeh4445
@samankhajehzadeh4445 10 лет назад
***** Dear Wise Owl. Many thanks for getting back to me so quickly. In minute 2 of the video, you say you have already created the database diagram. So, I think I was wrong as now I think I need to create a similar database diagram to yours. I follow your videos and practice as I watch, but have had difficulty creating a similar database diagram to yours. Could you please advise how to create it? I had another question: I live in Australia, and was wondering if you offer any online courses on SQL that I can participate in and get a certificate for that.
@chase24jr
@chase24jr 10 лет назад
what about for example , when there is PO Table and it function in two different ways, like Po number at the Header level and PO at the invoice level. On the header level it shows comment information and on the invoice level it shows the PO number. can't seem to pull the data for both. How can you pull the data for both when the table is the same. Hope i explained this clearly.
@Mimmivs93
@Mimmivs93 7 лет назад
How can I combine two tables based on 2 columns? I have two databases, both of which have the columns [Reporting date] and [ID]. I want to insert the columns from one table to another based on the reporting date and ID i.e. ..... where [Table1].[Reporting date] = [Table2].[Reporting date] and [Table1].[ID] = [Table2].[ID] (i know this syntax is not correct but I just wrote it to give a better overview of what I need to do)
@seemapradhan837
@seemapradhan837 8 лет назад
If Full outer join shows all of the results, why not use simple JOIN? whats the difference between the two
@summertime4520
@summertime4520 11 лет назад
Hi, i could really do with your help please! I would like to know how you can subtract entire row in sql from the previous row, and repeat the process all the way down, and create new rows which shows the difference. i have alot of columns but i would like to select specific columns which will be included in the subtraction query. please help! could you please do a video tutorial.i would really appreciate!
@GutenTag231
@GutenTag231 10 лет назад
I love you xD
@gabrielclark3108
@gabrielclark3108 10 лет назад
I am going to go and assume that at 11:26 the fact that last name of the last 2 "directors" are Wise Owl is not a coincidence :/
@armansaleem3781
@armansaleem3781 6 лет назад
I don't have that table made in my database diagrams section
@chahineatallah2636
@chahineatallah2636 Год назад
great video, in my server studio i cant see the relationship diagram, strange, but when i go to tables i can see that there are relationships, anyone encountered such issue?
@WiseOwlTutorials
@WiseOwlTutorials Год назад
Hi! The database diagram is independent of the relationships between tables - you can create relationships without creating a diagram. If you choose to create a new diagram in the Movies database and add all the tables to it you should see the relationships are shown automatically. I hope it helps!
@yourdailymusic6906
@yourdailymusic6906 9 лет назад
I dont see my datebase diagram same as like yours?
@yourdailymusic6906
@yourdailymusic6906 8 лет назад
Thank you for the help!
@surj1t
@surj1t 6 лет назад
I am using SSMS v18 but I cant see the Database Diagrams folder. How do I enable it?
@timothykeatin4141
@timothykeatin4141 8 лет назад
You've got ang lee in your table twice. DirectorID = 8 & 107
@girijag2813
@girijag2813 11 лет назад
can you please explain me how to retrieve the data from the two joined table on ASP.NET from SQL 2005.
@rt9191
@rt9191 8 лет назад
I haven't got a Database Diagram :/, these are great videos tho!
@hunnydarling309
@hunnydarling309 2 года назад
Could you please make tutorial query UNION AS Sir
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
Hi, I'll add it to the list of videos to make!
@dwaipayan3086
@dwaipayan3086 4 года назад
Consider the following database tables and answer queries using SQL. Employee (Emp#, Name) Assigned_to (Project#, Emp#) Project (Project#, Project_Name, Chief_architect) 1. Print the Details of the employee working on project “AAA” 2. Print the employee number of employee who work on all projects. 3. Print the emp# of employee other than employee 39 who work on at least one project that employee 39 works on.
@tsx6231
@tsx6231 10 лет назад
Great tutorials! Q_=
@wahahah
@wahahah 5 лет назад
This JOIN thing is confusing af to me
@heyyou5170
@heyyou5170 8 лет назад
Why I do not have that diagram :s
@ahmadbahrami9437
@ahmadbahrami9437 4 года назад
I don't have it too! it asks me that do I want to create it?!
@michaelem7883
@michaelem7883 2 года назад
its funny how you cant use calculated fields in tax example movie. but here you can use alias before its defined =) Microsoft
@WiseOwlTutorials
@WiseOwlTutorials 2 года назад
It seems strange but there is a good reason for it! The logical order in which the select statement is processed isn't the same as the order in which you write your code: docs.microsoft.com/en-us/sql/t-sql/queries/select-transact-sql?view=sql-server-ver16#logical-processing-order-of-the-select-statement
@michaelem7883
@michaelem7883 2 года назад
@@WiseOwlTutorials thanks for explanation!
Далее
SQL Server Queries Part 7 - Using Functions in Queries
9:42
SQL Server Queries Part 8 - Text Calculations
12:27
Просмотров 79 тыс.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Просмотров 166 тыс.
SQL Server Queries Part 11 - Subqueries
8:51
Просмотров 130 тыс.
SQL Server Queries Part 12 - Correlated Subqueries
8:21
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Joins in sql server - Part 12
17:43
Просмотров 1 млн
SQL Server Programming Part 5 - IF Statements
13:17
Просмотров 137 тыс.
SQL Server Queries Part 9 - Date Calculations
13:24
Просмотров 97 тыс.
Learn SQL + Database Concepts in 20 Minutes
24:34
Просмотров 64 тыс.
Learn SQL Joins
21:39
Просмотров 51 тыс.