Professional Documents
Culture Documents
DATABASES
DATABASES
DATABASES
■ Databases
■ Tables
■ Records
■ Fields
■ Data Types
■ Primary Key
■ Foreign Key
■ Flat Files Vs Relational Databases
■ Advantages and disadvantages of databases
■ When not to use a relational database
DATABASES
Type Example
Alphanumeric or text Names, Car numbers, Address
Smith, MH 02 A 2035, 21 Main Street
Number Marks, Average
82, 87.3
Currency Book Cost, Profit
$30, ₤ 10
Date/Time Date of Birth, Expiry Date
21/09/02, 31- March- 18
Autonumber IDs, Serial Number
Logical or Boolean or Yes/No Received, In-Stock
Y/N or 0/1
PRIMARY KEY
Patient Table
■ explain that other field types like placeholders for media, including images, sound-bites
and video clips are used in commercial databases
■ use short, meaningful file and field names
■ format fields and identify sub-types, including: specifying the number of decimal
places, specifying a particular currency
■ identify the structure of external data with different file types, including: .csv, .txt, .rtf
■ locate, open and import data from an existing file
■ create a relationship between two or three tables