Joins | SQL | Tutorial 17

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 35

  • @williamhunt8313
    @williamhunt8313 5 лет назад +35

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

  • @AndyRyanTX
    @AndyRyanTX 4 года назад +6

    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!

  • @williamhunt8313
    @williamhunt8313 5 лет назад +7

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

  • @tysonhamada6527
    @tysonhamada6527 5 лет назад +7

    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

  • @jn01996
    @jn01996 3 года назад +1

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

  • @mahinhossen4251
    @mahinhossen4251 Год назад +1

    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;

  • @chandlerzhu9735
    @chandlerzhu9735 5 лет назад +1

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

    • @cn19111
      @cn19111 4 года назад +3

      Sure, you can write

  • @TheUmbowa
    @TheUmbowa 4 года назад +1

    hi do you have a tutorial on self joins?

  • @ibnbattuta1304
    @ibnbattuta1304 4 года назад

    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.

  • @th3j0t46
    @th3j0t46 3 года назад

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

  • @HiruniAbeysekara-fl1ij
    @HiruniAbeysekara-fl1ij Месяц назад

    Great ❤ good luck sir 🎉🎉🎉

  • @oguerimiracle3444
    @oguerimiracle3444 3 года назад

    Please what is Relational Algebra

  • @curryrice7510
    @curryrice7510 3 года назад

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

  • @serefsendil
    @serefsendil 3 года назад

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

  • @eyobh7414
    @eyobh7414 Год назад

    bro u just made it easier thanks

  • @shamkentemirgaliyev8549
    @shamkentemirgaliyev8549 8 месяцев назад

    Thank you! Awesome!

  • @fleurrubbani7104
    @fleurrubbani7104 4 года назад

    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.

  • @aryanshmahato
    @aryanshmahato 4 года назад

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

  • @tysonhamada6527
    @tysonhamada6527 5 лет назад +1

    thanks man keep it up

  • @breakthecode8323
    @breakthecode8323 2 года назад

    You teach incredibly, thanks 🙏

  • @deepas3680
    @deepas3680 4 года назад

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

  • @daniilpogolovkin8221
    @daniilpogolovkin8221 Год назад

    thanks!

  • @jagrutnimmala6087
    @jagrutnimmala6087 3 года назад

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

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 4 года назад

    Superb! Thank you.

  • @malechas2174
    @malechas2174 3 года назад

    Mike, again top tutorial.

  • @gabriel7924
    @gabriel7924 4 года назад

    Thank you so much for this

  • @olgaolga4843
    @olgaolga4843 4 года назад

    Thanks Mike, a great explanation!

  • @sonamuhialdeen7866
    @sonamuhialdeen7866 3 года назад

    Amazing tutorial

  • @salitotakhel3824
    @salitotakhel3824 4 года назад

    THANK U

  • @Cognitoman
    @Cognitoman 5 лет назад

    Thank you

  • @pavanakumarpk2525
    @pavanakumarpk2525 5 лет назад

    RM