MySQL SELF JOINS are ... ughhh

  Рет қаралды 56,815

Bro Code

Bro Code

Жыл бұрын

#MySQL #tutorial #course
00:00:00 example 1
00:05:44 example 2
00:00:00 conclusion
SELECT a.first_name, a.last_name,
CONCAT(b.first_name," ", b.last_name) AS "reports_to"
FROM employees AS a
INNER JOIN employees AS b
ON a.supervisor_id = b.employee_id;

Пікірлер: 43
@BroCodez
@BroCodez Жыл бұрын
SELECT a.first_name, a.last_name, CONCAT(b.first_name," ", b.last_name) AS "reports_to" FROM employees AS a INNER JOIN employees AS b ON a.supervisor_id = b.employee_id;
@israelrodriguez331
@israelrodriguez331 7 ай бұрын
Your explanations are on point. My professor is pretty much like “Figure it out yourself, look at the PPT” SMH.
@MrTekniqs
@MrTekniqs 2 ай бұрын
Most of my college education right here. “Hey guys we’re going to learn Java. Here’s a piece of paper with some code. I’m a math teacher good luck.”
@MrBicholino
@MrBicholino 9 ай бұрын
Best self join explanation I've found so far. 10/10!!!
@jina5920
@jina5920 5 ай бұрын
You're the best teacher ever !!!! I really appreciate your work for us!!!
@dankprogrammingmemes7807
@dankprogrammingmemes7807 Жыл бұрын
Thanks a ton for making this series! Subbed!!
@joe-hd3uv
@joe-hd3uv 9 ай бұрын
Dude this was so incredibly helpful. Thank you!
@redhulkinator
@redhulkinator Күн бұрын
Thank you! I have been reading through the material in my Data Management course and I was completely confused. Now I understand what they are doing!!!
@ubaidullah6744
@ubaidullah6744 11 ай бұрын
Its a great video easy to understand Thank you, some people over explain things that makes it over complicated but after watching this video it looks pretty simple now.
@Lulu-ck3ji
@Lulu-ck3ji Жыл бұрын
a chad in explaining. Thanks much!
@ShaikMoAbdullah
@ShaikMoAbdullah 4 ай бұрын
This was awesome. Thank you
@johnvak7390
@johnvak7390 5 ай бұрын
thank you for explaining!
@Blujay188
@Blujay188 Жыл бұрын
EXCELLENT EXPLANATION ! thank you
@ExiltedOne
@ExiltedOne Жыл бұрын
thank you that was great!
@callofdutymlgversion910
@callofdutymlgversion910 Жыл бұрын
truly and bro coder appreciate it bro
@chngdexter2008
@chngdexter2008 3 ай бұрын
Your explanation is awesome!
@dolodoowop1971
@dolodoowop1971 Жыл бұрын
SO helpful.. thank you !
@beckybioh8695
@beckybioh8695 25 күн бұрын
Bro, can you do an Oracle DBMS series too😍...your videos are life savers! God bless you!
@niru216
@niru216 4 ай бұрын
Thanks! joins were pain until I found you
@mezomezo8718
@mezomezo8718 Жыл бұрын
I have a question which making me not getting this whole self join thing why couldn't we refer our join condition on table A customer ID =table 2 manager ID why did we have to refer to the foreign key of the first table instead of the primary key.your answer is greatly appreciated.
@edwardtattersfield3033
@edwardtattersfield3033 Жыл бұрын
Bro, nice vid. ONE QUESTION! What keyboard shortcut are you using to track to the beginning of a word? As you have done it makes more sense for me to type the column and THEN the table even though sql syntax requires this info in the opposite order. The shortcut would make it easier - i cant find it online.🙏
@justinprice1929
@justinprice1929 Жыл бұрын
He's probably using Ctrl+'any-arrow-key' for PC, and it would be Command+'any-arrow-key' for Mac.
@methanesulfonic
@methanesulfonic Жыл бұрын
I'm pretty sure my teacher will somehow over-complicate this course if they ever teach this lol.
@riasingh11
@riasingh11 2 ай бұрын
best video on self join
@MaedehDehghan-vx6hx
@MaedehDehghan-vx6hx 3 ай бұрын
that was practical. thanks
@hiwab41
@hiwab41 Жыл бұрын
nice BRO!
@vishwanathchintala2000
@vishwanathchintala2000 9 ай бұрын
you are amazing
@nikoprieto1
@nikoprieto1 Жыл бұрын
How can i change my screen to see the same way you do? Pleaseeeee. Thanks for your video!
@bernasiakk
@bernasiakk 5 ай бұрын
super easy and helpful
@omega_sine
@omega_sine Жыл бұрын
I never knew Mrs. Puff’s first name was Poppy 🤯
@Lulu-ck3ji
@Lulu-ck3ji Жыл бұрын
same lol
@user-gh1tk2dc3l
@user-gh1tk2dc3l 7 ай бұрын
Thanks Bro
@muratemredemircioglu2897
@muratemredemircioglu2897 4 ай бұрын
i am a beginner... We have to create employee ids such a way that when we write the code, it has to point the correct way right? I mean what if we made Mr. Squidward's employee id 6?
@CodeWithDF
@CodeWithDF Жыл бұрын
u are great but can u do tut for website full course
@mehavenothing7078
@mehavenothing7078 Жыл бұрын
i want to ask a question, why after we use the inner join, on a.supervisor_id = b.employees_id; the sandy name will repeated a few times, i still didnt get why
@user-of9pw6ql4m
@user-of9pw6ql4m 8 ай бұрын
Because she is a supervisor of multiple people. You're looking at each row of the left table and see who is the supervisor for each employee in that table which is Sandy except for Sandy herself. Her supervisor is Crabs.
@princeakinolaoluwagbemigag1750
@princeakinolaoluwagbemigag1750 Жыл бұрын
Top 10
@imadmoqine
@imadmoqine 2 ай бұрын
I knew from the title (self joins are...ughhh) 😆 it's not as usual.
@memezthug1507
@memezthug1507 3 ай бұрын
bro need full join also bro please.........
@PhrontDoor
@PhrontDoor 7 ай бұрын
Let's be honest.. Krabs isn't gonna comp ANYONE a free meal.
@PythonicMind
@PythonicMind Жыл бұрын
First
@tsunningwah3471
@tsunningwah3471 Жыл бұрын
bilibili
@alphaomegathegreatest7948
@alphaomegathegreatest7948 Жыл бұрын
Jesus Christ was lifted in the cross to pay for our sins, everyone who believes in him shall have eternal life John Cap. 3 | NIV-EN 14 Just as Moses lifted up the snake in the wilderness, so the Son of Man must be lifted up, 15 that everyone who believes may have eternal life in him.”
MySQL VIEWS are awesome
6:03
Bro Code
Рет қаралды 54 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 93 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,2 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 41 МЛН
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 397 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 129 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,1 МЛН
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
SQL Joins: Difference Between Inner/Left/Right/Outer Joins
10:52
SQL Joins - Beginner to PRO Masterclass with 10 Examples
27:08