What is Foreign key?
A column that holds another table's primary key, so a row can point at a row elsewhere instead of copying its data.
Learn it properly
Chapter 7: Omar's Pantry
What databases are and how data is stored in them
Read chapter 7 →A column that holds another table's primary key, so a row can point at a row elsewhere instead of copying its data.
What databases are and how data is stored in them
Read chapter 7 →