Home > Computers & Technology > Software > Software & Web Development
Created on: May 03, 2008
DATABASE
For those who are not in the computer field, let's review the basics. What is a database? It is simply a method of storing information for later retrieval. It can be in the form of data in tables on a computer, but it can also be stored as information in, say, a spreadsheet. The rows and columns of the spreadsheet can uniquely identify information that you want kept about sales or customers within a company. Simple is simple, but no less a database than if it were stored in a "true" database such as as an Oracle or SQL Server database. These databases are specially written software systems for storage and retrieval of "relational" information.
RELATIONAL DATA
What is relational data? Well, it is data that can be related in some way, such as "A relates to B". Being more specific, "A relates to B" can mean "for each customer in New York, he/she belongs to exactly one area code". So to model such a relationship, we could have customer information in a table which would include name, address, area code, 7-digit phone number, etc. We could also have another table with area codes and prefixes and other such information. Our relationship, though, would insure that for each New York customer, they would have exactly on area code in which their phone prefix belongs. So we could say that there is a "one-to-many relationship" between a single customer and their area code(where they live - this gets complicated when we talk about a second number such as cell phone and the fact that a customer can have a cell phone with a non-New York area code!) We can also say that for all such New York customers, that an area code has many phone numbers. So, there is a "many-to-many relationship" between New York customers and New York phone numbers. We can simplify this many-to-many relationship by saying that for each New York customer, that each can have many phone numbers. We can also say that two customers can have the SAME phone number, if they live at the same address or share the same phone number. We can say, though, that for each customer name/address/customer phone number combination, that only one record exists. So, we have "uniquely identified" the customer. This process in its basic sense isss is what is known as "normalization", and is another basic concept of relational databases.
These concepts are but a small subset of the total in understanding relational databases, but this is good start. A Google search with the keywords "relational database basics" will take you to whatever level you want to go in learning more about relational databases.
Learn more about this author, V. McDaniel.
Click here to send this author comments or questions.
Below are the top articles rated and ranked by Helium members on:
Understanding the relational database
by Joseph Love
Many years ago, when I was a very young programmer, I was introduced to Microsoft Access. Although it isn't the most complicated
by Leigh Goessl
A database environment is a system that contains information about many categories and can hold vast amounts of information.
The magic of the Relational Database is that it is used to describe the real world, by describing entities, their attributes,
by PatrickB
Synopsis
A relational database is a system wherein data containers such as fields, rows, tables, and even databases themselves
by Raj Kumar
Relational database is hugely popular and commercially used to store information of diverse domains including insurance,
View All Articles on: Understanding the relational database
Helium Debate
Cast your vote!
Which is a better Web application framework: Ruby on Rails or PHP?
Click for your side.