Infinite opportunities?  Endless problems?  Limited resources?  Talk to us!
Operations
Consulting
Software
Consulting
Publishing and
Training
Applied
Solutions
Excel add-ins
and tutorials
Charts Excel and VBA
Case Studies
VBA
tutorials
PowerPoint
Add-Ins
Miscellenia
You are on the Home/Excel/Tutorials/RDBMS in Excel/Introduction page

Building and using a relational database in Excel (with a little help from MS Query)

Introduction to a relational database

A relational database consists of some number of tables, each of which contains information about some business aspect.  Each column in the table identifies a key component of the data stored in the table while the rows contain the actual information itself.  Further, each table is related to one or more of the other tables by a key piece of shared information.  For example, a financial institution might have three tables called Customers, Account Types, and Customer Accounts, and the Customer and Customer Accounts table sharing the Customer Number and the Account Types and Customer Accounts sharing the Account Type.

Each of the tables is in its own spreadsheet in the same workbook.  The sheet names reflect the table names as in:

horizontal rule

The Customer table contains information about customers and looks like:


horizontal rule

The Account Type table identifies the types of accounts the bank offers and looks like:

horizontal rule

About this site

What's new

Google
Web
This Site
 

 

Finally, the Accounts table brings the first two tables together and looks like:

One of the advantages of a relational database is that the information about a customer exists only once in the Customer table.  Consequently, if the customer relocates, the firm has to update just one row in one table.  Similarly, if the firm changes its policies about the minimum balance requirements for the different types of accounts only one table needs updating.

 

 

 

For custom technology solutions, operations consulting, or training contact web-underscore-contact@tushar-hyphen-mehta-dot-cee-oh-em.
By accessing any page or link on this web site other than this page, you agree to the terms and conditions.

Ads from amazon.com

[Optional] Survey (current rating of site: 3.7 out of 4)  If you will take a moment to provide your comments, it will help improve the site both for you, and for other visitors.

On a scale of 4 (just what I need)
to zero (totally useless)

How do you rate the information

on this page?

  on this site?

[Optional]

Your name
Your email address
Other comments
 
Monitor page
for changes
    
   it's private  

by ChangeDetection
A comment selected at random:

 

 

Copyright © 2000-2008 Tushar Mehta.
Send comments and suggestions about the web site to webmaster@tushar-hyphen-mehta-dot-cee-oh-em
Last edited April 13, 2008