MySQL: JOINS are easy (INNER, LEFT, RIGHT)

MySQL: JOINS are easy (INNER, LEFT, RIGHT)

Bro Code

1 год назад

338,224 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Bro Code
Bro Code - 28.10.2022 22:54

-- INNER JOIN selects records that have a matching key in both tables.
SELECT *
FROM transactions INNER JOIN customers
ON transactions.customer_id = customers.customer_id;

-- LEFT JOIN returns all records from the left table
-- and the matching records from the right table
SELECT *
FROM transactions LEFT JOIN customers
ON transactions.customer_id = customers.customer_id;

-- RIGHT JOIN returns all records from the right table
-- and the matching records from the left table
SELECT *
FROM transactions RIGHT JOIN customers
ON transactions.customer_id = customers.customer_id;

Ответить
Daniel Carroll
Daniel Carroll - 14.10.2023 16:27

Great video!

Ответить
Rene Ashu
Rene Ashu - 13.10.2023 23:13

This is a masterful explanation that is very easy to expand on. Even though he used particular examples, he made it so easy to see a pattern. Thank you for such these 5 minutes of elegance.

Ответить
Yker
Yker - 08.10.2023 19:19

Thanks! You made it so easy.

Ответить
Kristopher Thompson
Kristopher Thompson - 08.10.2023 01:49

You're my hero. I'm taking the SQL course from UC Davis on Coursera, and the instructor did a terrible job at explaining joins. This made it so much easier.

Ответить
CP
CP - 06.10.2023 20:44

The best video so far

Ответить
Moisema Dukuly
Moisema Dukuly - 05.10.2023 16:42

Your videos are always simple and concise

Ответить
Oussama Zriouile
Oussama Zriouile - 04.10.2023 19:56

this is surprisingly easy, I always though it would be harder to understand
thank you

Ответить
John Carrick
John Carrick - 28.09.2023 17:14

So if we build a code for Inner Join we could adapt the same code for right and left joins.
Perfect.
But for full inner join?

Ответить
Joe
Joe - 27.09.2023 17:39

Would be cool if you provided a copy of the database so we can follow along and try it ourselves. thanks for the video!

Ответить
Abdelrhman sayed
Abdelrhman sayed - 27.09.2023 08:22

thx

Ответить
Shlxng
Shlxng - 23.09.2023 00:52

Thanks for an amazing explanation🙌

Ответить
Antonio Montana
Antonio Montana - 20.09.2023 23:15

Very clear and easy to understand. Thanks!

Ответить
Tung-Hsin Liu
Tung-Hsin Liu - 18.09.2023 17:28

This explains so clearly with examples provided! Thankyou!

Ответить
rohit bind
rohit bind - 13.09.2023 08:44

you explained in 5 min where others are taking more 30 min and still not able to explain properly

Ответить
Tuyền Đặng
Tuyền Đặng - 10.09.2023 11:13

thanks a lot!

Ответить
Samay Soni
Samay Soni - 10.09.2023 09:22

Stunningly simple explanation, considering leaving my girlfriend and dating this content creator

Ответить
Mario Rest
Mario Rest - 05.09.2023 00:35

such a simple and easy explanation, thank you!

Ответить
L 3
L 3 - 04.09.2023 13:57

The best explanation I ever found on yt, thank you bro.

Ответить
Raeven Consolacion
Raeven Consolacion - 03.09.2023 13:26

I had watched a lot of videos of this
Yet i still couldnt get it
But you explained it very simple and the best
Like youre really talking to a beginner
Even a person with no experience in programming languages could understand thix
Thank you

Ответить
Issam Mbarki
Issam Mbarki - 02.09.2023 13:43

so easy , explained very good in only 5min ! Wow thx <3

Ответить
Nutchanon C
Nutchanon C - 29.08.2023 19:31

I finally understood joins. Never really understood them while I was in college lol. Thank you.

Ответить
Beom-seok
Beom-seok - 25.08.2023 17:51

Bro code you're awesome, keep up the good work

Ответить
Zenande
Zenande - 18.08.2023 20:24

What about full outer join

Ответить
Luiz Henrique2
Luiz Henrique2 - 18.08.2023 00:33

Thanks, bro!

Ответить
B.a.d.a.  Logic
B.a.d.a. Logic - 13.08.2023 16:37

Thank You. Perfect

Ответить
AbdullaHernandez
AbdullaHernandez - 11.08.2023 13:30

How many people could detect this was actually an AI voice?

Ответить
Sivuyile Sifuba
Sivuyile Sifuba - 10.08.2023 18:06

Ответить
Spider
Spider - 09.08.2023 22:48

Thanks a lot

Ответить
sherif nabil
sherif nabil - 09.08.2023 19:07

Subscribed! You're gifted at explaining things

Ответить
Max V
Max V - 08.08.2023 20:38

eeezee peezee lemon squeezee

Ответить
GAMING HQ
GAMING HQ - 04.08.2023 18:55

i love you bro

Ответить
David Ríos
David Ríos - 04.08.2023 10:01

You helped me a lot during my bootcamp, thanks bro!

Ответить
Internet Lobby
Internet Lobby - 01.08.2023 22:31

now this is a great tutorial man i fell in love XD

Ответить
AmusedHermit
AmusedHermit - 01.08.2023 20:12

i actually hate how easy you made it...i must be stupido

Ответить
KoffieBear
KoffieBear - 30.07.2023 04:45

And this is how I learned Mrs. Puff's first name lol. Nice video, very helpful!

Ответить
Taha Zargar
Taha Zargar - 29.07.2023 08:20

Nice & neat ❤

Ответить
Paul Ojo
Paul Ojo - 28.07.2023 13:09

Thanks for this. So easy to understand

Ответить
Hollywood Camera Work
Hollywood Camera Work - 26.07.2023 16:56

Wonderfully clear explanation.

Ответить
SANSKAR
SANSKAR - 25.07.2023 17:51

bro ur god ,, i bow to you ,,

Ответить
ShadowFantasie SF
ShadowFantasie SF - 24.07.2023 10:17

Very nice, thanks.

Ответить
Shane Baguhin
Shane Baguhin - 21.07.2023 10:48

Hello! how about creating a join with 3 or or tables?

Ответить
Ahmed Abou Singer
Ahmed Abou Singer - 16.07.2023 02:28

I love your Video's you are always street to the point by a simple way thanks alot

Ответить
Markho chen
Markho chen - 15.07.2023 05:50

Is the Left join is the same as Left outer join?

Ответить
Adam El_2
Adam El_2 - 12.07.2023 23:15

Thank you for your brilliant explanation ! Not even my college teacher did explain as you do 😂! Thx a lot !!!

Ответить
FlowCo
FlowCo - 10.07.2023 04:01

Much Appreciated

Ответить
john doe
john doe - 08.07.2023 10:27

THANKYOU VERYMUCH!!!

Ответить
Тачкин
Тачкин - 07.07.2023 20:25

Thank you! This video needs more likes!

Ответить
Jun
Jun - 06.07.2023 16:30

Than Venn diagram alone single handedly make this topic way easier than it should be. As always, Thank you!!

Ответить