Naar de homepage
Homepage Articles Contact
Your location : Articles > Software

Database design tutorial

Introduction

In this tutorial you will learn how to design a database. Databases are programs that allow a user to storage and retrieval of data. A user in this context can be either a human user or a computer program. Human users rarely access a database directly. Usually a computer program is used to access a database. The software running on a cash machine for example, allows (limited) access to the bank's database. A cash machine user can request his or her account balance from the database or withdraw money from his or her account.

This database design tutorial shows you how to create a relational database model. The relational model is of a set of best practices for relational database design. It describes how data should be devided over different tables and how those tables should be linked to one another. In this tutorial we will design a database model that conforms to the most important recommendations of the relational model.

Database design example

The example database we will build in this tutorial records what I will call 'contact moments'. Many companies keep track of the contact moments they have had with clients in for example a Customer Relationship Management system (CRM) or a servicedesk tool. Such tools can increase the quality of a company's correspondance with costumers, because any employee will be able to get updated information about a customer's contact history. I will illustrate this tutorial with some examples from Microsoft Access 2003. This is a matter of convenience. This tutorial discusses relational database design in general. The examples shown in this tutorial can be implemented on any relational database server.

Database Design Tutorial contents:
  1. Introduction
  2. Database history
  3. Properties and advantages of relational databases
  4. Example: a system that stores customer contact moments
  5. Tables and the primary key
  6. Linking tables
  7. The one-to-many relationship
  8. The many-to-many relationship
  9. The one-to-one relationship
  10. Database normalization
  11. The first normal form
  12. The second normal form
  13. The third normal form
  14. The final database design
  15. Another example: a webshop database
  16. Conclusion

  1. 1 
  2. 2  
  3. 3  
  4. 4  
  5. 5  
  6. 6  
  7. 7  
  8. 8  
  9. 9  
  10. 10  
  11. 11  
  12. 12  
  13. 13  
  14. 14  
  15. 15  
  16. 16  
Database design tutorial
  1. 1Introduction
  2. 2Database history
  3. 3Relational database characteristics
  4. 4Customer contact system
  5. 5Tables and the primary key
  6. 6Linking tables
  7. 7The one-to-many relationship
  8. 8The many-to-many relationship
  9. 9The one-to-one relationship
  10. 10Database normalization
  11. 11The first normal form (1NF)
  12. 12The second normal form (2NF)
  13. 13The third normal form (3NF)
  14. 14The final database design
  15. 15Another example: webshop database
  16. 16Conclusion

De inhoud van Tekstenuitleg is beschermd door auteursrecht en mag niet gekopieerd worden zonder schriftelijke toestemming van Tekstenuitleg.net. Lees svp de voorwaarden.