end show 3.4 database management system unit 3. end show what is a database? it’s an organized...
TRANSCRIPT
End Show
3.4 Database Management System
Unit 3
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
Index Number
Name District
1 Janaka Saman Kumara Galle
2 Priyantha Ilukdeniya Hambantota
3 Nirmala Dilrukshi Anuradapura
4 Samanthi Iddamalgoda Galle
5 Gunarathna Maddumage Hambanthota
6 Bandula Kariyawasam Galle
7 Chandrarathna de Silva Kalutara
Index Numbe
rName District
1 Janaka Saman Kumara Galle
4 Samanthi Iddamalgoda Galle
6 Bandula Kariyawasam Galle
Retrieve all records that match certain criteria
Students from Galle
End Show
Index Number
Name District
1 Janaka Saman Kumara Galle
2 Priyantha Ilukdeniya Hambantota
3 Nirmala Dilrukshi Anuradapura
4 Samanthi Iddamalgoda Galle
5 Gunarathna Maddumage Hambanthota
6 Bandula Kariyawasam Galle
7 Chandrarathna de Silva Kalutara
Index Number
Qualifications
1 OL
2 AL
3 OL
4 OL
5 GRADE 10
6 BA
7 AL
Cross-reference records in different tables
End Show
Data Base Management Systems (DBMS)
• Access
• FileMaker Pro
• Oracle or
• SQL Server
End Show
Provides you with the software
tools you need to organize data in a
flexible manner.
DBMS
End Show
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
You can
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.
End ShowHow Access stores data in
Tables
• 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
End Show
A row represent a RECORDcontaining all the information about one item (or entity).
004 Sunil Male 05/07/2005
No
001
002
003
005
No
001
002
003
005
Name Sex DOBName Sex DOB
End Show
A column represent a FIELDcontaining the same type ofinformation about every record.
Name Sex DOBName Sex DOB
004
No
001
002
003
005
No
M
M
M
M
M
End Show
2234752KalutaraNishani3
2245231MataraJagath2
2285462GalleSunil1
Tel.No.DistrictNameNumber
RECORD
FIELD
FIELDNAMES
End Show
If a database only stores
information it would be useless.
- We need to retrieve information
as well.
End Show
Index Numbe
rName District
1 Janaka Saman Kumara Galle
4 Samanthi Iddamalgoda Galle
6 Bandula Kariyawasam Galle
Retrieve information on those living in Galle
Index Numbe
rName District
1 Janaka Saman Kumara Galle
2 Priyantha Ilukdeniya Hambantota
3 Nirmala Dilrukshi Anuradapura
4 Samanthi Iddamalgoda Galle
5 Gunarathna Maddumage Hambanthota
6 Bandula Kariyawasam Galle
7 Chandrarathna de Silva Kalutara
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
You can query the table so
that it can retrieve data
according to your request with
the use of QUERIES
Or
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
1. Click here
2. Click here
How to start Microsoft Access
1
End Show
2
1. Selectthis
2. Clickthis
End Show
1. Enter a file name here
2. Click here
3
End Show
4
Microsoft Access Database window
End Show
Database objects
Database objects
Database objects
Database objects
End ShowTo create a table in Design view:
1. Select
2. Select
3. Click
End Show
1. Select
End Show
2. Click
End Show
1. Enter Field Name
here
2. Select the Data Type by clicking the down arrow
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
1. Select the table
2. Click Open
To Open the table
End Show
Data Sheet view
End Show
Record 1
Record 2
Record 3
End Show
Thank You