SQL Tutorial #15 Constraints in SQL | FOREIGN KEY constraint in SQL

Опубликовано: 20 Январь 2026
на канале: Unboxing Big Data
48
3

A FOREIGN KEY is a field (or collection of fields) in one table, that refers to the PRIMARY KEY in another table.

The table with the foreign key is called the child table, and the table with the primary key is called the referenced or parent table.