Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Add a foreign key to Pet referencing Owner. Also, add a check constraint ensuring PET _ AGE is greater than 0 . Select the correct
Add a foreign key to Pet referencing Owner. Also, add a check constraint ensuring PETAGE is greater than Select the correct SQL
a ALTER TABLE Pet
ADD FOREIGN KEY OWNERID REFERENCES Owner OWNERID
ADD CHECK PETAGE ;
b MODIFY TABLE Pet
ADD FOREIGN KEY OWNERID REFERENCES Owner OWNERID
ADD CHECK PETID ;
c ALTER TABLE Pet
ADD FOREIGN KEY OWNERID ADD CHECK PETID ;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started