week7e-notecomputersss3databaseapplicationfirstterm
week7e-notecomputersss3databaseapplicationfirstterm
DATABASE
WHAT IS DATABASE?
Example includes:
Using a DBMS make files easy to store, edit and retrieved effectively.
computer programs that controls the creation, maintenance, and use of a database.
(RDBMS).
5. Improved security.
9. Application-data independence.
2. File
3. Record
4. Field
6. Forms
7. Query
8. Report
9. Table
10. Index
Database structure
Data item
Field
Record
Database
Databank
1. Data:
Data is defined as raw facts or unprocessed facts or known facts.
2. Field:
A field is a single piece of attribute about an entity, place or event. In a student
database table, some examples of attributes or field are surname, data of birth,
address, sex etc. These are represented as columns in a database table.
3. Record:
A record is a complete set of attributes (fields) about an entity, place or event.
This is represented as rows in a database file or table.
For example:
The student table below has ___3_ records, _5__ fields represented by __4___
rows and __5__ columns respectively. The first row represents a record for
Ayomide Abati.
The PRIMARY KEY is a unique attribute that can be used to identify a record in a
database table. In the student database table above, the attribute that is unique
to identify each record is the ________.
ASSIGNMENT
Explain the following types of keys as used in database:
1. Secondary keys
2. Foreign keys
3. Composite keys
4. Complementary keys
5. Tertiary keys
For example, a school database will have an academic file that contains all the
academic records of the students in the school. It can also have an accounts file
that contains the financial information of the students. It can have a parent file
that contains information about the students’ parents and so on.
OTHERS ARE:
6. Database:
It is collection of interrelated files or tables.
9. Query:
Queries ask questions about information stored in the tables. Query is used to
ask questions and get answers from data.
11. Forms:
A form is a database object that is used to enter or display data in a database. It
is a method used to enter, view or print the information in a table or query.
12. Reports:
Reports allow you to show data in a printable format. It allows you to print data
based on queries / tables that you have created.
DATABASE MODELS
What is Database Model or Database Organization?
A database model is the fundamental specification describing how a database is
It also defines the set of operations that can be performed on the data.
storing small amounts of data that needs to be human readable or edited by hand.
They are called flat because they contain only one table. One of the main
child relationship.
Fruit
The relational model was introduced by Edgar F. Codd in 1970 as a way to make
database management systems more independent of any particular application.
A relational database uses tables with rows and columns to show relationships
amongst data in a database.
Relational database is very useful in creating multiple tables linked together using
relationship.
Three key terms are used extensively in relational database models, they are:
1. Relations
2. Attributes and
3. Domains.
Department A Department B
Project A Project B
NETWORK MODEL
consuming.
GENERAL EVALUATION:
1. List FIVE examples of DBMS
2. Explain any THREE uses of Ms-Access in DBMS.
READING ASSIGNMENT:
Students are expected to read ‘read on how to load and exit Ms-Access.
WEEKEND ASSIGNMENT: