Home > Store

Database Design for Mere Mortals, 4th Edition

eBook (Watermarked)

  • Your Price: $42.39
  • List Price: $52.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.

Description

  • Copyright 2021
  • Pages: 640
  • Edition: 4th
  • eBook (Watermarked)
  • ISBN-10: 0-13-678809-2
  • ISBN-13: 978-0-13-678809-6

The #1 Easy, Commonsense Guide to Database DesignNow Updated
Foreword by Michelle Poolet, Mount Vernon Data Systems LLC
Michael J. Hernandez's best-selling Database Design for Mere Mortals has earned worldwide respect as the simplest way to learn relational database design. Now, he's made this hands-on, software independent tutorial even clearer and easier to use.
Step by step, this new 25th Anniversary Edition shows you how to design modern databases that are soundly structured, reliable, and flexible, even in the latest online applications. Hernandez guides you through everything from planning to defining tables, fields, keys, table relationships, business rules, and views. You'll learn practical ways to improve data integrity, how to avoid common mistakes, and when to break the rules. Updated review questions and figures help you learn these techniques more easily and effectively.

  • Understand database types, models, and design terminology
  • Perform interviews to efficiently capture requirementseven if everyone's working remotely
  • Set clear design objectives and transform them into effective designs
  • Analyze a current database so you can identify ways to improve it
  • Establish table structures and relationships, assign primary keys, set field specifications, and set up views
  • Ensure the correct level of data integrity for each database
  • Identify and establish business rules
  • Preview and prepare for the future of relational databases

Whatever relational database systems you use, Hernandez will help you design databases that are robust and trustworthy. Never designed a database before? Settling for inadequate generic designs? Running existing databases that need improvement? Start here.

Sample Content

Sample Pages

Download the sample pages (includes Chapter 2)

Table of Contents

Foreword     xix
Preface     xxi
Introduction xxix
What's New in the Fourth Edition     xxxi
Who Should Read This Book     xxxii
The Purpose of This Book     xxxiii
How to Read This Book     xxxvi
How This Book Is Organized     xxxvii
A Word about the Examples and Techniques in This Book     xl
PART I:  RELATIONAL DATA BASE DESIGN     1
Chapter 1:  The Relational Database     3
Topics Covered in This Chapter     3
What Is a Database?     3
The Relational Database     5
    Retrieving Data     7
    Advantages of a Relational Database     9
    Relational Database Management Systems     10
What's Next?     11
Summary     13
Review Questions     14
Chapter 2:  Design Objectives     17
Topics Covered in This Chapter     17
Why Should You Be Concerned with Database Design?     17
The Importance of Theory     19
The Advantage of Learning a Good Design Methodology     21
Objectives of Good Design     22
Benefits of Good Design     23
Database-Design Methods     24
    Traditional Design Methods     24
    The Design Method Presented in This Book     26
Normalization     27
Summary     30
Review Questions     31
Chapter 3:  Terminology     33
Topics Covered in This Chapter     33
Why This Terminology Is Important     33
Value-Related Terms     35
    Data     35
    Information     35
    Null     37
    The Value of Null     38
    The Problem with Null     39
Structure-Related Terms     41
    Table     41
    Field     44
    Record     45
    View     46
    Keys     48
    Index     50
Relationship-Related Terms     50
    Relationships     50
    Types of Relationships     52
    Types of Participation     57
    Degree of Participation     57
Integrity-Related Terms     59
    Field Specification     59
    Data Integrity     59
Summary     61
Review Questions     62
PART II:  THE DESIGN PROCESS     65
Chapter 4:  Conceptual Overview     67
Topics Covered in This Chapter     67
The Importance of Completing the Design Process     68
Defining a Mission Statement and Mission Objectives     69
Analyzing the Current Database     70
Creating the Data Structures     72
Determining and Establishing Table Relationships     73
Determining and Defining Business Rules     74
Determining and Defining Views     75
Reviewing Data Integrity     75
Summary     77
Review Questions     78
Chapter 5:  Starting the Process     81
Topics Covered in This Chapter     81
Conducting Interviews     82
    Participant Guidelines     84
    Interviewer Guidelines (These Are for You)     86
Defining the Mission Statement     91
    The Well-Written Mission Statement     91
    Composing a Mission Statement     93
Defining the Mission Objectives     96
    Well-Written Mission Objectives     97
    Composing Mission Objectives     99
Summary     103
Review Questions     104
Chapter 6:  Analyzing the Current Database     107
Topics Covered in This Chapter     107
Getting to Know the Current Database     107
    Paper-Based Databases     111
    Legacy Databases     111
Conducting the Analysis     113
Looking at How Data Is Collected     113
Looking at How Information Is Presented     116
Conducting Interviews     120
    Basic Interview Techniques     121
    Before You Begin the Interview Process     128
Interviewing Users     128
    Reviewing Data Type and Usage     129
    Reviewing the Samples     131
    Reviewing Information Requirements     135
Interviewing Management     143
    Reviewing Current Information Requirements     144
    Reviewing Additional Information Requirements     145
    Reviewing Future Information Requirements     146
    Reviewing Overall Information Requirements     147
Compiling a Complete List of Fields     148
    The Preliminary Field List     148
    The Calculated Field List     156
    Reviewing Both Lists with Users and Management     156
Summary     162
Review Questions     164
Chapter 7:  Establishing Table Structures     165
Topics Covered in This Chapter     165
Defining the Preliminary Table List     166
    Identifying Implied Subjects     166
    Using the List of Subjects     168
    Using the Mission Objectives     172
Defining the Final Table List     174
    Refining the Table Names     176
    Indicating the Table Types     182
    Composing the Table Descriptions     182
Associating Fields with Each Table     189
Refining the Fields     191
    Improving the Field Names     191
    Using an Ideal Field to Resolve Anomalies     196
    Resolving Multipart Fields     199
    Resolving Multivalued Fields     201
Refining the Table Structures     208
    A Word about Redundant Data and Duplicate Fields     208
    Using an Ideal Table to Refine Table Structures     209
    Establishing Subset Tables     216
Summary     229
Review Questions     231
Chapter 8:  Keys     233
Topics Covered in This Chapter     233
Why Keys Are Important     234
Establishing Keys for Each Table     234
    Candidate Keys     235
    Primary Keys     243
    Alternate Keys     249
    Non-keys     250
Table-Level Integrity     251
Reviewing the Initial Table Structures     251
Summary     259
Review Questions     260
Chapter 9:  Field Specifications     263
Topics Covered in This Chapter     263
Why Field Specifications Are Important     264
Field-Level Integrity     266
Anatomy of a Field Specification     267
    General Elements     267
    Physical Elements     275
    Logical Elements     278
Using Unique, Generic, and Replica Field Specifications     283
Defining Field Specifications for Each Field in the Database     287
Summary     291
Review Questions     292
Chapter 10:  Table Relationships     293
Topics Covered in This Chapter     293
Why Relationships Are Important     294
Types of Relationships     295
    One-to-One Relationships     296
    One-to-Many Relationships     298
    Many-to-Many Relationships     301
    Self-Referencing Relationships     308
Identifying Existing Relationships     312
Establishing Each Relationship     323
    One-to-One and One-to-Many Relationships     323
    The Many-to-Many Relationship     331
    Self-Referencing Relationships     337
    Reviewing the Structure of Each Table     342
Refining All Foreign Keys     343
    Elements of a Foreign Key     343
Establishing Relationship Characteristics     349
    Defining a Deletion Rule for Each Relationship     349
    Identifying the Type of Participation for Each Table     354
    Identifying the Degree of Participation for Each Table     357
    Verifying Table Relationships with Users and Management     360
    A Final Note     360
Relationship-Level Integrity     361
Summary     366
Review Questions     368
Chapter 11:  Business Rules     369
Topics Covered in This Chapter     369
What Are Business Rules?     370
    Types of Business Rules     373
Categories of Business Rules     375
    Field-Specific Business Rules     375
    Relationship-Specific Business Rules     376
Defining and Establishing Business Rules     378
    Working with Users and Management     378
    Defining and Establishing Field-Specific Business Rules     379
    Defining and Establishing Relationship-Specific Business Rules     386
Validation Tables     394
    What Are Validation Tables?     394
    Using Validation Tables to Support Business Rules     395
Reviewing the Business Rule Specifications Sheets     400
Summary     408
Review Questions     409
Chapter 12:  Views     411
Topics Covered in This Chapter     411
What Are Views?     411
Anatomy of a View     413
    Data View     413
    Aggregate View     418
    Validation View     422
Determining and Defining Views     424
    Working with Users and Management     425
    Defining Views     426
    Reviewing the Documentation for Each View     434
Summary     441
Review Questions     442
Chapter 13:  Reviewing Data Integrity     445
Topics Covered in This Chapter     445
Why You Should Review Data Integrity     446
Reviewing and Refining Data Integrity     446
    Table-Level Integrity     447
    Field-Level Integrity     447
    Relationship-Level Integrity     448
    Business Rules     448
    Views     448
Assembling the Database Documentation     449
Done at Last!     451
Summary     452
PART III:  OTHER DATA BASE DESIGN ISSUES     453
Chapter 14:  Bad DesignWhat Not to Do     455
Topics Covered in This Chapter     455
Flat-File Design     456
Spreadsheet Design     457
    Dealing with the Spreadsheet View Mindset     459
Database Design Based on the Database Software     461
A Final Thought     463
Summary     463
Chapter 15:  Bending or Breaking the Rules     465
Topics Covered in This Chapter     465
When May You Bend or Break the Rules?     465
    Designing an Analytical Database     465
    Improving Processing Performance     466
Documenting Your Actions     469
Summary     471
Chapter 16:  In Closing     473
PART IV:  APPENDIXES     475
Appendix A:  Answers to Review Questions     477
Appendix B:  Diagram of the Database Design Process     501
Appendix C:  Design Guidelines     519
Appendix D:  Documentation Forms     529
Appendix E:  Database-Design Diagram Symbols     533
Appendix F:  Sample Designs     535
Appendix G:  On Normalization     541
Appendix H:  Recommended Reading     551
Glossary     553
References     567
Index     569

Updates

Errata

We've made every effort to ensure the accuracy of this book and its companion content. Any errors that have been confirmed since this book was published can be downloaded below.

Download the errata (51 KB .doc)

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020