Databases Basics Introduction To Microsoft Access
Databases Basics Introduction To Microsoft Access
Databases Basics
Introduction to Microsoft Access
Database Basics
A database is a collection of information organized in
orderly manner.
Examples are
Maintaining Employee Data.
Maintaining Students Information
Advantages of using database
1.Allow the user to add, delete or modify records more
easily
2.It is easy to search and retrieve records
3.Controls data duplication or redundancy
4.It is aesy to generate reports that can be used in decision
making
Structure of the Database .
Information within the database is separated into subjects.
Within the subject, information is arranged in Fields and
Records
What is a Field?
is a single item of information or data. For example, in a registration
form Name will be one field.
What is a Record?
is a collection of fields that are related to one set of data. For
example, in a registration form, all the data relating to “your name” will
make up one record.
What is a subject?
is a collection of records that are related to one set of information. For
example, Records for all employees will make up one subject
Manual Database Systems.
User
File Keeper
Files Room
Computer Database systems.
called tables
view, add, and update table data using forms
find and retrieve just the data you want using queries
analyze or print data in a specific layout using reports.
How it Look like
Example of data management using Database management
system
Database in design stage
The database is created after analyzing the information
needs of an organization through identification of:
Entities
Is a distinct subject or category in the organization that is
to be represented in the database e.g Customers. This will
determine the number of Tables in your database.
Attributes
Is a specific piece of information about a subject, such as
the address for the customer. Attributes will determine
the number of fields in a table.
Relationships
Is an association between several entities
Database Management System{DBMS}
• Oracle
• Microsoft SQL Server.
• dBase IV
• Paradox etc.
Microsoft Access
Is a Powerful, flexible and easy to use DBMS
In Microsoft Access, you will work with one Database at
a time.
Your working Environment in Microsoft Access is the
DATABASE WINDOW
All the Data in a report comes from the Tables in your Database
Any other data, such as Titles or Dates are placed using the Report
Design
Reports are created in the same way as Form, so
you can create it: -
From scratch design
Using Report Wizard.
By Saving the Form as Report
Defining relationships.
Once you have created the tables that make up the database, it is
a good idea to define relationships between the tables. Telling
Microsoft Access how data is related between tables makes it
easier to create queries, forms, and reports that include multiple
tables.
To define relationships between tables: -
1. Close any table you have open. You can't create relationships
between open tables.
2. Go to Tools menu Click Relationships.
3. Double-click the names of the tables you want to relate, and then
close the Add Tables/Queries dialog box.
4. Drag the field that you want to relate from one table to the related
field in the other table.
5. Click the Create button to create the relationship.
6. Repeat steps 4 to 5 for each pair of tables you want to relate.
7. Save and close the relationship window
To edit or delete an existing relationship