Joins | SQL | Tutorial 17

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I don't know why you don't have more subscribers. I have been using YouTube for computer science help for many semesters. You are the best, for real!

williamhunt
Автор

I'm usually to lazy to comment on videos, but I just jumped in here to say thank you for making this easy for your viewers. This subject can be complex for newbs and I always appreciate instructors who are empathetic to how people learn. Great job!

AndyRyanTX
Автор

I've been reading my textbook for hours trying to understand joins. Now I get it. Mike, you are AWESOME!

williamhunt
Автор

You are amazing!!!! I have been struggling for hours to get joins and after 10 mins of watching this tutorial I get it. Thank you Mike.

fleurrubbani
Автор

YOU DESERVE MORE RECOGNITION AND SUBSCRIBERS!!! Thank you for your videos!

curryrice
Автор

great work you clear all my concepts about joins and difference between left and right join thanks man you are doing great work keep making great videos

tysonhamada
Автор

God! It was so easy to understand.. I was scared of joins in SQL before this video.. Thanks alot

aryanshmahato
Автор

You are doing a great job !! thank you so much.

jagrutnimmala
Автор

thank you Mike! So helpful videos. BTW all that names :) I believe you love The Office :)

serefsendil
Автор

What happens if I have more than 2 tables? Which one of them would be right and left then?

jn
Автор

hi do you have a tutorial on self joins?

TheUmbowa
Автор

I have one doubt that after combining the table, will it appear as new table or changes are made in that particular table

deepas
Автор

An inner join is equal to a regular join? Did not quite understand that

thjt
Автор

Can I write'ON branch.mgr_id = employee.emp_id' instead of 'ON employee.emp_id = branch.mgr_id' ?

chandlerzhu
Автор

It looks like when you did LEFT JOIN, your new table is sorted by branch_name. I downloaded the latest MySQL, and both the Workbench and PopSQL sort the emp_id instead. No biggy I guess.

ibnbattuta
Автор

We can implement full outer join in MySQL using **LEFT JOIN UNION RIGHT JOIN**


SELECT employee.emp_id, employee.first_name, branch.branch_name
FROM employee
LEFT JOIN branch ON employee.emp_id = branch.mgr_id

UNION

SELECT employee.emp_id, employee.first_name, branch.branch_name
FROM employee
RIGHT JOIN branch ON employee.emp_id = branch.mgr_id
WHERE employee.emp_id IS NULL;

mahinhossen