Using SQL to Select Records from Multiple Tables

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 เม.ย. 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...

ความคิดเห็น • 25

  • @osoriomatucurane9511
    @osoriomatucurane9511 6 วันที่ผ่านมา

    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 8 หลายเดือนก่อน +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 ปีที่แล้ว

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

  • @Danieldrd
    @Danieldrd 2 ปีที่แล้ว +1

    Excellent video, thanks

  • @daniellebobb8170
    @daniellebobb8170 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @aymansammo2460
    @aymansammo2460 ปีที่แล้ว +4

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

    • @michaelmimichaelmi
      @michaelmimichaelmi ปีที่แล้ว +1

      Literally why I'm here myself. Wish he taught my class.

  • @DaBestOhYeah
    @DaBestOhYeah ปีที่แล้ว

    Really great Tutorial :)

  • @shafiranurbadriyah1655
    @shafiranurbadriyah1655 ปีที่แล้ว

    thank you for your explanation

  • @user-yn6tm6nb2r
    @user-yn6tm6nb2r 7 หลายเดือนก่อน

    Thank you very much, it is very easy and clear

  • @anshiyer4931
    @anshiyer4931 ปีที่แล้ว

    Thank you so so so so much.

  • @catharperfect7036
    @catharperfect7036 ปีที่แล้ว

    Cheers for the vid my fellow chimpin code puppy

  • @mineswah4363
    @mineswah4363 ปีที่แล้ว

    Thank you so much

  • @eagle1573
    @eagle1573 ปีที่แล้ว

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

  • @Kalocaball
    @Kalocaball 3 หลายเดือนก่อน

    Thanks!!

  • @CheeCarniel
    @CheeCarniel ปีที่แล้ว +3

    How do you select an aditional third table

    • @mawhadmd7086
      @mawhadmd7086 ปีที่แล้ว

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

  • @user-ld1tz2de4o
    @user-ld1tz2de4o ปีที่แล้ว

    How can sql server using this on outer join situation

  • @infokontent
    @infokontent 4 หลายเดือนก่อน

    May God help you, it was a very useful video

  • @Myself_9037
    @Myself_9037 11 หลายเดือนก่อน

    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 ปีที่แล้ว +1

    Is this equivalent to JOINs ?

  • @alexyakoveno4682
    @alexyakoveno4682 ปีที่แล้ว