Beruflich Dokumente
Kultur Dokumente
The following set of data can be stored in a set of 12 index cards. However, if we store them
using a Database Management System such as Microsoft Access, then this set of data is stored in
a file or a TABLE.
We can name the table below as PRODUCT to show that the data stored in the table is about
different products.
TABLE: PRODUCT
This is
a COLU
MN
↓
Now, the data we have stored about the products are in horizontal ROWs. So, product Number
1, identifies the Chai, which was ordered from a supplier whose ID is 1. This Chai is part of a
category, category 1 in this example. The Chai is sold in a set 10 boxes which each contain 20
bags. This is sold for $18.00 and there are 39 of them is stock. Microsoft Access refers to a ROW
as a RECORD. Another term for a row is a TUPLE.
All of the ProductIDs (from 1 to 10) are in a COLUMN. Microsoft Access refers to a COLUMN
as a FIELD. Another term for a field is an attribute. So, the ProductName, SupplierID,
CategoryID, QuantityPerUnit, UnitPrice, and UnitsInStock are all fields.
TABLE: SUPPLIER
Each field contains different types of data. For example, in the Supplier table above, the
SupplierID contains numbers, while the Company Name, Contact Name, and Contact Title all
contain text. The Address field contains Alphanumeric data which means that each field can
contain both text and numbers.
TABLE: ORDER
5 2 55 12/12/2012 No
Recap:
Data types
Numeric - numbers
Date - dates