SQL: Understanding the JOIN clause in the SELECT statement

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 101

  • @jonathanzuniga3681
    @jonathanzuniga3681 10 років тому +19

    I just had an instructor spend 2 hours trying to explain this. Thank you Mr Fudge!

  • @borislavkamenov366
    @borislavkamenov366 8 років тому +1

    Definitely the best explanation of SQL Join in the Internet. Thank you, bro!

  • @smackie001
    @smackie001 5 років тому

    The first video to explain the ON clause. Thank you!!

  • @KeniGid
    @KeniGid 12 років тому

    Splendid job, Mr Fudge. You rock!

  • @victorross8045
    @victorross8045 11 років тому

    Hello Michael. I taking a Master's level course in SQL. I did not understand joins at all until I viewed your video. Thank you!

  • @echosystemd
    @echosystemd 8 років тому +2

    Simple yet elegant explanation. Thumb up.

  • @rocker11742
    @rocker11742 13 років тому

    With your help I am survivng my POS/410 class. Thank you.

  • @AjayKagitha
    @AjayKagitha 13 років тому

    Michael, you're excellent. I love the way you explained. Keep up the good work.

  • @michaelfudge
    @michaelfudge  12 років тому

    You're welcome! I'm glad you're finding these useful...

  • @BeingABeing
    @BeingABeing 5 років тому

    best and easiest explanation of joins I've been able to find. ty

  • @aks3479
    @aks3479 3 роки тому

    Simple, Short and Precise explanation.
    Thanks for video

  • @Keontez24
    @Keontez24 12 років тому

    Thank you for keeping it simple and easy to understand. Great Video!!!!

  • @pavansantos
    @pavansantos 13 років тому

    the best way to explain joins.

  • @KracNelly
    @KracNelly 13 років тому

    You are amazing!!!! I so much like your simple ways to teach.

  • @TedEthio
    @TedEthio 10 років тому

    Excellent! To the point! Worth every minute!

  • @electro46475
    @electro46475 10 років тому +21

    Because a simple "like" is not enough, Thank you so much!

    • @michaelfudge
      @michaelfudge  10 років тому +2

      St Tomas You're welcome!

    • @mafakka2
      @mafakka2 8 років тому

      does it work in 2016 same way?

    • @rsz90182
      @rsz90182 8 років тому

      You can always try and find out.

  • @sreeramvalavala506
    @sreeramvalavala506 11 років тому +3

    Thanks for giving us clarity with comparison Michael.. :)

  • @Jstar141957
    @Jstar141957 12 років тому

    Great illustration... I understand it much better!

  • @aureliojargas
    @aureliojargas 13 років тому

    Excellent! For the first time I really understood all this mess. Thank you!

  • @bbanno123
    @bbanno123 9 років тому

    This was very clear and addressed my confusion. Thanks so much Michael!

  • @fico455
    @fico455 8 років тому +3

    You taught me more than our teacher did during the whole semester. Thank you so much.

  • @jessieboswachter
    @jessieboswachter 7 років тому

    Hey Michael, thank you for this short and great tutorial.

  • @inrito2007
    @inrito2007 12 років тому

    Thank you so much for sharing your knowledge, it is truly valued and greatly appreciated! I’m new to SQL but have crystal report background and these videos have really helped start in the right direction!...>Again, thank you so much for your time!

  • @tails_zero
    @tails_zero 12 років тому

    Seriously thank you for this, Michael.

  • @7heFatman07
    @7heFatman07 8 років тому +2

    Thanks a lot, this is way better than the we got at the University :D

  • @purnimadas3762
    @purnimadas3762 8 років тому

    Thank you Michael, simple concepts and so well explained. Thanks once again!

  • @kj-marslander
    @kj-marslander 8 років тому +1

    you summarized a 30 page chapter into 10 fun minutes. Thanks.

  • @arjunchakravarthy8457
    @arjunchakravarthy8457 10 років тому

    thanks a lot Mr.Michael Fudge

  • @BlueKalue
    @BlueKalue 9 років тому

    Thank you! I couldn't understand this just by reading. Really helpful having an example.

  • @michaelfudge
    @michaelfudge  11 років тому

    You are welcome!

  • @pedrojmanuel
    @pedrojmanuel 11 років тому +1

    Hi Michael,
    Can you exlain when you need to do a sub query select clause in a Join . I have a big confusion with this kind of groups... what is need for!
    tks

  • @spp2000
    @spp2000 7 років тому

    fantastic explanation...I follow the 89 syntax only your video helps a lot...god bless you

  • @daryldyehouse6404
    @daryldyehouse6404 5 років тому

    Thank you for your wisdom!

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

    thanks, straightforward and works

  • @3765alaye
    @3765alaye 10 років тому

    Mucho gracias for the detail and clear explanation on joints

  • @lb9017
    @lb9017 12 років тому

    Great! I was looking for something like this! thx

  • @kustar845
    @kustar845 9 років тому

    Thank you very much Michael! great simple tutorial!

  • @johnhio1843
    @johnhio1843 7 років тому

    You made it simple, thanks a lot sir.

  • @theFlyingUnderpants191
    @theFlyingUnderpants191 9 років тому

    thanks man! and great tutorial... its going to get me through my DBMS paper tomorrow! :)

  • @ejoaquinhuertas
    @ejoaquinhuertas 10 років тому

    Thank you Michael! This does "clear the muddy waters" on SQL joins

    • @ejoaquinhuertas
      @ejoaquinhuertas 10 років тому

      ***** Thanks. I just added it to my favorites.

  • @daadylomax
    @daadylomax 11 років тому

    very helpful and precise....thank you!

  • @liuhc
    @liuhc 5 років тому

    Saved my day, thank you!

  • @Darkness93
    @Darkness93 7 років тому

    This was brilliant! Cleared it all up for me, thanks :)

  • @DoctorDARKSIDE
    @DoctorDARKSIDE 11 років тому

    Nice one, very well explained!

  • @GeorgeUK84
    @GeorgeUK84 8 років тому +14

    Hey Michael, are you aware that this video is used as course material at the graduate level at Central Michigan University?

  • @GunjanGrunge
    @GunjanGrunge 4 роки тому

    very well explained

  • @FranciscoAndres27
    @FranciscoAndres27 7 років тому +1

    Awesome! thank you I finally get it!

  • @pop-cornfuelsllc7924
    @pop-cornfuelsllc7924 5 років тому

    Hey Michael, great tutorial. Are there any transcripts available for basic SELECT and JOIN clause?

  • @jhormanrodriguez1377
    @jhormanrodriguez1377 11 років тому

    a big thanks from colombia

  • @michaelfudge
    @michaelfudge  11 років тому +1

    Because you cannot query more than one table and combine the results into a single output without a join.

  • @mypcissues
    @mypcissues 13 років тому

    thanks so much really nice to understand

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

    why is that "join" greyed out? 1:53

  • @michaelfudge
    @michaelfudge  12 років тому

    Thank you.

  • @sanjutsi
    @sanjutsi 14 років тому

    Thanks, very clear!

  • @bflance
    @bflance 12 років тому

    awesome videos!
    helps alot.

  • @victoriakim923
    @victoriakim923 9 років тому

    Thanks a lot for clear explanation! Great video:-)

  • @ComandanteJ
    @ComandanteJ 6 років тому

    Excellent explanation.

  • @kennycelt
    @kennycelt 11 років тому

    Very nice, Thank you.

  • @itsdannyftw
    @itsdannyftw 10 років тому

    Excellent video :D

  • @Chaniity
    @Chaniity 6 років тому

    it really helps me, Thank you so much Sir!

  • @pathless_path_hindi
    @pathless_path_hindi 10 років тому

    clear explanation! thanks!

  • @naharulhayat
    @naharulhayat 7 років тому

    you are the best...thank you very much

  • @mksktube
    @mksktube 9 років тому

    Nice and Easy. Thank you.

  • @Thona-KH
    @Thona-KH 9 років тому

    Thank you so smuch for your video it help me a lot....

  • @negromaldito
    @negromaldito 8 років тому

    Thank you! very clear

  • @bflance
    @bflance 11 років тому

    Thanx for the reply Michael! :)
    I will rephrase my question:
    Now i do know why i need JOINs yet, the problem i have here is following:
    i have several tables, one for emails one for user and one for salaries (for example..)
    i want to delete all users that have in their email address (at)domain.com..
    i would expect to use "join" query to get list of such users than then delete,it doesnt work.
    i cant understand how to use JOIN to make delete from all tables all info of users searched.
    on SQLite3.

  • @chandu309
    @chandu309 13 років тому

    nice explanation...thnk u very much..

  • @chrison87
    @chrison87 7 років тому

    Thanks for the great video...!

  • @CarlosGarcia-bj2py
    @CarlosGarcia-bj2py 11 років тому

    Thank you, great video.

  • @hadireg
    @hadireg 8 років тому

    Awesome! Thanks sir!

  • @dthpunch666
    @dthpunch666 8 років тому

    thanks for the tutorial.. really helpful :)

  • @RedBlade32
    @RedBlade32 8 років тому

    Nice voice to listen to

  • @kakhitv587
    @kakhitv587 8 років тому

    Good Video Thanks alot

  • @vatodeth
    @vatodeth 11 років тому +1

    THANKS!!!!

  • @jghanesh
    @jghanesh 12 років тому

    Thanks so much

  • @michaelfudge
    @michaelfudge  11 років тому +1

    When you use a SELECT in the FROM clause, it must be aliased and it treated as if it were a table or view for example:
    SELECT a.customer_name FROM ( SELECT customer_name FROM customers ) a
    Its more difficult to answer WHY you'd need to use this pattern. Perhaps I should explain in a future video :-)

  • @RatherBAnon
    @RatherBAnon 10 років тому

    Here's hoping Mr. Fudge goes on to outclass Jordan in basketball. Thanks for the great tutorial!

    • @michaelfudge
      @michaelfudge  10 років тому

      Rather B. Anon Me too, but given my short height and poor dribbling skills, I'm confident a 75 year-old Jordan would crush me 1 on 1. :-)

  • @bflance
    @bflance 11 років тому

    nice video, but couldnt understand anything..
    what are joins? why do we need them???

  • @dmitryck
    @dmitryck 12 років тому

    very good.. thanx

  • @swamysasank
    @swamysasank 6 років тому

    Thanks Brother

  • @LoldemortII
    @LoldemortII 7 років тому

    finnaly got it. thanks ;)

  • @n70amu
    @n70amu 8 років тому

    thank you soo much sir

  • @DineshSharma-fz3wr
    @DineshSharma-fz3wr 7 років тому

    great vedio sir

  • @AshishPatil03
    @AshishPatil03 10 років тому

    nice example

  • @charithananayakkara7
    @charithananayakkara7 6 років тому

    thanks u very much

  • @yesehakesolomon4763
    @yesehakesolomon4763 11 років тому

    Awesome!!!

  • @giourumashvili
    @giourumashvili 8 років тому

    where is natural join?

  • @Hernaner28
    @Hernaner28 10 років тому

    you missed the natural join

  • @231doughboy
    @231doughboy 7 років тому

    A+

  • @jovanpetkoski530
    @jovanpetkoski530 5 років тому

    I created a repo with all the queries and notes from this series. Someone might find it useful: github.com/Petkoski/mf-learn-ms-sql-server

  • @tien4930
    @tien4930 6 років тому

    CAPTAIN FUDGE

  • @ganeshkumarsiva176
    @ganeshkumarsiva176 5 років тому

    Thanks a lot

  • @ArslanAlihanafi
    @ArslanAlihanafi 8 років тому

    Thank you.