Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
04001 Smith 23 England computing
05002 Johnson 18 USA e-commerce
05012 Hall 32 England bioinformatics
06111 Wang 18 China economics
05441 Edwards 25 Scotland computing
13344 Wong 35 China economics
19921 Jowell 25 England e-commerce
10022 O'Neil 22 Ireland computing
Applicants
ProgName Faculty Location
computing computing verney park
e-commerce 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 (11022,Johnson,22,Ireland,accounting) into the Applicants table?

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

Show that P{Ta Answered: 1 week ago

Answered: 1 week ago

Question

2. Define communication.

Answered: 1 week ago