Essay
Consider the following two relations:
Staff (staffNo, name, DOB, salary, deptNo)
Department (deptNo, deptName, managerStaffNo)
which are horizontally fragmented on the department number, deptNo. Assume there is an integrity constraint that requires that every member of staff earns less than every manager in the same department. Further assume that we wish to insert the tuple ('S9100', 'John Smith', '1-May-1960', 30000, 'D1') into the Staff relation. Under what conditions can this constraint be checked locally?
Correct Answer:

Verified
If a record has previously been inserted...View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Correct Answer:
Verified
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q1: Case Study 1 - Real Estate Agency<br>A
Q2: Case Study 4 - Complete Pet Care<br>A
Q3: Case Study 3 - InstantBuy<br>A home shopping
Q5: Consider the following simplified relational schema
Q6: Case Study 2 - Quack Consulting<br>Quack Consulting
Q7: Case Study 5 - Rapid Roads<br>A
Q8: Case Study 6 - Perilous Printing<br>Perilous
Q9: Discuss the advantages and disadvantages of fragmentation.
Q10: (a) A DDBMS may be classified as