What is a foreign key?
Correct Answer: A foreign key is a primary key in another table.
- Step 1: Understand that a database is made up of tables that store information.
- Step 2: Each table can have a special column called a primary key that uniquely identifies each row in that table.
- Step 3: A foreign key is a column in one table that links to the primary key of another table.
- Step 4: This link creates a relationship between the two tables, allowing you to connect related data.
No concepts available.