In this tutorial we'll take a look at SQL JOINS and see how we can pull data from two tables through a single query!
Пікірлер: 120
@mohitnehete23 ай бұрын
Watching in 2024😢
@suravshrestha56236 жыл бұрын
Very simple and to the point explanation of how JOINS work in SQL.
@max51757 жыл бұрын
Great tutorial. I was pretty intimidated by JOINS but you made it nice and simple. Thanks man
@Dartholit15 жыл бұрын
Thank you so much for you SQL videos!!! I'm passing my database class thanks to you.
@rockxiong8264 Жыл бұрын
Thank you very much for the second part. Most of the videos on joins doesn't include the second portion of this video where you utilize the "where" clause. Earned yourself a subscriber.
@k_oliver8 ай бұрын
One of the simplest and yet ery helpful tutorial Ive found! thanks man! keep this up :)
@joan.nakibuuka13224 жыл бұрын
I'm new to this and you are making it way easier than i imagined. Thank you
@timchunk12487 жыл бұрын
Thank you ! I view this video twice, and i learned join!
@nyanganjikingsley46649 ай бұрын
I love the way you present your tutorials sir
@yuratea17003 жыл бұрын
Thank you so much for your time and your awesome explanations. Greetings from Lithuania! :)
@sarangrb13752 жыл бұрын
This is all I needed looked for hours and hours and couldn't find anything solid. Great work man thanks👍🏻👍🏻
@madhurbhatia892 жыл бұрын
Thanks Sarang, glad you found this helpful :)
@shckwave52302 жыл бұрын
@@madhurbhatia89 speak in Hindi for better explanation
@Runderwunderknopf8 жыл бұрын
Oh Maaaan, your Turoials are awesome! Thank you!
@blainejantze65654 жыл бұрын
Great Tutorial, makes JOINS look easy
@ShoppingStew6 жыл бұрын
Thank you so much for these tutorials!
@ryanmccleave35628 жыл бұрын
Love this tutorial, thank you!
@tetsuoshima4549 жыл бұрын
Already passed mid-way mark. Great work.
@wayup7985 Жыл бұрын
Great tutorial man. Big thumbs up brother!
@azanshaikh78255 жыл бұрын
this wasn't bad at all. Thank you,kind sir!
@test_1322 жыл бұрын
Thanks for sharing I just learned joins!!!
@humanbeing46843 жыл бұрын
Thanks a ton, This has greatly helped me, I am defintely going to share with my friends who is looking for join tutorial Also, I just subscribed you
@sadatakhtar59273 жыл бұрын
You explained that really well, thanks
@zxvb7782 жыл бұрын
IT helped me alot sir keep making vids but iam 11years trying to learn sql it helped me alot thanks..
@leenalzebn6176 Жыл бұрын
Very useful and straight to point thank you
@AliAnsari14 Жыл бұрын
This is the best way to perform an Excel VLOOKUP in SQL, thanks
@anassel988 ай бұрын
Thanks, helped me a lot!
@rajeshakkineni51273 жыл бұрын
Simply super bro.. you made my day
@preethivaidyanathan33686 жыл бұрын
So helpful, thank you!
@Pchbt7 жыл бұрын
Very clear, thank you !
@emaduddinzafar72072 жыл бұрын
Khush raho yaaar asan krdeya tumne ❤️
@k___T115111 күн бұрын
tnx ,you explaind it in a simple way
@ParentFor07Cats4 жыл бұрын
it is just awesome man thanks :)
@sofianetech37919 күн бұрын
thank you so mutch the firs method is awsome
@darwish20982 жыл бұрын
That last bit of the video was helpful to really understand the Joins since I use the 'less preferred one but more commonly used' lol didnt event realize it
@badarlasaiteja9172 Жыл бұрын
The second method is called equi join we use = operator and first one is using join keyword . Nice explanation for beginners
@leonardbukenya86183 жыл бұрын
Great stuff!
@MohseenAttarVlogs2 жыл бұрын
Super Like I am a beginner you made it simple Thank You !
@salmanfaris46794 жыл бұрын
its very helpful tutuorial,thanks bro
@kanikasharma95039 жыл бұрын
your videoz r vryy helpful!!!
@karanjesrani68893 жыл бұрын
was very helpful simple video!!
@taz35923 жыл бұрын
Nice tutorial!
@darshanabhuyan84793 жыл бұрын
Excellent explanation
@sparrowp2251 Жыл бұрын
btw very simple and easy to understand thanks!
@ninaa76615 жыл бұрын
Suggestion to show both tables on the screen while creating JOIN query
@dipeshparma86053 жыл бұрын
What
@mosessamuel69183 жыл бұрын
Pro tip : watch series at flixzone. I've been using them for watching lots of of movies lately.
@marcusnash20013 жыл бұрын
@Moses Samuel Definitely, been watching on flixzone for years myself :)
@dustinfranco92013 жыл бұрын
@Moses Samuel Yea, have been watching on Flixzone for years myself :D
@woedemgodoga562425 күн бұрын
Thank you. well understood. Can you please do a video on left joi,right join and outer join
@doenil4705 жыл бұрын
You a genius.
@rodm8113 Жыл бұрын
better than my uni professor!
@kmlearnchannel94152 жыл бұрын
Well explain and clear
@mattallen94062 жыл бұрын
Thanks boss! This SQL sh*t is light work.
@Rawman_5610 ай бұрын
By giving example like this you are automatically getting my likes😊
@JATINKUMAR-qu4vi2 жыл бұрын
Really helpful
@diptijain Жыл бұрын
Thank you
@eriktorres60672 жыл бұрын
Nicely explained without extra bs
@ae15508 жыл бұрын
Superb
@LiuLinplus10 жыл бұрын
It helps,thx.
@sparrowp2251 Жыл бұрын
tbh nobody ever really told me that joins were difficult !i guess it is one of the pros self studying hahahaha
@okkamagad9 жыл бұрын
Hey Madhur, i see that we got 12 results when we used the Join query, but we got 13 results when we used Where clause, can you explain this briefly ? is it not recommended to use where clause for this kind of queries ?
@iostream_gaming31842 жыл бұрын
Suppose you are given a relation grade points(grade, points), which provides a conversion from letter grades in the takes relation to numeric scores; for example, an “A” grade could be specified to correspond to 4 points, an “A−” to 3.7 points, a “B+” to 3.3 points, a “B” to 3 points, and so on. The grade points earned by a student for a course offering (section) is defined as the number of credits for the course multiplied by the numeric points for the grade that the student received. Given the above relation, and our university schema, write each of the following queries in SQL. You can assume for simplicity that no takes tuple has the null value for grade. a. Find the total grade-points earned by the student with ID 12345, across all courses taken by the student. b. Find the grade-point average (GPA) for the above student, that is, the total gradepoints divided by the total credits for the associated courses. c. Find the ID and the grade-point average of every student. LODI PA TUTORIAL NGA NITO PARA MAY GUIDE ME SA SUNOD NA ACTIVITY SALAMAT
@JATINKUMAR-qu4vi2 жыл бұрын
Thank a lot 👍👍
@madhurbhatia892 жыл бұрын
Thanks for watching!
@hlokomani Жыл бұрын
cheers man
@donny21238 жыл бұрын
thank you.
@smtbhav30148 жыл бұрын
Hi Madhur, I am trying to create a table in sql workbench where i want create a column where i want to insert ip address but not sure which data type should i select, so could you help me with the correct data type for ip address.
@katara49552 жыл бұрын
what would the query be if I wanted ALL the columns from both the tables? Do I still have to type out each column? Is there a shorter way? like Select * from both tables and join them somehow?
@billiejl62377 жыл бұрын
THANK YOU!
@madhurbhatia897 жыл бұрын
+Billie JL Cheers!
@sentimentalisme614 жыл бұрын
Hello thank you for you tuto what is the interface that you are using ?
@at5music6226 жыл бұрын
Did you make id in the second table as primary key?
@29ibrahimsayed95 Жыл бұрын
awesome
@yanirazelaya53787 жыл бұрын
Excellent work, The bad Tutorialssssssssss
@madhurbhatia897 жыл бұрын
+Sonia Chavez Thanks for watching!
@AnonP2X3YZ3 жыл бұрын
thanks
@Showtime_Southside2 жыл бұрын
What is the query to find no in ascending or descending order from 2 different tables at the same time?
@VampireHeartization5 жыл бұрын
You can actually notice that the amount of results when using an Inner Join is 12, and then after you removed it to use WHERE, it is 13. I was wondering what are you missing out on?
@osamaghazal24807 жыл бұрын
If anyone here can help I tried following exact the same steps to execute the join command but it didn't work ? Is that because he populated the id column in the tutorial_info table from the old tutorial or what ?? and if we have to fetch the id column from the old tutorial, what is the syntax for inserting the remaining values (views, likes, dislikes, shares) without writing the id value ? how can we skip that?
@SahitiSeemakurti8 жыл бұрын
Nice Tutorial, especially when I watch it in 1.5X speed. Also, This JON example you did, is it an INNER JOIN or OUTTER JOIN? How do you distinguish these two JOINs in code?
@abhijeetgupto6 жыл бұрын
Sahiti Ss exactly , how to distinguish?
@MotoGPFan3311 күн бұрын
I am having trouble finding help on how to do Insert Into Select w/ join feature . I have data in table 1, which describes a motorsports racing session. I have table 2 which has information about each of the riders including their bike number, team , manufacturer, name, etc. - both tables have a column Rider ID, where the Riders table (table 2) has Rider ID as the primary key, and on the Table 1 , Rider ID is the foreign key. I want to write a insert into select join statement that merges in the individual rider data such as bike number, team, manufacturer , and name - into Table 1 . Can you help me please?
@Showtime_Southside2 жыл бұрын
What is the query to find out highest values from 2 different tables at the same time?
@gtry-bq5mw2 жыл бұрын
hi, do i need to put 'AS' in clausing the table? sorry, i'm confused
@kaoutarlkhou42329 жыл бұрын
no need for triggers, to join 2 tables?
@marijuanastoner277 жыл бұрын
HI i used WHERE instead of ON and the same also functioned is this wrong.
@successorantigha9466 Жыл бұрын
I have a question: what's the name of this new joined table? How can I see it to enable me to query it
@pareshprajapati32829 ай бұрын
How can I add column named first name and last name from database employee to table name title with all the data
@janarddansarkar34477 жыл бұрын
can we join more than two tables?
@Rajeeb7017 жыл бұрын
nice
@real_anil96886 жыл бұрын
what if we have to write 'officer's name' as a string it will end at officers .
@joselitoreyes7187 Жыл бұрын
How to input: films starting with S and T in SQL. Thank you
@user-ys2be4cx8d7 жыл бұрын
What kind of sql is this? I'm using oracle and it's giving me error "from tutorials as t" (@6:06) where t is underlined in red, saying SQL command not properly ended. What gives?
@SatyamJhasatyam24107 жыл бұрын
he is using MYSQL wrorkbench
@ezabelaah94513 жыл бұрын
Hi I would like to take sql training from you. Please let me know how much you will charge. Thanks
@jamilamammadova45563 жыл бұрын
How can I get sql file like in that video?
@AbCd-zo5tb5 жыл бұрын
i don't understand why people don't like the video after watching it?
@sadmanpranto90263 жыл бұрын
You didn't explain why ON is preferred over WHERE.
@JunaidMunirVlogs3 жыл бұрын
your name is good.
@dherendrachaudhary67287 жыл бұрын
we can perform join operation only when two table have same number of row and column.
@ramakrishnannarayanan42027 жыл бұрын
can you please provide the insert queries for your table.
@damiantoczek48146 жыл бұрын
(table).(column) = SELECT users.username, users.profiledescription,stats.postcount FROM users,stats; With Insert you do the same. INSERT INTO users,stats (users.username,users.profiledescription,stats.postcount) VALUES ('$username','$description','postcount'); You could also do: INSERT INTO users,stats (username,profiledescription,postcount) VALUES ('$username','$description','postcount'); You need to keep in mind that you can not have 2 same colum names in two tables, if you have 2 same column names you need to specify the table. 'table.username' or 'stats.username'. If you have only a "profiledescription" column inside the "users" table but NOT inside "stats" you do NOT need to type 'users.profiledescription'. @Edit, before people start crying and leaving shit comments on me, i know that Sai's comment is 1year+ old, this video is from 2014 and i still came hear and learned something. When someone watches this tutorial... he might also ask about the "Insert query"... so here is the answer (above).
@dhanashrishete7923 жыл бұрын
@badtutorial What is 'CROSS JOINS'
@abhishekshukla99707 жыл бұрын
how to rename colunm?
@shwetagarg68925 жыл бұрын
SELECT column_name AS rename FROM table_name;
@chandrapolineni24529 жыл бұрын
I am using Oracle DB and while aliasing a table name i am unable to use AS. I had to use table alias like this " tutorial t". Is this because of Oracle dialect?
@munawwarshaikh3143 Жыл бұрын
Assalamualaikum
@tommyjones13573 жыл бұрын
Alright, for those poor bastards out there trying to learning Kusto Query Language where tutorials do not exist, the translation would be: | join OTHER_TABLE on $right._COLUMN_NAME == $left._COLUMN_NAME This will merge the two tables where the column name is matches.
@varunbhardwaj70328 жыл бұрын
hi Madhur, what is ur email id?
@munawwarshaikh3143 Жыл бұрын
Urdu my sikhaen plz
@RavenTech12 жыл бұрын
Am i the only one who didn't understand much?
@jitendrasonkar60552 жыл бұрын
Kya kya bolta hai Bhai Hindi bol Yaar Kuch samjh Nahi kya kya Kiya