Question: Consider the relation Shipping(Ship, Capacity, Date, Cargo, Value) with the FDs: F = {ShipCapacity, ShipDateCargo, CargoCapacityValue}. (a) Find a minimal basis for F. (b) Suppose

Consider the relation Shipping(Ship, Capacity, Date, Cargo, Value) with the FDs: F = {ShipCapacity, ShipDateCargo, CargoCapacityValue}.

(a) Find a minimal basis for F.

(b) Suppose we decompose the relation Shipping into: R1(Ship,Capacity) and R2(Ship, Date, Cargo, Value). Is this decomposition lossless join and dependency-preserving? Why (not)?

(c) Answer the previous question if R is decomposed into the following 3 relations:

R1(Cargo, Capacity, Value),

R2(Ship, Capacity),

R3(Ship, Date, Cargo).

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!