Question: The following relational database contains two tables Applicants and Programmes where attribute Course Applied is a foreign key that refers to attribute progName: ID# Name
The following relational database contains two tables Applicants and Programmes where attribute Course Applied is a foreign key that refers to attribute progName:
ID# Name Age Country Course Applied
Smith England computing
Johnson USA ecommerce
Hall England bioinformatics
Wang China economics
Edwards Scotland computing
Wong China economics
Jowell England ecommerce
O'Neil Ireland computing
Applicants
ProgName Faculty Location
computing computing verney park
ecommerce computing verney park
bioinformatics sciences clore bldg
economics business ADR bldg
Animation computing verney park
Let us assume that referential integrity constraint on progName is enforced.
a What would be the effects of the enforcement actions NO ACTION and CASCADE when a programme is withdrawn?
b What happens when the user tries to insert a new row JohnsonIrelandaccounting into the Applicants 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
