Académique Documents
Professionnel Documents
Culture Documents
to Databases
A Brief History
History ctd.
Accounting
Marketing
Operations
Data Storage
Data Updating
Currency of Information
Task-Data Dependency
Youll get 2x the computer storage memory for the same price
The price of your current memory will be cut in half
One Database
Operations
Marketing
Accounting
DBMS Models
Hierarchical
Network
Relational
Industry standard
Column-oriented
Stores data as columns
instead of rows
Extremely fast retrieval
capability in huge data
stores
Past
Future
Information Management
System (IMS)
Hierarchical database
Designed in 1966 for Apollo
rocket program
Now used heavily in banking
industry, especially for ATMs
Used by Federal Reserve
$1B per year business for
IBM
Vern Watts Chief Architect of IMS
Elements of a Relational
Database
Forms
(User Friendly Way to Enter Data)
Table
(House Data)
Table
(House Data)
Table
(House Data)
Queries
(Join Tables to Get Required Fields)
Reports
(make it pretty)
Table
(House Data)
Entities
Resources
Events
Agents
Relationships
1:1
1:M, M:1
M:M
Entities
Common events
Inventory
Cash Accounts
Purchase, Receipt of Inventory, Pay Vendor
Receive Order, Pick Goods, Ship Order, Bill, Receive Cash
Common Agents
Relationships
Cardinalities
One-to-one relationship
Spouse
Many-to-one relationship
If one instance of Employee, how many
Departments are possibly related? Put answer by
Department.
Employee
Department
One-to-Many relationship
If one instance of Department, how many
Employees are possibly related? Put answer by
Employee.
Department
Employee
Many-to-Many relationship
If one instance of Sale, how many Shipments are
possibly related? Put answer by Shipments.
Sale
Shipment
Textbook
Class
Payment
Cashier
Vendor
Purchase
Order
Receiving
Report
Receiving
Clerk
Invoice
Inventory
Item
Diving Deeper
Billing
CustomerID
InvoiceID
Last_Name
Invoice_Date
Address
CustomerID
M:M relationships
Primary key
Foreign key
Inventory-Sale Table
Prod no.
Invoice no.
Qty. ordered
Qty. shipped
Unit Sale Price
Sale Table
Invoice no.
Invoice Date
Total Sale
Account no.
Clerk Emp. no
Customer Table
Account no.
Name
Attention
Street
City
State
Zip