Skip to Main Content
Databases Illuminated, 4th Edition
book

Databases Illuminated, 4th Edition

by Catherine M. Ricardo, Susan D. Urban, Karen C. Davis
March 2022
Intermediate to advanced content levelIntermediate to advanced
682 pages
22h 58m
English
Jones & Bartlett Learning
Content preview from Databases Illuminated, 4th Edition

4.7 Mapping an Entity-Relationship (ER) Model to a Relational Schema

An ER diagram can be easily converted to a relational model. Both entities and relationships must be represented in the relational schema. For example, to convert the University ER diagram to a relational model, refer to Chapter 3, Figure 3.13.

We begin with the entity sets.

  • The strong entity sets shown as rectangles become relations represented by base tables. The table name is the same as the entity name written inside the rectangle. For strong entity sets, noncomposite, single-valued attributes, represented by simple ovals, become attributes of the relation, or column headings of the table. The strong entity sets, Department, Student, and Faculty, can be represented initially ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SQL and Relational Theory, 3rd Edition

SQL and Relational Theory, 3rd Edition

C.J. Date

Publisher Resources

ISBN: 9781284231595