DATABASES
WHAT IS A DATABASE?
• A database is a collection of data that is
organized so that its contents can easily be
accessed managed and updated
• To create a database, we need to have a
Database Management Software (DBMS)
MK SOLUTIONS
DATABASES
1. Unnecessary duplication of data
2. Boredom and time wastage while
searching for a record
3. Misleading reports due to poor data entry
and organization
4. Poor update of records
Problems that databases are made to
address
MK SOLUTIONS
DATABASES
1. Microsoft Access
2. Lotus Approach
3. MySQL
4. DbaseIV
5. FoxPro
6. Oracle -dBASE -Libre Office Base
Common examples of DBMS - Software
MK SOLUTIONS
DATABASES
1. Allow users to delete or add records
2. Update and modify existing records
3. Organize data for easy access, retrieval
and manipulation of records
4. Ensuring the security of data
5. Keep statistics of data in the database.
Functions of DBMS
MK SOLUTIONS
DATABASES
Databases can be classified according the method used to organize
data namely:
1. Flat file
2. Hierarchical
3. Network
4. Relational
5. Object Oriented Models
A data model is a collection of concepts and rules for the description
of the structure of the database. Structure of the database means
the data types, the constraints and the relationships for the
description or storage of data respectively.
Database Models
MK SOLUTIONS
DATABASES
In flat file model, a database holds only one set of data and
its neither different from manual files
Either
In databases a flat file refers to data files that contain records
with no structured relationships. Flat files may contain only
basic formatting, have a small fixed number of fields
Database Models- Flat File
MK SOLUTIONS
DATABASES
• Data items are
arranged in tree
form. To access
level two data
items, you have
to first access
level 1 data item
called the root
component
Database Models- Hierarchical models
MK SOLUTIONS
LEVEL1
LEVEL2
LEVEL3
LEVEL3
LEVEL2
LEVEL3
LEVEL3
DATABASES
• Links are used to
express the
relationship
between different
data items,
forming a
network of items.
Accessing to one
item can be
through multiple
paths
Database Models- Network Model
MK SOLUTIONS
item1
DATABASES
• Related data items are stored together in structures
called relations or tables. Relationship can be created
between tables such that a record or records from one
table relates to another or other records in another
table.
Database Models- Relational Model
MK SOLUTIONS
Relational database model
DATABASES
• Object-oriented models define a database as a collection
of objects with features and methods
Other database models include Object-Relational model
• This is database model extended by some basic object-
oriented concepts. These allow us to work with the
widely know relational database model but also have
some advantages of the object-oriented model without
its complexity.
Database Models- Object Oriented Models
MK SOLUTIONS
DATABASES
DBMS software comes with features that help the user to
manipulate the database. These features include:
1. Tables
2. Queries
3. Report generators
4. Form interface
5. Macros and
6. Modules
Features of DBMS Software
MK SOLUTIONS
DATABASES
- Tables in a database
are used to hold
related data items
- Tables are arranged
in rows and
columns with each
row representing a
record and columns
represent common
fields
Features of DBMS Software - Tables
MK SOLUTIONS
DATABASES
- A query is a statement used to extract, change, analyze
or request for specific data from one or more tables
- For example, you might only want to see how many
individuals in your database live in a given city. Or you
might only want to see which individuals have registered
with your database within a given time period.
- As with many other tasks, you can query a database
either programmatically or via a user interface.
Features of DBMS Software - Queries
MK SOLUTIONS
DATABASES
- A form is a graphical
interface that
resembles an ordinary
paper form. They are
used to enter and
view data in a
database
Features of DBMS Software – Forms/Input Screen
MK SOLUTIONS
DATABASES
- Report carry the output from the database.
- Reports are used in decision making and analysis
Features of DBMS Software – Forms/Input Screen
MK SOLUTIONS
DATABASES
- Macros is used to automate processes in the
database
- When the database becomes more and more
complex, a programming language is used to further
automate the processes, these languages are included
in a module in the software
Features of DBMS Software – Macros & Modules
MK SOLUTIONS
DATABASES
- Data is organized from the simplest form called a
field to a very complex structure called a database
- These forms are:
1. Fields
2. Records
3. Tables
4. Database
Data Organization in a database
MK SOLUTIONS
DATABASES
- A field is a character or a logical combination
of characters that represent a data item.
Data Organization in a database- Fields
MK SOLUTIONS
DATABASES
- A record is a collection of related fields that
represent a single entity.
Data Organization in a database- Records
MK SOLUTIONS
DATABASES
- A table is a collection of related records.
Data Organization in a database- Tables
MK SOLUTIONS
DATABASES
- A database holds related files or tables
Data Organization in a database- Database
MK SOLUTIONS

1-introduction-to-databvdscvvdszases.pptx

  • 1.
    DATABASES WHAT IS ADATABASE? • A database is a collection of data that is organized so that its contents can easily be accessed managed and updated • To create a database, we need to have a Database Management Software (DBMS) MK SOLUTIONS
  • 2.
    DATABASES 1. Unnecessary duplicationof data 2. Boredom and time wastage while searching for a record 3. Misleading reports due to poor data entry and organization 4. Poor update of records Problems that databases are made to address MK SOLUTIONS
  • 3.
    DATABASES 1. Microsoft Access 2.Lotus Approach 3. MySQL 4. DbaseIV 5. FoxPro 6. Oracle -dBASE -Libre Office Base Common examples of DBMS - Software MK SOLUTIONS
  • 4.
    DATABASES 1. Allow usersto delete or add records 2. Update and modify existing records 3. Organize data for easy access, retrieval and manipulation of records 4. Ensuring the security of data 5. Keep statistics of data in the database. Functions of DBMS MK SOLUTIONS
  • 5.
    DATABASES Databases can beclassified according the method used to organize data namely: 1. Flat file 2. Hierarchical 3. Network 4. Relational 5. Object Oriented Models A data model is a collection of concepts and rules for the description of the structure of the database. Structure of the database means the data types, the constraints and the relationships for the description or storage of data respectively. Database Models MK SOLUTIONS
  • 6.
    DATABASES In flat filemodel, a database holds only one set of data and its neither different from manual files Either In databases a flat file refers to data files that contain records with no structured relationships. Flat files may contain only basic formatting, have a small fixed number of fields Database Models- Flat File MK SOLUTIONS
  • 7.
    DATABASES • Data itemsare arranged in tree form. To access level two data items, you have to first access level 1 data item called the root component Database Models- Hierarchical models MK SOLUTIONS LEVEL1 LEVEL2 LEVEL3 LEVEL3 LEVEL2 LEVEL3 LEVEL3
  • 8.
    DATABASES • Links areused to express the relationship between different data items, forming a network of items. Accessing to one item can be through multiple paths Database Models- Network Model MK SOLUTIONS item1
  • 9.
    DATABASES • Related dataitems are stored together in structures called relations or tables. Relationship can be created between tables such that a record or records from one table relates to another or other records in another table. Database Models- Relational Model MK SOLUTIONS Relational database model
  • 10.
    DATABASES • Object-oriented modelsdefine a database as a collection of objects with features and methods Other database models include Object-Relational model • This is database model extended by some basic object- oriented concepts. These allow us to work with the widely know relational database model but also have some advantages of the object-oriented model without its complexity. Database Models- Object Oriented Models MK SOLUTIONS
  • 11.
    DATABASES DBMS software comeswith features that help the user to manipulate the database. These features include: 1. Tables 2. Queries 3. Report generators 4. Form interface 5. Macros and 6. Modules Features of DBMS Software MK SOLUTIONS
  • 12.
    DATABASES - Tables ina database are used to hold related data items - Tables are arranged in rows and columns with each row representing a record and columns represent common fields Features of DBMS Software - Tables MK SOLUTIONS
  • 13.
    DATABASES - A queryis a statement used to extract, change, analyze or request for specific data from one or more tables - For example, you might only want to see how many individuals in your database live in a given city. Or you might only want to see which individuals have registered with your database within a given time period. - As with many other tasks, you can query a database either programmatically or via a user interface. Features of DBMS Software - Queries MK SOLUTIONS
  • 14.
    DATABASES - A formis a graphical interface that resembles an ordinary paper form. They are used to enter and view data in a database Features of DBMS Software – Forms/Input Screen MK SOLUTIONS
  • 15.
    DATABASES - Report carrythe output from the database. - Reports are used in decision making and analysis Features of DBMS Software – Forms/Input Screen MK SOLUTIONS
  • 16.
    DATABASES - Macros isused to automate processes in the database - When the database becomes more and more complex, a programming language is used to further automate the processes, these languages are included in a module in the software Features of DBMS Software – Macros & Modules MK SOLUTIONS
  • 17.
    DATABASES - Data isorganized from the simplest form called a field to a very complex structure called a database - These forms are: 1. Fields 2. Records 3. Tables 4. Database Data Organization in a database MK SOLUTIONS
  • 18.
    DATABASES - A fieldis a character or a logical combination of characters that represent a data item. Data Organization in a database- Fields MK SOLUTIONS
  • 19.
    DATABASES - A recordis a collection of related fields that represent a single entity. Data Organization in a database- Records MK SOLUTIONS
  • 20.
    DATABASES - A tableis a collection of related records. Data Organization in a database- Tables MK SOLUTIONS
  • 21.
    DATABASES - A databaseholds related files or tables Data Organization in a database- Database MK SOLUTIONS

Editor's Notes

  • #1 Prepared by: MK SOLUTIONS