Tutorial 4: ER Diagram - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Tutorial 4: ER Diagram

Description:

Each director/actor may have directed/played in multiple movies. Each movie is directed by a single director. Not every movie has a sequel. ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 7
Provided by: marily192
Category:

less

Transcript and Presenter's Notes

Title: Tutorial 4: ER Diagram


1
Tutorial 4 ER Diagram
2
  • Question.
  • Complete the diagram to capture the following
    constraints
  • Each student must take exactly one course.
  • Every course must be taken by at least one
    student.

3
  • Question. Which design is better and why?

4
  • Question. What are the differences in the
    following two designs?

5
  • Question. What are the primary keys for the three
    relationships, respectively?

6
  • Question. Complete the following diagram to
    satisfy these constraints
  • Every director must have directed some movie, but
    not every actor has played in a movie.
  • Each director/actor may have directed/played in
    multiple movies.
  • Each movie is directed by a single director.
  • Not every movie has a sequel.
Write a Comment
User Comments (0)
About PowerShow.com