MySQL SELF JOINS are ... ughhh

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 53

  • @BroCodez
    @BroCodez  2 роки тому +20

    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 Рік тому +52

    Your explanations are on point. My professor is pretty much like “Figure it out yourself, look at the PPT” SMH.

    • @MrTekniqs
      @MrTekniqs 6 місяців тому +8

      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.”

    • @valerioharvey7289
      @valerioharvey7289 Місяць тому

      Damn. We really pay a shitty amount of money just for the professor to tell us to study ourselves ​@@MrTekniqs

  • @MrBicholino
    @MrBicholino Рік тому +30

    Best self join explanation I've found so far. 10/10!!!

  • @jina5920
    @jina5920 9 місяців тому +9

    You're the best teacher ever !!!! I really appreciate your work for us!!!

  • @iradaska
    @iradaska 3 місяці тому +1

    Bro thank you! I have been struggling a whole week to understand self joins!! All clear now ❤

  • @dankprogrammingmemes7807
    @dankprogrammingmemes7807 Рік тому +3

    Thanks a ton for making this series! Subbed!!

  • @joe-hd3uv
    @joe-hd3uv Рік тому +3

    Dude this was so incredibly helpful. Thank you!

  • @patrickkahng2274
    @patrickkahng2274 3 дні тому

    Excellent and clear explanation about self-join. 👍👍 Thank you very much.

  • @sarah-mikal
    @sarah-mikal 28 днів тому

    best self join explaination i've gotten in 9 months

  • @hemanthmonu9902
    @hemanthmonu9902 2 місяці тому +1

    10 mins just flew away
    With excellent teaching ❤

  • @ubaidullah6744
    @ubaidullah6744 Рік тому +3

    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.

  • @redhulkinator
    @redhulkinator 4 місяці тому

    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!!!

  • @Lulu-ck3ji
    @Lulu-ck3ji Рік тому +1

    a chad in explaining. Thanks much!

  • @methanesulfonic
    @methanesulfonic Рік тому +6

    I'm pretty sure my teacher will somehow over-complicate this course if they ever teach this lol.

  • @niru216
    @niru216 8 місяців тому

    Thanks! joins were pain until I found you

  • @johnvak7390
    @johnvak7390 9 місяців тому +1

    thank you for explaining!

  • @ShaikMoAbdullah
    @ShaikMoAbdullah 9 місяців тому +1

    This was awesome. Thank you

  • @omega_sine
    @omega_sine 2 роки тому +5

    I never knew Mrs. Puff’s first name was Poppy 🤯

  • @riasingh11
    @riasingh11 6 місяців тому

    best video on self join

  • @aayushregmi4334
    @aayushregmi4334 3 місяці тому

    You're the best tutor

  • @Blujay188
    @Blujay188 Рік тому

    EXCELLENT EXPLANATION ! thank you

  • @beckybioh8695
    @beckybioh8695 4 місяці тому +1

    Bro, can you do an Oracle DBMS series too😍...your videos are life savers! God bless you!

  • @chngdexter2008
    @chngdexter2008 7 місяців тому

    Your explanation is awesome!

  • @callofdutymlgversion910
    @callofdutymlgversion910 2 роки тому

    truly and bro coder appreciate it bro

  • @mohammeddanish8624
    @mohammeddanish8624 5 днів тому

    a tons of thanks!

  • @edwardtattersfield3033
    @edwardtattersfield3033 Рік тому +3

    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 Рік тому +4

      He's probably using Ctrl+'any-arrow-key' for PC, and it would be Command+'any-arrow-key' for Mac.

  • @dolodoowop1971
    @dolodoowop1971 Рік тому

    SO helpful.. thank you !

  • @hiwab41
    @hiwab41 2 роки тому +2

    nice BRO!

  • @ExiltedOne
    @ExiltedOne Рік тому

    thank you that was great!

  • @vishwanathchintala2000
    @vishwanathchintala2000 Рік тому

    you are amazing

  • @MaedehDehghan-vx6hx
    @MaedehDehghan-vx6hx 7 місяців тому

    that was practical. thanks

  • @bernasiakk
    @bernasiakk 9 місяців тому

    super easy and helpful

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 13 днів тому

    Thank you.

  • @muratemredemircioglu2897
    @muratemredemircioglu2897 9 місяців тому

    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?

  • @princeakinolaoluwagbemigag1750

    Top 10

  • @Imoqine
    @Imoqine 6 місяців тому

    I knew from the title (self joins are...ughhh) 😆 it's not as usual.

  • @nikoprieto1
    @nikoprieto1 Рік тому

    How can i change my screen to see the same way you do?
    Pleaseeeee.
    Thanks for your video!

  • @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.

  • @PhrontDoor
    @PhrontDoor 11 місяців тому

    Let's be honest.. Krabs isn't gonna comp ANYONE a free meal.

  • @CodeWithDF
    @CodeWithDF 2 роки тому +2

    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

    • @FilipRamčić-g8j
      @FilipRamčić-g8j Рік тому

      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.

  • @AnshuMeena-g5x
    @AnshuMeena-g5x 11 місяців тому

    Thanks Bro

  • @memezthug1507
    @memezthug1507 7 місяців тому

    bro need full join also bro please.........

  • @tsunningwah3471
    @tsunningwah3471 Рік тому

    bilibili

  • @PythonicMind
    @PythonicMind 2 роки тому +1

    First

  • @alphaomegathegreatest7948
    @alphaomegathegreatest7948 2 роки тому +1

    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.”

  • @MubarakAli-qs9qq
    @MubarakAli-qs9qq 3 місяці тому

    Best ever explanation sir thanks alot

  • @MubarakAli-qs9qq
    @MubarakAli-qs9qq 3 місяці тому

    Share this vedio plz