Please use ERDPlus (free online) to create
Please use ERDPlus (free online) to create your relational schema (use the relational diagram). ERDPlus will draw in your Referential Integrity. You may either Hand Draw the functional dependencies (FDs) or you can copy and paste into PowerPoint and use PPT to draw in your FDs. Make sure you show functional dependencies and referential integrity on the same diagram.
The attachment below has 8 questions. Please use ErdPlus to create relational schema for each problems (Logical Model) and then draw the functional dependencies.
Homework 3
Draw the relational schema for each of the following.
1.
2. Note: The double circle represents a multivalued attribute.
2
NOT Multivalued!!!! It is a COMPOSIT Key only!
4. Normalize and draw the relational schema for the following. Note: The dotted attribute is a derived attribute.
5. The following table contains sample data for PART SUPPLIERS.
Part_No |
Description |
Vendor Name |
Address |
Unit_Cost |
1234 |
Logic Chip |
Fast Chips |
Cupertino |
10.00 |
Smart Chips |
Phoenix |
8.00 |
||
5678 |
Memory Chip |
Fast Chips |
Cupertino |
3.00 |
Quality Chips |
Austin |
2.00 |
||
Smart Chips |
Phoenix |
5.00 |
6. Normalize the following relationship – draw the relational schema.
7. The following figure provides a sample report card from OU. Convert this user view to a set of 3NF relations. Assume the following: An instructor has a unique location, a student can have more than one major, and a course has a unique title.
EXTRA CREDIT
,
{"version":2,"www":"erdplus.com","shapes":[{"type":"Table","details":{"name":"Book","x":82,"y":21,"sort":"automatic","attributes":[{"names":["Title"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":2},{"names":["Edition"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":3},{"names":["ISBN"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":4},{"names":["Publisher"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":5},{"names":["Author"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":6}],"uniqueGroups":[],"id":1}},{"type":"Table","details":{"name":"Customer","x":443,"y":37,"sort":"automatic","attributes":[{"names":["CustNu"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":8},{"names":["Name"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":9},{"names":["Email"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":10},{"names":["Phone"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":11},{"names":["Street"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":12},{"names":["City"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":13},{"names":["State"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":14},{"names":["Zip"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":15}],"uniqueGroups":[],"id":7}},{"type":"Table","details":{"name":"Is Sold","x":91,"y":179,"sort":"automatic","attributes":[{"names":["ISBN"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":true,"dataType":"int","dataTypeSize":null,"id":17,"references":[{"tableId":1,"attributeId":4}]},{"names":["CustNu"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":true,"dataType":"int","dataTypeSize":null,"id":19,"references":[{"tableId":7,"attributeId":8}]},{"names":["Sales Date"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":21},{"names":["SalesRefNu"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":22},{"names":["Sales Amount"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":23}],"uniqueGroups":[[17,19]],"id":16}}],"connectors":[{"type":"TableConnector","details":{"fkAttributeId":17,"id":18},"source":1,"destination":16},{"type":"TableConnector","details":{"fkAttributeId":19,"id":20},"source":7,"destination":16}],"width":2000,"height":1000}
,
{"version":2,"www":"erdplus.com","shapes":[{"type":"Table","details":{"name":"Artist","x":17,"y":14,"sort":"automatic","attributes":[{"names":["LName"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":2},{"names":["YrBorn"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":3},{"names":["Main Style"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":4},{"names":["FName"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":5},{"names":["YrDied"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":6},{"names":["Country"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":7}],"uniqueGroups":[],"id":1}},{"type":"Table","details":{"name":"ArtPiece","x":233,"y":6,"sort":"automatic","attributes":[{"names":["ID#"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":9},{"names":["Type"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":10},{"names":["Title"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":11},{"names":["Yr"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":12},{"names":["Style"],"order":0,"pkMember":false,"optional":false,"soloUnique":false,"fk":false,"dataType":"int","dataTypeSize":null,"id":13},{"names":["LName","YrBorn"],"order":0,"pkMember":true,"optional":false,"soloUnique":false,"fk":true,"dataType":"int","dataTypeSize":null,"id":14,"references":[{"tableId":1,"attributeId":2},{"tableId":1,"attributeId":3}]}],"uniqueGroups":[],"id":8}}],"connectors":[{"type":"TableConnector","details":{"fkAttributeId":14,"id":15},"source":1,"destination":8}],"width":2000,"height":1000}
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.