Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DATABASE DESIGN PROBLEMS. READ AND ANSWER ALL PLEASE. THANKS. ========= Which of the following code will create a foreign key named fk honnors on the

DATABASE DESIGN PROBLEMS. READ AND ANSWER ALL PLEASE. THANKS.

=========

image text in transcribed

Which of the following code will create a foreign key named fk honnors on the column honors_subject of table students? The constraint is that the values need to reference the values of table HonnorsSubjects, column honors_subject_id. A It's not possible to create a foreign key after you have created a table. B ALTER TABLE Students ADD CONSTRAINT k_honnors FOREIGN KEY (honors_subject) REFERENCES HonnorsSubjects (honors_subject_id); C ALTER TABLE ADD CONSTRAINT Students.fk honnors (honors_subject) FOREIGN KEY REFERENCES HonnorsSubjects (honors_subject); D ALTER TABLE FOREIGN KEY REFERENCES Students (honors_ subject) E None of the above HonnorsSubjects ADD CONSTRAINT ik_honnors (honors_subject_id)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Discuss consumer-driven health plans.

Answered: 1 week ago