Using SQL to Select Records from Multiple Tables

Sdílet
Vložit
  • čas přidán 5. 04. 2022
  • Following on from my previous video introducing the SELECT query, this video shows how to use primary and foreign keys to connect up related tables when you need to retrieve records from both.
    Prerequisite knowledge is:
    Databases intro: • Relational Databases a...
    SQL SELECT from one table: • Using SQL to Select Re...

Komentáře • 25

  • @osoriomatucurane9511
    @osoriomatucurane9511 Před 6 dny

    Awesome, crystal.clear and concise. I really found useful the second example, where you go strait and perform filtering operation. In many cases an inner ou nested query would have been used to solve that one but I persornally find it hard to read subqueries under the where clause.
    Thank you for the insightful tutorial.

  • @user-fy6kj8gm4e
    @user-fy6kj8gm4e Před 8 měsíci +3

    I spent hours with lots of videos and posts and not a single saint could finally save me. Thank you very much Mr. Brown and just in time to sent my work for evaluation here from Brazil. Best regards, Diego

  • @justbee1917
    @justbee1917 Před rokem

    Hey MrBrown, thank you very much for posting this vid. Your explanation helped a lot.

  • @Danieldrd
    @Danieldrd Před 2 lety +1

    Excellent video, thanks

  • @daniellebobb8170
    @daniellebobb8170 Před rokem +1

    How do you bulk upsert a temp table into a target table when the temp table doesn't have a PK or common field with the target table?

  • @hoylechannel339
    @hoylechannel339 Před rokem

    Thank you for your explanation. I hope you also use this in real life scenario. again thank you

  • @aymansammo2460
    @aymansammo2460 Před rokem +4

    Much more helpful than my teacher at University, thank you so much

  • @DaBestOhYeah
    @DaBestOhYeah Před rokem

    Really great Tutorial :)

  • @shafiranurbadriyah1655

    thank you for your explanation

  • @user-yn6tm6nb2r
    @user-yn6tm6nb2r Před 7 měsíci

    Thank you very much, it is very easy and clear

  • @anshiyer4931
    @anshiyer4931 Před rokem

    Thank you so so so so much.

  • @catharperfect7036
    @catharperfect7036 Před rokem

    Cheers for the vid my fellow chimpin code puppy

  • @mineswah4363
    @mineswah4363 Před rokem

    Thank you so much

  • @eagle1573
    @eagle1573 Před rokem

    How can also I insert join statement in this query? Is it possible?

  • @Kalocaball
    @Kalocaball Před 3 měsíci

    Thanks!!

  • @CheeCarniel
    @CheeCarniel Před rokem +3

    How do you select an aditional third table

    • @mawhadmd7086
      @mawhadmd7086 Před rokem

      same thing, just add the table like, FROM table 1, table 2, table 3

  • @user-ld1tz2de4o
    @user-ld1tz2de4o Před rokem

    How can sql server using this on outer join situation

  • @infokontent
    @infokontent Před 4 měsíci

    May God help you, it was a very useful video

  • @Myself_9037
    @Myself_9037 Před 11 měsíci

    I have a doubt. I have table with two fields, one field is array in table 1
    uID | Contact
    2 | 1221,1223
    3 | 1123
    Now value of 1221 and 1223 are in table Two. I want a query to join table 1 and table 2 using array of field2

  • @richard34urp
    @richard34urp Před rokem +1

    Is this equivalent to JOINs ?

  • @alexyakoveno4682
    @alexyakoveno4682 Před rokem