Table constraints - FOREIGN KEY
58.3
Lesson

FOREIGN KEY - Multiple foreign keys

Note that there can be multiple FOREIGN KEYS on a table, with references to primary keys of multiple tables. Look at the following example, that creates another table grades before creating students, and then adds FOREIGN KEYS for both grades and courses on students table.