fetch

Using SQL to Select Records from Multiple Tables

0:00
↔️ ↕️

Timecodes:

hello we are going to continue looking

at sql now actually continuing with sql

select a particular query with an sql

looking at how you apply it to

two tables and actually this idea

extends across more than two tables but

i'm only going to show two tables in

this video with two examples so just a

quick recollection because it is

important for this

concept there are two really important

terms in database theory

you've got primary keys and you've got

foreign keys both are fields both for

columns in tables but we are a little

bit different a primary key uniquely

identifies a record

it must be unique for every row in your

table

often something like id but not always a

foreign key


Related queries:


how to get data from another table in sql
how to select data from another table in sql
how to pull data from another table in sql
how to get values from another table in sql
how to select data from different tables in sql
how to retrieve data from different tables in sql
how to select values from different tables in sql
how to fetch data from table in sql
how to fetch data from table in sql query
how to get data from 3 different tables in sql
how to get data from 2 different tables in sql without join
how to get data from another table using foreign key in sql
how to fetch data from dynamic table in sql
how to fetch data from two table in sql
how to fetch data from temporary table in sql server