What is a database? - Nowfeek MIT Online Information Source

Download Report

Transcript What is a database? - Nowfeek MIT Online Information Source

End Show
Unit 3
3.4 Database
Management System
End Show
What is a database?
It’s an organized collection
of data, related to a
particular subject or
purpose.
End Show
Databases are actually much more
powerful than spreadsheets. You
can manipulate data much more
easily using a database.
End Show
Some of the actions that you can perform on a
database that would be difficult (if not impossible )to
perform on a spreadsheet are:
 Retrieve all records that match certain criteria
 Update records in bulk
 Cross-reference records in different tables
 Perform complex aggregate calculations
End Show
Retrieve all records that match certain criteria
Index
Number
1
Name
Janaka Saman Kumara
District
Galle
Students from Galle
2
Priyantha Ilukdeniya
Hambantota
3
Nirmala Dilrukshi
Anuradapura
4
5
Samanthi Iddamalgoda
Gunarathna Maddumage
Index
Numbe
r
Name
District
Galle
1
Janaka Saman Kumara
Galle
4
Samanthi Iddamalgoda
Galle
6
Bandula Kariyawasam
Galle
Hambanthota
6
Bandula Kariyawasam
Galle
7
Chandrarathna de Silva
Kalutara
End Show
Cross-reference records in different tables
Index
Number
1
2
3
4
Name
Janaka Saman Kumara
Priyantha Ilukdeniya
Nirmala Dilrukshi
Samanthi Iddamalgoda
Index
Number
Qualifications
1
OL
2
AL
3
OL
4
OL
5
GRADE 10
6
BA
7
AL
District
Galle
Hambantota
Anuradapura
Galle
5
Gunarathna Maddumage
Hambanthota
6
Bandula Kariyawasam
Galle
7
Chandrarathna de Silva
Kalutara
End Show
Data Base Management Systems
(DBMS)
• Access
• FileMaker Pro
• Oracle or
• SQL Server
End Show
DBMS
Provides you with the software
tools you need to organize data in a
flexible manner.
End Show
You can
Add data to the database
 Modify or delete data from the
database
 Ask questions (or queries) about
the data stored in the database
and
 Produce reports summarizing
selected contents

End Show
A DBMS contains several objects
 Tables
 Queries
 Forms
 Reports etc.
End Show
Tables allow us to create the
framework for storing information
in a database.
How Access stores data in
Tables
End Show
• Like all other databases, Access 2007 stores
data in tables. They look a lot like the cells
of a spreadsheet with columns and rows.
Each horizontal column represents a table
record, and each vertical column represents
a table field. See Table example below:
End Show
A table organizes data into
columns
End Show
and Rows
No
Name
Sex
DOB
Sunil
Male
05/07/2005
End Show
001
002
003
004
005
A row represent a RECORD
containing all the information
about one item (or entity).
End Show
No
Name
Sex
001
M
002
M
003
M
004
M
005
M
DOB
A column represent a FIELD
containing the same type of
information about every record.
End Show
Number
1
Name
Sunil
District
Galle
Tel.No.
2285462
2
Jagath
Matara
2245231
3
Nishani
Kalutara 2234752
FIELD
FIELD
NAMES
RECORD
End Show
If a database only stores
information it would be useless.
- We need to retrieve information
as well.
End Show
Retrieve information on those living in Galle
Index
Numbe
r
Name
District
1
Janaka Saman Kumara
Galle
2
Priyantha Ilukdeniya
Hambantota
3
Nirmala Dilrukshi
Anuradapura
4
Samanthi Iddamalgoda
Index
Numbe
r
Name
District
Galle
5
Gunarathna Maddumage
Hambanthota
6
Bandula Kariyawasam
Galle
7
Chandrarathna de Silva
Kalutara
1
Janaka Saman Kumara
Galle
4
Samanthi Iddamalgoda
Galle
6
Bandula Kariyawasam
Galle
End Show
If you simply want to recall
the information stored in a
table
 you can open the table and
scroll through the records
contained within it
End Show
Or

You can query the table so
that it can retrieve data
according to your request with
the use of QUERIES
End Show
Forms are user-friendly
interfaces that allow users to enter
information in a graphical form.
That information can be directly
passed to the database.
End Show
Information could be retrieved
from our database through the use
of queries in a tabular form .
-- not exactly the most attractive
marketing material!
End Show
Reports
provide attractively formatted
summaries of the data contained
in one or more tables and/or
queries.
End Show
Reports allow the inclusion of
graphics, attractive formatting
and pagination.
End Show
Offer an organized mechanism
for storing, managing and
retrieving information through the
use of tables
End Show
Microsoft Access
End Show
How to start Microsoft Access
1
2. Click here
1. Click here
End Show
2
1. Select
this
2. Click
this
End Show
3
1. Enter a file
name here
2. Click
here
End Show
4
Microsoft Access Database window
End Show
Database
objects
End Show
To create a table in Design view:
3. Click
1. Select
2. Select
End Show
1. Select
End Show
2. Click
2. Select the Data
Type by clicking
the down arrow
1. Enter
Field Name
here
End Show
3. Type a
descriptio
n
here
End Show
To Save the table
1. Click File
2. Select Save
3. Type a file name
4. Click OK
End Show
We can use two methods to place
information into tables
By opening the table and
adding data
 By using a user friendly
graphical FORM to add data

End Show
To Open the table
1. Select the
table
2. Click
Open
End Show
Data Sheet view
End Show
Record 1
Record 2
Record 3
End Show
Thank You