|Lesson 2|| The elements of databases |
|Objective||Understand the Relationship between Database Elements |
Understand the Relationship between Database Elements
The items that you will be working with include the following:
- Databases: You will recall from the prior lessons on normalization that several different tables can make up a given information set. Typically, for a given application, those tables will reside in a single database, used as a logical container for all the related information.
Here is additional information about creating databases.
- Tables: Tables contain the sets of (normalized) information that represent your data. Tables are not individual data elements, but rather collections of very specific items.
For example, you might have a table that contains product information and a table that contains sales information.
- Rows: Rows refer to the set of information bits that make up a single, complete information item.
Think of rows literally as what they sound like. As in a worksheet or spreadsheet, rows are horizontal stripes of information in the database table. In more standard terms, a row represents a record in the database.
- Columns: The final, most specific bit of information in the database table is the column. If you think of the database as a spreadsheet, it is easy to understand that the column is the vertical piece of information in the table.
Typically, when you are using SQL statements, you will be selecting columns (specific information items) from rows (complete sets of information) in a given table (a set of related information).
Database Parts - Quiz