Lab 6
Lab 6
Lab 6
Please work in groups to complete this lab. This lab is worth 2% of the total course grade and will be
evaluated through your written submission.
Please submit the following files through Blackboard. Only one person must submit for the team.
- Lab6.docx
We, Sahil Patel, Vishal Ponugoti, Saeed Fitrat Khuram, declare that the attached assignment is our
own work in accordance with the Seneca Academic Policy. No part of this assignment has been
copied manually or electronically from any other source (including web sites) or distributed to other
students.
2- Specify what each member has done towards the completion of this work:
Name Task(s)
1 Sahil patel 3,
2 Vishal Ponugoti
3 Saeed Fitrat Khuram 3,
3-
OrderID Order Date Customer Customer Customer ProductID Product Product Product Ordered
ID Name Address Description Finish Standard Quantity
Price
1006 10/24/2010 2 Value Plano, TX 7 Dining Table Natural 800.00 2
Furniture Ash
1006 10/24/2010 2 Value Plano, TX 5 Writers Desk Cherry 325.00 2
Furniture
1006 10/24/2010 2 Value Plano, TX 4 Entertainment Natural 650.00 1
Furniture Center Maple
1007 10/25/2010 6 Furniture Boulder, 11 4 Door Oak 500.00 4
Gallery CO Dresser
1007 10/25/2010 6 Furniture Boulder, 4 Entertainment Natural 650.00 3
Gallery CO Center Maple
2NF:
CLG ST_ ST_LN ST_M CLG_N DPT_C DPT_N DPT_PH ADV_LN ADV_O ADV_B ADV_P ST_G ST_HO ST_LE
_ID ID AME AJOR AME ODE AME ONE AME FFICE LDG HONE PA URS VEL
b. Create a database whose tables are at least in 2NF, showing the dependency diagram
for each table.
5- [Coronel and Russel- Q6.7] The dependency diagram in Figure Q6.7 indicates that authors are
paid royalties for each book that they write for a publisher. The amount of the royalty can vary
by author, by book, and by edition of the book.
a) Based on the dependency diagram, create a database whose tables are at least in 2NF,
showing the dependency diagram for each table.
b) Create a database whose tables are at least in 3NF, showing the dependency diagram for
each table.
6- [Coronel and Russel- P6.2] Using the descriptions of the attributes given in Figure P6.2,
a. Show the dependency diagram of the ERD shown (the initial dependency diagram).
Label partial and transitive dependencies.
b. Convert into a dependency diagram that is in at least 3NF.
Note: A session is defined as a set of presentations that are given on a specific date and in a specific
room. Therefore, all presentations that are scheduled for the same date and in the same room have the
same session number.
STUDENT
CLG_ID ST_ID ST_LNAME ST_MAJOR CLG_NAME DPT_CODE DPT_NAME DPT_PHONE ADV_LNAME ADV_OFFICE ADV_BLDG ADV_PHONE ST_GPA ST_HOURS ST_LEVEL
1 100 Stephanos Accounting Business ACCT Accounting 4356 Grastrand T201 TEL 2115 3.87 75 L1
Admin Building
1 101 Smith Accounting Business ACCT Accounting 4356 Grastrand T201 TEL 2115 2.78 45 L0
Admin Building
1 200 Jones Marketing Business MKTG Marketing 4378 Gentry T228 TEL 2123 2.31 117 L3
Admin Building
1 201 Ortiz Marketing Business MKTG Marketing 4378 Tillery T356 TEL 2159 3.45 113 L3
Admin Building
2 100 Stephanos Accounting Arts & MATH Mathematics 3420 Chen J331 Jones 3209 3.87 75 L1
Sciences Building
2 202 Johnson Graph Arts & MATH Mathematics 3420 Jackson J332 Jones 3210 3.42 115 L3
Sciences Building