Вы находитесь на странице: 1из 2

1. Choose a key and write the dependencies for the following GRADES relation: 2.

GRADES (Student_ID, Course#, Semester#, Grade) 2. Choose a key and write the dependencies for the LINE_ITEMS relation: LINE_ITEMS (PO_Number, ItemNum, PartNum, Description, Price, Qty) 3. What normal form is the above LINE_ITEMS relation in ? 4. What normal form is the following relation in: STORE_ITEM (SKU, PromotionID, Vendor, Style, Price) SKU, PromotionID -> Vendor, Style, Price SKU -> Vendor, Style 5. Normalize the above relation into the next higher normal form: 6. Choose a key and write the dependencies for the following SOFTWARE relation (assume all of the vendor's products have the same warranty): SOFTWARE (SoftwareVendor, Product, Release, SystemReq, Price, Warranty) SoftwareVendor, Product, Release -> SystemReq, Price, Warranty 7. Normalize the above SOFTWARE relation into 4NF C, R -> D D -> N 8. Consider the following relation: Shipping (ShipName, ShipType, VoyageID, Cargo, Port, Date) Hint: Date is the date the ship arrives in the given Port With the functional dependencies:

ShipName -> ShipType VoyageID -> ShipName, Cargo ShipName, Date -> VoyageID, Port (a) Identify the candidate keys. (b) Normalize to 2NF (c) Normalize to 3NF (d) Normalize to BCNF 9. Given the following relation and example data: PartNumber 10010 10010 10220 10220 10220 10440 Description 20 GB Disk 20 GB Disk 256 MB RAM card 256 MB RAM card 256 MB RAM card 17" LCD Monitor IBM Kensington IBM Sun Microsystems IBM Supplier Seagate SupplierAddress Cuppertino, CA Armonk, NY San Mateo, CA Armonk, NY Palo Alto, CA Armonk, NY Price $100 $90 $220 $290 $310 $2,100

List the functinoal dependencies and Normalize this relation into BCNF.

Вам также может понравиться