IT360 Applied Database Systems Entity-Relationship Model Chapter - - PDF document

it360 applied database systems
SMART_READER_LITE
LIVE PREVIEW

IT360 Applied Database Systems Entity-Relationship Model Chapter - - PDF document

IT360 Applied Database Systems Entity-Relationship Model Chapter 5 in Kroenke Database Design Process 1 Entity-Relationship Model Example ER Model - Entities Entities Attributes Identifiers Entity class vs. entity


slide-1
SLIDE 1

1

IT360 – Applied Database Systems

Entity-Relationship Model Chapter 5 in Kroenke

Database Design Process

slide-2
SLIDE 2

2

Entity-Relationship Model Example ER Model - Entities

  • Entities
  • Attributes
  • Identifiers
  • Entity class vs. entity instance
slide-3
SLIDE 3

3

Exercise: IT360 Database

  • Draw ER diagram for a database used to

manage IT360 class (at least 3 entities)

– Specify entities, attributes, identifiers

ER Model – HAS-A Relationships

  • Degree
  • Max cardinality
  • Min cardinality
  • Identifying vs non-identifying
slide-4
SLIDE 4

4

Exercise: IT360 Database

  • Draw ER diagram for a database used to

manage IT360 class (at least 3 entities)

– Specify entities, attributes, identifiers – Specify relationships – Specify cardinalities for relationships

ER Model – Is-A Relationship

slide-5
SLIDE 5

5

Exercise: The College Report Exercise: The Department Report

slide-6
SLIDE 6

6

Exercise: The Department Major Report Exercise: The Student Acceptance Letter

slide-7
SLIDE 7

7

Members, Lockers

slide-8
SLIDE 8

8

Suppliers, Parts, Prices

Price column

slide-9
SLIDE 9

9

Association Class Entity vs. Attribute

slide-10
SLIDE 10

10

Multi-valued Attribute  Entity 1:N Recursive Relationship

slide-11
SLIDE 11

11

Drug Warehouse

  • Drugwarehouse.com has offered you a free life-

time supply of prescription drugs (no questions asked) if you design its database schema. Given the rising cost of health care, you agree. Here is the information that you gathered:

  • Patients are identified by their SSN, and we also

store their names and age

  • Doctors are identified by their SSN, and we also

store their names and specialty

  • Each patient has one primary care physician
  • Each doctor has at least one patient

ER Summary