Question: A database has three tables: students, courses, and grades. StudentID is the primary key in the students table. SID is a field serving as a

A database has three tables: students, courses, and grades. StudentID is the primary key in the students table. SID is a field serving as a foreign key in the grades table that connects with the StudentID field in the students table. If we have 5 students in the students table (StudentID: S1, S2, S3, S4, and S5), of whom S2, S4, and S5 also appear in the grades table. Which of the following does not violate referential integrity constraint?
Changing SID S5 in the grades table to S9
Changing StudentID S2 in the students table to S6
Changing FName Abby in the students table to Veronica
Deleting student S4 from the students table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!