View
214
Download
1
Category
Preview:
Citation preview
Databases
Basic Data Management Concepts
2
Database Collection of all the data related to a particular topic
or purpose -- for example, student data, customer data or product data
Database management system (DBMS) Software used to access database
When do I interact with databases
Register for classesShoppingFinding midi files on the CIS 1055 websiteFlight registration systemsCherry & White PagesPurchasing a book from Amazon.comPaying your phone bill on line
3
Data Organization
Garner Julia30 Simpson Ave 555-3432
Garrett Allen 1222 Elm Street 555-9876
Gieger Carl 25 West Ave 555-2702
Geiser Gary712 Chestnut 555-1112
Goucher Gerard 17 Asbury Ave 555-2956
4RecordsRecords
FieldsFields
File or TableFile or Table
A collection of one or more related tables DatabaseDatabase
The Organization/Hierarchy of Data5
Field Name, number, or combination of characters that
describes some aspect of an object
Record Collection of related fields
File Collection of related records
Database Collection of integrated and related files
6
What can I do with a DBMS
Enter data quickly and easilyOrganize records in different waysLocate specific records quicklyEliminate dataConnect files with related informationCreate ReportsCreate Queries
7
The Database Approach to Data Management
8
Database approach Multiple application programs share a
pool of related data Increased flexibility in the use of data Requires a database management
system (DBMS)
Queries
Built thru SQL (Structured Query Language)First Name, Last Name and Annual Fee
Milton Brewer $90.00Louella Drake $40.00Elena Gupta $55.00Adelbert Ruiz $80.00Benjamin Tu $37.0
SQL:SELECT FIRSTNAME, LASTNAME, ANNUAL FEEFROM: MEMBER, MEMBERSHIP PLANSWHERE MEMBER.MEMBERSHIP CODE =
MEMBERSHIP PLANS.MEMBERSHIP CODEORDER BY LAST NAME
9
Relational Database10
Sales No Territory
112 1
113 2
114 3
115 4
116 5
117 6
Sales No LName FName
112 Belle Jamie
115 Morris Dave
114 Allan Wil
113 Shaw Danny
116 Michaels Wilson
117 Crozier Judy
Sales No LName FName Territory
112 Belle Jamie 1
113 Shaw Danny 2
114 Allen Will 3
Database Structures11
Types of Databases Relational Object-Oriented Hierarchical, Network, Multi-Dimension
Recommended