To the column id_number in the table persons, add a named foreign key constraint fk_id referring to the primary key column id_number in the table documents. Specify the ON DELETE action: use cascade.
FOREIGN KEY constraint
Application
Report a typo
Write an SQL statement
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.