Ss3 Computer Note (Week 3) Introduction to Database
Ss3 Computer Note (Week 3) Introduction to Database
LAGOS
COMPUTER STUDIES FOR SS3
INTRODUCTION TO DATABASE
AMIRE OPEYEMI
2024-10-07
GREAT STUDENT OF COMPUTER STUDIES!
QUOTE FOR THE WEEK
“ Academic excellence without moral excellence is like a ship
without a sail: it may look good, but it cannot reach its
destination “
LESSON OBJECTIVES
1. Explain database concepts and the functions of a database.
2. Explain the concept of database packages.
3. Mention examples of database packages.
4. Explain basic terms in database systems.
5. State features of a database
6. Describe traditional filing methods.
7. Explain types of database models with diagrams.
8. State forms of database organization.
DATABASE
A database is an organized collection of data that allows easy access, management, and
updating. They are used to store and organize data efficiently for quick retrieval and
manipulation.
FUNCTIONS OF A DATABASE
1. Data Storage: Databases store data in a structured manner.
2. Data Retrieval: It allows users to quickly retrieve specific information using
queries.
3. Data Manipulation: Data can be updated, added, or deleted.
4. Report Generation: Databases can create reports summarizing data.
5. Data Security: It protects sensitive data through access control and permissions.
FEATURES OF A DATABASE
a. Data Structures: It organizes data into tables, records (rows), fields (columns), and
indices.
b. Report Generation: It allows the creation of summaries and reports from stored
data, which can be printed or exported.
c. Query Language: It is a tool that helps retrieve specific data using commands. The
most common query language is SQL (Structured Query Language).
d. Modules: This is a functional components of a database that perform specific tasks,
such as user management, data entry, or querying.
e. Data Integrity: Databases ensure that data is accurate and consistent. Data integrity is
maintained through constraints such as primary keys, foreign keys, and unique
constraints, ensuring that incorrect or duplicate data is not entered.
DATABASE MODELS
Database models define how data is structured and organized in a database system. There
are different models used to organize data:
Types of Database Models
1. Hierarchical Model: This is a database model in which data is organized in a tree-
like structure. It consists of parent-child relationships where each parent can have
multiple children, but each child can only have one parent.
SCHOOL
SCIENCE ART
GOVERNMEN
BIOLOGY PHYSICS LITERATURE
T
2. Network Model: This is a database model in which data is represented using nodes
and relationship but allows each child to have multiple parents.
COLLEGE
CSE
LIBRARY
DEPARTMEN
T
STUDENT
3. Relational Model: This is a database model in which data is stored in tables (rows
and columns). Tables are related through keys (primary and foreign keys). It is the
most commonly used in modern databases (e.g., MySQL, Microsoft Access).
DEPARTMENT
CLUB (CLUB:DRAMA) CLASS (CLASS: SS3)
(DEPT:ART)