Basic Relational Database Theory
Jonathan Eckstein, Bonnie R. Schultz
Abstract
Jonathan Eckstein, Bonnie R. Schultz
Abstract
Using numerous examples, this chapter covers basic relational database theory, starting with the characteristics of tables. It discusses how to choose primary keys for tables and when to use composite primary keys. The use of foreign keys is described and presented through examples. Entity-relationship (ER) diagrams and outline notation are used throughout the chapter. The chapter also covers functional dependency, a way of analyzing the interdependence of attributes that allows one to determine table structure, and describes undesirable structures such as partial dependencies and transitive dependencies. There is further discussion of anomalies, describing insertion, update, and deletion anomalies and why they are problematic in databases. A step-by-step normalization procedure for avoiding anomalies is described through one of the database examples. Finally, the chapter explains subtypes, a technique for storing information that applies to only a small subset of the things or events described by a table.
OpenAlex reports 1 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Using numerous examples, this chapter covers basic relational database theory, starting with the characteristics of tables. It discusses how to choose primary keys for tables and when to use composite primary keys. The use of foreign keys is described and presented through examples. Entity-relationship (ER) diagrams and outline notation are used throughout the chapter. The chapter also covers functional dependency, a way of analyzing the interdependence of attributes that allows one to determine table structure, and describes undesirable structures such as partial dependencies and transitive dependencies. There is further discussion of anomalies, describing insertion, update, and deletion anomalies and why they are problematic in databases. A step-by-step normalization procedure for avoiding anomalies is described through one of the database examples. Finally, the chapter explains subtypes, a technique for storing information that applies to only a small subset of the things or events described by a table.
Key concepts: Computer science, Entity–relationship model, Relational database, Notation, Functional dependency, Relational model, Transitive relation, Table (database)