Understand the Relationship between Database Elements
Relationship between Database Elements
For a new person that is starting in information technology, you can think of databases as spreadsheets, as described in the following link.
The items that you will be working with include the following:
Databases, Tables, Rows, Columns
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.