Database Components  «Prev  Next»

Lesson 4 Designing Relational Databases
Objective Describe how to design tables in a relational database by splitting data into multiple tables.

Designing Relational Databases Using Microsoft Access

Designing relational tables is the foundation of every well-structured database. Before Access can generate useful queries, forms, or reports, you must decide how to organize your information into tables and how those tables will relate to each other. A relational database works best when each table represents a single subject, and the subjects connect through well-chosen key fields.

In this lesson, you will learn how to determine the fields needed in your database, how to decide which tables should exist, and how to create relationships that allow Access to combine information across multiple tables. The goal is to avoid redundancy, reduce maintenance effort, and support accurate and flexible reporting.


MS Access 365

Understanding What to Store

A good design begins with a clear understanding of your data. For each business process—customers placing orders, employees receiving benefits, computers being assigned to staff—you identify:

  1. The entities (people, items, orders, departments, computers)
  2. The attributes describing each entity (name, date, cost, address, quantity)
  3. The relationships between them (one customer can have many orders; one computer can have multiple software packages)

Before deciding how many tables you need, think ahead about the analysis you plan to perform. Access queries and reports rely on properly related tables. Missing or duplicated fields often lead to inconsistent results and unnecessary maintenance. When in doubt, examine examples of similar datasets, this often clarifies how data should be grouped.

Why Data Is Split Across Multiple Tables

Relational databases intentionally divide data across multiple tables to reduce duplication. If the same details are stored in several places (customer email in every order record, for example), changes become difficult and errors more likely. Instead, each “fact” should live in exactly one table. Relationships—implemented through primary keys and foreign keys—allow Access to bring the information back together whenever needed.

The following examples illustrate how different real-world scenarios benefit from organized table structures.

Example: Splitting Customer, Order, and Item Data

A simple database to display catalog sales
1) A simple database to store information about catalog sales might contain the following tables.
A list of customers with their contact information
2) A list of customers with their contact information.
A list of orders using the Customer ID number and the date.
3) A list of orders referencing customers through the Customer ID field. The relationship is one-to-many: a single customer may have many orders.
A list of items ordered (order details)
4) A table listing the items included in each order (order details).
A table of items available to be ordered
5) A table containing all catalog items, including names, costs, and descriptions.
Reports generated from catalog tables
6) Reports generated from these tables may include top-selling items, monthly sales summaries, or customer purchase histories.

Example: Tracking Computers and Software in an Organization

Another common use of relational design is IT inventory. A single table containing every detail—computer IDs, user names, software lists, locations—quickly becomes unmanageable. Instead, each subject becomes its own table, and relationships tie them together.

A database to track company computers
7) A possible structure for tracking computers at a company.
A table listing each computer with hardware details
8) A table listing each computer and its hardware configuration.
A table listing the person who uses the computer
9) A table identifying the employee using each computer.
A table listing all software used in the company
10) A separate table listing all software titles used within the organization.
A table showing which software is installed on which computer
11) A table linking software packages to the computers on which they are installed.
Reports summarizing installed software and hardware characteristics
12) Reports may summarize installed software per user, or list computers grouped by manufacturer or CPU type.

Example: Organizing Employee and HR Information

Human Resources departments maintain a variety of employee-related information. Not all of this data belongs in a single table, especially when access requirements differ (e.g., salary vs. basic employee information). Splitting data allows teams to manage sensitive details separately.

An HR database design
13) A possible starting point for an HR database.
A table of employees
14) Employee records, each identified by an Employee ID.
A table of benefits information
15) Confidential benefits information stored in a separate table for security and clarity.
A table of departments
16) A table listing departments and department heads.
A table linking employees to departments
17) A table linking employees to their respective departments.
Some data could be stored in one table but is better separated
18) Although some information could be merged into a single table, separating the data is often better when different users update different types of information.

Conclusion

Across all these examples, the design principle remains the same: each table should represent a single subject, and related subjects connect through key fields. This structure avoids duplication, protects data integrity, and enables Access to generate accurate forms, queries, and reports. When you design tables thoughtfully, the entire database becomes easier to maintain and far more reliable.

The next lesson explains how Access stores data inside a table—the most fundamental database object.


Database Concepts - Quiz

Click the link below to take a short quiz on the database concepts.
Database Concepts - Quiz

SEMrush Software 3 SEMrush Banner 3