Create a table animals with columns name VARCHAR(20), animal_kind VARCHAR(20) and owner_id INT. The owner_id column should be an unnamed foreign key pointed to the column id in the table persons.
FOREIGN KEY constraint
Pets
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.