Purpose of relational database structure
A relational database organizes related data into tables so people and systems can store, find, update, and link records without losing meaning. Its structure prevents invalid records, documents each field, and reduces repeated data that could become inconsistent. This objective sits in ISC Area II, Group B, Data management, with prompts about table parts, keys, integrity rules, metadata, and normal forms.
The data life cycle describes what happens to data over time. Warehouses, lakes, marts and schemas describes larger storage designs. Relational database structure explains the table-level design inside a relational system.
The first two chapters describe data movement and storage environments. This chapter explains the internal structure used when data is kept in related tables. The five parts below solve different problems, so they must stay distinct.
Five parts of relational database structure
The diagram gives the whole structure before the details. Tables hold the data, keys connect it, integrity rules protect it, the data dictionary describes it, and normalization improves its design. The arrows show parts of the structure, not time or a decision.
Loading diagram…
The table that follows defines each label and gives the clue words that identify it. A relation is a table, a tuple is a row or record, and an attribute is a column or field.
Tables, keys and design rules
| Part | What it asks or covers | Clue words in a scenario |
|---|---|---|
| Tables, relation | A table represents a relation, or set of records about an entity or relationship. | table, relation, entity, records |
| Tables, row or record | Each row or tuple represents one occurrence of the table's subject. | one customer, one order, one row per |
| Tables, column or attribute | Each column or attribute stores one defined kind of value. | field, attribute, column, value |
| Keys, candidate key | A minimal column or column set uniquely identifies a row. | minimal, uniquely identifies, alternate |
| Keys, primary key | The selected candidate key identifies each row and cannot contain duplicates or NULL values. | primary key, unique identifier, duplicate, NULL |
| Keys, foreign key | A column or column set refers to a key in another table and supports a relationship. | references, parent, child, matching ID, orphan |
| Keys, table relationship | The key link describes how rows in related tables correspond, such as one-to-many. | related tables, parent and child, one-to-many |
| Integrity, entity integrity | The primary key must uniquely identify each row, and its key columns cannot be NULL. | duplicate primary key, missing identifier, NULL key |
| Integrity, referential integrity | A foreign key must match an existing referenced key or be NULL when allowed. | match existing, referenced table, orphan, foreign key |
| Integrity, domain integrity | A value must meet the field's type, allowed set, format, range, and nullability rules. | valid type, allowed value, format, range, required |
| Data dictionary | A metadata catalog defines each data element and its business and technical properties. | definition, data type, field name, owner, catalog, metadata |
| Normalization, 1NF | Every cell contains one atomic value, and there are no repeating groups. | comma-separated values, repeating columns, atomic |
| Normalization, 2NF | 1NF plus no non-key attribute depends on only part of a composite candidate key. | composite key, partial dependency, depends on one key column |
| Normalization, 3NF | 2NF plus no non-key attribute depends on another non-key attribute. | transitive dependency, non-key determines non-key, indirect dependency |
A candidate key is a minimal column or column set that uniquely identifies a row. The selected candidate key is the primary key. An unselected candidate key is an alternate key.
A foreign key refers to a primary key or another candidate key in a related table. This creates relationships such as one-to-many relationships.
The three integrity rules state which values are acceptable in those locations.
- Entity integrity requires the chosen primary key to identify each row uniquely.
- The primary-key columns cannot be NULL.
- Referential integrity requires a foreign-key value to match an existing referenced key.
- A foreign key may be NULL when the relationship permits NULL.
- Domain integrity requires compliance with the data type, allowed values, format, range, and nullability.
A data dictionary is a catalog of metadata, not the business records themselves. It can document these properties:
- Field name.
- Business definition.
- Table.
- Data type.
- Format or size when relevant.
- Allowed values or range when relevant.
- Nullability.
- Key status.
- Constraints.
- Owner.
- Source.
Normalization organizes tables around dependencies. It reduces repeated data and insertion, update, and deletion anomalies.
- 1NF requires one atomic value in each cell and no repeating groups.
- 2NF requires 1NF plus dependence on the whole candidate key.
- 3NF requires 2NF plus no dependence on another non-key attribute.
- In 3NF, non-key attributes depend on the key, the whole key, and nothing but the key.
A single-column key has no partial-key problem for 2NF. It still requires a check for transitive dependencies under 3NF. A valid domain range or set comes from the field's definition, so no universal numeric threshold applies.
Recognizing database structure clues
The clue words in each scenario point to a structure part rather than to a calculation. Each distractor belongs to the same relational database structure.
Practice
A Customer table stores one row for each customer. Its columns are CustomerID, CustomerName, and Email, and each cell holds one value. Which part of relational database structure is described?
An Orders.CustomerID value must match an existing Customers.CustomerID value; otherwise the database rejects the row. Which rule is this?
A catalog lists CustomerID as an integer, defines it as the unique customer identifier, marks it as required and primary key, and names the table where it is used. Which part stores this information?
OrderLine has the composite key (OrderID, ProductID), and ProductName depends only on ProductID. Separating ProductName into a Product table addresses 2NF.
These distinctions identify where data lives, how it links, what values are allowed, what fields mean, and how dependencies shape table design.
Tables, keys, integrity, metadata and normalization
- Tables hold rows or records made from columns or attributes.
- Keys and relationships identify rows and connect related tables through primary and foreign keys.
- Integrity rules protect entity identity, valid field values, and valid table links.
- A data dictionary records the meaning and technical properties of each data element.
- Normalization uses 1NF, 2NF, and 3NF to remove repeating groups, partial dependencies, and transitive dependencies.
Unlock the full lesson and continue reading
Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

