Write the relational schema, draw its dependency diagram and identify all dependencies, including all partial and transitive dependencies
3. Using the INVOICE table structure shown in Table P6.3, do the following:
Table P6.3 Sample INVOICE Records
Attribute Name |
Sample Value |
Sample Value |
Sample Value |
Sample Value |
Sample Value |
INV_NUM |
211347 |
211347 |
211347 |
211348 |
211349 |
PROD_NUM |
AA-E3422QW |
QD-300932X |
RU-995748G |
AA-E3422QW |
GH-778345P |
SALE_DATE |
15-Jan-2010 |
15-Jan-2010 |
15-Jan-2010 |
15-Jan-2010 |
16-Jan-2010 |
PROD_LABEL |
Rotary sander |
0.25-in. drill bit |
Band saw |
Rotary sander |
Power drill |
VEND_CODE |
211 |
211 |
309 |
211 |
157 |
VEND_NAME |
NeverFail, Inc. |
NeverFail, Inc. |
BeGood, Inc. |
NeverFail, Inc. |
ToughGo, Inc. |
QUANT_SOLD |
1 |
8 |
1 |
2 |
1 |
PROD_PRICE |
$49.95 |
$3.45 |
$39.99 |
$49.95 |
$87.75 |
a. Write the relational schema, draw its dependency diagram and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that any invoice number may reference more than one product. (Hint: This table uses a composite primary key.)
b. Remove all partial dependencies, draw the new dependency diagrams, and identify the normal forms for each table structure you created.
c. Remove all transitive dependencies, and draw the new dependency diagrams. Also identify the normal forms for each table structure you created.
d. Draw the Crow’s Foot ERD.
5. To keep track of office furniture, computers, printers, and so on, the FOUNDIT company uses the table structure shown in Table P6.5.
Table P6.5 Sample ITEM Records
Attribute Name |
Sample Value |
Sample Value |
Sample Value |
ITEM_ID |
231134-678 |
342245-225 |
254668-449 |
ITEM_LABEL |
HP DeskJet 895Cse |
HP Toner |
DT Scanner |
ROOM_NUMBER |
325 |
325 |
123 |
BLDG_CODE |
NTC |
NTC |
CSF |
BLDG_NAME |
Nottooclear |
Nottoclear |
Canseefar |
BLDG_MANAGER |
I. B. Rightonit |
I. B. Rightonit |
May B. Next |
a. Given that information, write the relational schema and draw the dependency diagram. Make sure that you label the transitive and/or partial dependencies.
b. Write the relational schemas and create a set of dependency diagrams that meet 3NF requirements. Rename attributes to meet the naming conventions, and create new entities and attributes as necessary.
c. Draw the Crow’s Foot ERD.
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.