Lab_03_AM10-13 - Solution - 7.104 DATABASE ENGINEERING I...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
7.104 DATABASE ENGINEERING I WEEK 03 – AM10-13 LAB / TUT SOLUTION RELATIONAL MODEL & NORMALIZATION This laboratory / tutorial exercise aims for the student to understand and gain skills on how to develop a relational data model: Functional Dependency, Modification Anomalies, Normalization, Multivalued Dependency. It is recommended for students to follow the order as listed below; (A) Examine the table below - ORDER_ITEM and answer questions follows; OrderNumber SKU Quantity Price ExtendedPrice 3000 100200 1 300 300 2000 101100 4 50 200 3000 101100 2 50 100 2000 101200 2 50 100 3000 101200 1 50 50 1000 201000 1 300 300 1000 202000 1 130 130 1. Is the above stated table a Relation or NOT? Yes, ORDER_ITEM is satisfying all criteria of a Relation 2. Write down the functional dependencies of the above stated table? (OrderNumber, SKU) → Quantity, Price, ExtendedPrice (Quantity, Price) → ExtendedPrice (B) Consider the table below STAFF_MEETING(EmployeeName, ProjectName, Date)
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EmployeeName ProjectName Date John ABC 11/01/2011 John CDE 12/01/2011 Mary XYZ 11/01/2011 Mary A3Z 12/01/2011 Peter ZCO 12/01/2011 John ABC 13/01/2011 The rows of this table record the fact that an employee from a particular project attended a meeting on a given date. Assume that a project meets at most once per day. Also, assume that only one employee represents a given project, but that employee can be assigned to multiple projects.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern