CH 06
CH 06
Sixth Edition
Chapter 6
Database Design 2: Design Method
Objectives
• Discuss the general process and goals of database
design
• Define user views and explain their function
• Define Database Design Language (DBDL) and
use it to document database designs
• Create an entity-relationship (E-R) diagram to
visually represent a database design
• Present a method for database design at the
information level and view examples illustrating this
method
FIGURE 6-9: DBDL for Book database after first user view
FIGURE 6-10: DBDL for Book database after second user view
FIGURE 6-15: List of possible attributes for the Holt Distributors invoice
FIGURE 6-25: Result obtained by splitting the Sales table into three tables
Concepts of Database Management 38
Many-to-Many Relationship
Considerations (continued)
FIGURE 6-26: Result obtained by joining three tables—the second and third
rows are in error!
Concepts of Database Management 39
Nulls and Entity Subtypes
• Null
– Special value
– Represents absence of a value in a field
– Used when a value is unknown or inapplicable
• Splitting tables to avoid use of null values
• Entity subtype: table that is a subtype of another
table
FIGURE 6-40: Complete E-R diagram for the Premiere Products database
Concepts of Database Management 54
The Entity-Relationship Model
(continued)
FIGURE 6-41: E-R diagram with an existence dependency and a weak entity