Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Foreign keys
Multi-column Foreign Keys
Summary

Instruction

Good. Now that we have the table with a foreign key, let's find out how it works.

Exercise

Try to INSERT a new project into the project table with a manager_id that will be incorrect. Do you think this action will succeed?

Stuck? Here's a hint!

For example, type:

INSERT INTO project VALUES
(6, 'Valentine''s Day', 'A project to send gifts to all of our employees.', 15);