Question: In a relational database that includes a 'Customers' table and an 'Orders' table, where each order is linked to a customer through a 'CustomerID', which
In a relational database that includes a 'Customers' table and an 'Orders' table, where each order is linked to a customer through a 'CustomerID', which of the following scenarios could potentially violate referential integrity and lead to database anomalies?
Updating a 'CustomerID' in the 'Customers' table without cascading changes to the 'Orders' table.
Adding a new order to the 'Orders' table with a 'CustomerlD' that does not exist in the 'Customers' table.
All of the above
Deleting a record from the 'Customers' table without checking if there are related orders in the 'Orders' table.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
