Professional Documents
Culture Documents
• Hierarchical database
• Networked database
• Relational database
1
Hierarchical Databases
• As its name implies, the Hierarchical Database Model
defines hierarchically-arranged data.
2
Hierarchical Databases
• Relationships in such a system are thought of in terms of
children and parents such that a child may only have one
parent but a parent can have multiple children.
3
Hierarchical Databases
• This child/parent rule assures that data is systematically
accessible.
4
Hierarchical Databases
• The hierarchical database model has some serious
problems.
5
Hierarchical Databases
• If there is a higher level that includes multiple courses,
there could be redundancy because students would be
enrolled in several courses and thus each "course tree"
would have redundant student information.
6
Network Databases
• The Network model solves the problem of data
redundancy.
7
Network Databases
• In the case of a Network Database, the look is more like
several trees which share branches.
Course 1 Course 2
Student
Grade 8
Relational Databases
• At the core of the relational model is the concept of a
table in which all data is stored.
9
Relational Databases
• This is quite a bit different from the hierarchical and
network models in which the user needs an
understanding of how the data was structured within the
database in order to retrieve, insert, update, or delete
records from the database.
11
Relational Databases
• You could then use the data from a retrieved row to
query another table.
• For this use the 'Student ID‘ from the previous query as
the keyword in the next query.
• I want the row in the ‘Calculus Course' table where student
ID equals 'SID-001'.
12
MS ACCESS 2OO7
13
Objectives
• Define the terms field, record, table, relational
database, primary key, and foreign key
• Create a blank database
• Identify the components of the Microsoft
Access window
• Create and save a table in Datasheet view
• Create a simple form
• Create a simple report
14
Organizing Data
• Your first step in organizing data is to identify
the individual fields
– A set of field values is called a record
• Next, you group related fields together into
tables
15
Databases and Relationships
• A collection of related tables is called a database
17
Creating a Table in Datasheet View
• Create tab → Tables group → Table button
19
Entering Records
20
Saving a Table
• Click the Save button on the Quick Access
Toolbar. The Save As dialog box opens
21
Creating a Form
• A form is an object you use to enter, edit, and
view records in a database
22
Creating a Simple Form
23
Creating a Report
• A report is a formatted printout (or screen
display) of the contents of one or more tables
in a database
24
Creating a Simple Report
25
Viewing Objects in the Navigation
Pane
26
Quiz
27