<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

SQL 101 - What is a Database

Published on
8,275 Points
2,275 Views
Last Modified:
Approved
The term database is used for many different meanings.  But if you compared them all, I think you would find that databases are all collections of data that are organized in some way.  I usually like to refer to an Excel document when I try to explain databases.

Excel.png

An excel file has a collection of worksheets. At a very basic level you can consider a database a collection of tables.  There are other objects in a database, but tables will be what you work with most often.

Usually each of those worksheets represents a single collection of data.  Let's say in our Excel file we were collecting data on sales.  We'd create a worksheet for customers, a worksheet of products, and a worksheet of sales (relating the customer to a product sold, with quantities, dates sold, and sales prices.  Each of these worksheets would represent tables in our database.

Each of those worksheets have rows and columns.  Each row in our sheet would represent one record in a table.  The record is a set of data all describing a single entity to the table.  If we were to discuss the customer table, each row would hold information on a single customer.  That customer's first name, last name, address, etc.

Each column in our worksheet would represent an attribute.  The first name, last name, etc. we just mentioned is an attribute that describes a customer.
Tips

    * Think of the database as a container.  It contains organized data.
    * Don't confuse the term database with database management systems (DBMS).  A database is your container, MS SQL 2000 is the management system.  It's Microsoft's method for organizing your data into usable elements.

You should now have a basic understanding of what a database is, and few of the items you will find inside a database.  If you have any questions, please, send them in!  I look forward to helping any way I can.
0
0 Comments

Featured Post

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month