Lab 1.pdf - Lab 1 Advanced Databases Agenda Course organization Project Intro Tutorial on ERD Tutorial on RA Course Organization Course Organization

Lab 1.pdf - Lab 1 Advanced Databases Agenda Course...

This preview shows page 1 - 17 out of 34 pages.

Lab 1 Advanced Databases
Image of page 1

Subscribe to view the full document.

Agenda - Course organization - Project Intro - Tutorial on ERD - Tutorial on RA
Image of page 2
Course Organization
Image of page 3

Subscribe to view the full document.

Course Organization - Weekly lectures - Weekly labs - Midterm, final and project + assignments (TBD)
Image of page 4
Labs organization - Focus on hands-on-experience - Tutorials - Practice
Image of page 5

Subscribe to view the full document.

Entity-Relationship Diagrams
Image of page 6
ERD I ER diagram - a graph that represents entity sets, attributes, and relationships.
Image of page 7

Subscribe to view the full document.

ERD II An entity set may appear more than once in the same relationship. If this is the case, we need to introduce roles to denote different relationships to itself. Example: Each movie may have zero or more sequels, but each sequel has exactly one original movie. Movies Sequel-of 1 0..N Original Sequel
Image of page 8
ERD III Faithfulness - entity sets, their attributes, and relationships between them should reflect reality Students Universities Runs 1 N Students Mana
Image of page 9

Subscribe to view the full document.

ERD III Faithfulness - entity sets, their attributes, and relationships between them should reflect reality Students Universities Runs 1 N Students Courses Attends N N Students Mana Students Student ID
Image of page 10
ERD Design Principles Attribute vs. Entity Student Email Name Should the email be an attribute or an entity set?
Image of page 11

Subscribe to view the full document.

ERD Design Principles Attribute vs. Entity Student Email Name Email should be an attribute if: - There is only one email per student - Email is of primitive (atomic) type
Image of page 12
ERD Design Principles Attribute vs. Entity Email should be an entity if: - Students may have several emails - Students may share same email - There is a need to search by email fields Student Email Has Host Domain
Image of page 13

Subscribe to view the full document.

ERD Design Principles Attribute vs. Entity Attribute, if we need to capture only the latest date Professor Id Id Department Works in Since
Image of page 14
ERD Design Principles Attribute vs. Entity Professor Id Id Department Works in Entity, if we need to keep track of the history Appointments Date
Image of page 15

Subscribe to view the full document.

ERD Exercise Produce ER diagram for the airport database using following information: - Every airplane has a registration number, and each airplane is of a specific model.
Image of page 16
Image of page 17
  • Fall '16
  • Adil Khan

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

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes