Question: Remaining Time: 3 hours, 2 0 minutes, 5 0 seconds. Question Compietion Status: 1 0 2 0 3 Q 4 5 1 2 6 7

Remaining Time: 3 hours, 20 minutes, 50 seconds.
Question Compietion Status:
10
20
3Q
4
512
6
70
8
9
10C
11
12 L ?2
130
14
15
16
17
Question 22
Consider the following database.
Relation Schemas:
Relation Schemas:
Suppliers(sID CHAR(5),
sName VARCHAR(15), address VARCHAR(30), city VARCHAR(20), state CHAR(2), PRIMARY KEY(sID));
Cntnlog(sID CHAR(5),
pID VARCHAR(5),
qty SMALLINT,
cost FLOAT(10,2),
PRIMARY KEY(sid, pid),
FOREIGN KEY(sid) REFERENCES Suppliers(sID),
FOREIGN KEY(pid) REFERENCES Parts (p(D));
The meaning of these relations is straightforward; for example, the Catalog relation lists the prices charge
Instances of the relations:
Suppliers
\table[[sID,sName,address,city,state],[A3001,At,123IT St.,Greensboro,NC],[A2002,Harold Goods,456ET St.,Greensboro,NC],[A3010,Robert Computers,789 CT Rd.,Charlotte,NC],[A0501,Brown Brothers,323 BE Rd.,Charlotte,NC]]
Parts
\table[[pID,type,pName,color],[M305,Mouse,Wireless Optical Mouse,Black],[KB010,Kevboard,Logitech Cordless Desktop,White],[M111,Mouse,Wireless Optical Mouse,Pink]]
Parts(pID VARCHAR(5), type VARCHAR(15), pName VARCHAR(35), color VARCHAR(20),
PRIMARY KEY(pID));
Suppose that "Delete FROM Suppliers WHERE sName = 'Harold Goods';" is applied directly to the a
A. Accept, there are no constraint violations.
B. Reject, it violates both the key constraint and referential integrity constraint.
C. Reject, it violates the referential integrity constraint.
D. Reject, it violates the key constraint.
 Remaining Time: 3 hours, 20 minutes, 50 seconds. Question Compietion Status:

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!