SQL Tutorial: How to Create Tables Containing Foreign Keys

preview_player
Показать описание
Explore the full course on Udemy:

In this video you will learn how to:

- Create tables in a database using SQL
- How to set a column as a Foreign Key which references a column in a separate table.

#foreignkey
#postgresql
#sqltutorial
Рекомендации по теме
Комментарии
Автор

thnx for tutorial 😊 we appreciate your contribution

vaibhavipatil
Автор

Hi when i do this method of writing the foreign key it says that i have a missing parenthesis, do u know where’s the problem?

ghadialbaghdadi
Автор

you forgot the foreign key clause in the last line

k-tech
Автор

how to put data in a first table having foreign key to second table's primary key and second table have foreign key to first table's primary key

goner