Question · SQL and MySQL course · Module 9: Indexes and normalization
Referential integrity
What does the referential integrity enforced by a foreign key guarantee?
Answer options
- That a cross-reference (e.g. autor_id) always points to an existing row in the related table
- That a table cannot have more than 100 rows
- That all columns have the same type
- That queries run twice as fast
You can check the correct answer by solving this task in the CodeWorlds game.