To the column customer_id in the table orders, add a named foreign key constraint fk_customers referring to the primary key column customer_id in the table customers.
FOREIGN KEY constraint
Link the tables
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.