Chapter Four – Data Modeling and the Entity-Relationship Model
Page 6 of 52
TEACHING SUGGESTIONS
• A good way to introduce the chapter is by discussing the relationship between
systems analysis and design and database design. If a systems analysis and design
course is a prerequisite for the course, make the connection to what the students
covered in that class. If you do not have such a prerequisite, you may want to add a
lecture or two that introduces some of that material.
• Very important in this chapter is that a database is a model of a user’s view of the
world. Remember, the only question is “How well does it fit the mental models of the
people who are going to use the system?” Convince the students that the model
needs to fit the user requirements, even if the developer “knows better.”
• You need to remember the statement above when reviewing solutions to the end of
chapter exercises. These models are based upon one user’s view. There are many
other ways to model these problems. You should expect variations in the answers
your students create.
• The best way to learn data modeling is to do it. Students should answer all of the
Review questions and do at least one of the Garden Glory, James River Jewelry or
the Queen Anne Curiosity Shop projects.
• The text shows Information Engineering (IE) Crow’s Foot E-R diagrams. This
notation is probably the easiest for students to understand. However, if you prefer a
different E-R diagram methodology, you should present it at this time and show how
it corresponds and differs from the Crow’s Foot diagrams.
• If you are using data modeling / database design software, introduce it at this point
and discuss the product’s functions and symbols.
• A major problem with most database design tools is that they will not create correct
logical data models. This typically occurs when the product is unable to create a
logical N:M relationship and instead insists on creating a database design
intersection table with two 1:N relationships to the original tables as discussed in
Chapter 5. (See the discussion on Visio and Figure IM 4-3 below.) Products that do
this or require a special method to accommodate N:M relationships include Oracle’s
MySQL Workbench (See Online Appendix C, Getting Started with Oracle MySQL 5.7
Community Server Edition).
• Some of the solutions in both Instructor’s Manual Chapter 4 (data modeling) and
Chapter 5 (database design) were prepared using Parallax Capital Partners’ erwin
(formerly ERwin) (http://erwin.com/products/erwin-data-modeler-standard-edition).
• Unfortunately, since Computer Associates sold erwin to Parallax, the erwin
Community Edition is no longer available at this time, but the Standard Edition has a
free trial period. Visio 2016 also has ER diagramming capability. A free program
called ER-Assistant is also available. It is easy to use but the entity boxes cannot be
resized, leading to text length limitations.
• Erwin creates logical data models properly, but does not follow all the IE Crow’s Foot
notation as shown in this book (Indeed, every product seems to have its own version
of E-R diagram notation, but that’s another problem).