Você está na página 1de 33

Submitted To: Ms Humaira

Naz
DATABASE

ACCESS Submitted By:

PROJECT Tariq Yousaf


Sana Munir
Midhat Batool
Irfan Zafar
Atif Talal
COMSATS Institute Of Information Technology, ISLAMABAD
LIBRARY AUTOMATION
SYSTEM
Database Objects

» Tables

» Queries

» Forms

» Reports
TABLES
Data is stored in the
form of tables, it
consist of rows and
columns. Within a
table data is stored as
a Record. A record is
further divided into
the fields.
TABLES OF LIBRARY
AUTOMATION SYSTEM
The tables generated for the Library system
are:

» Books
» Departments
» Membership
» Members
» Issues/Return
» Publishers
» Supplies
» Suppliers
TABLES : BOOKS
In this table, the information about the books
present in the library is entered. The field
names in this table providing the data
about the books are:

• Book ID
• Supply ID
• Class No
TABLES: DEPARTMENT
In this table, the names of the departments
are given. These are the departments which
are showing the number of students, who
are also the members of the library.
Through this table it becomes clear that
how many departments a university is
having. The fields for this table are:

• Department ID
• Department Name
TABLES: MEMBERS
• Member ID
• Member Name
• Member Department
• Member Discipline
• Member Designation.
TABLE: MEMBERSHIP DATE

• Library ID
• Membership Date
• Membership Expiry
Date
TABLE: ISSUANCE
• Issue ID
• Book ID
• Member ID
• Issue Date
• Expiry Return Date
• Return Date
TABLE : SUPPLIERS

• Supplier ID:
• Supplier Name
• Supplier Address
• Supplier Phone No
• Supplier Email
TABLE: PUBLISHERS

• Publisher ID
• Publisher Name
• Publisher Address
• Publisher Phone No
• Publisher Email
• Publisher URL
TABLE : SUPPLIES• Supply ID
• Supplier
• Publisher
• Purchase
Date
• Book Title
• Book Author
• Book Subject
• No of Copies
• No of Pages
• Book Edition
RELATIONSHIPS
An association that
is established
between common
fields (columns) in
two tables. A
relationship can be
One to one, o One
to Many, Many to
many
RELATIONSHIP WINDOW
TYPES OF RELATIONSHIPS

ONE TO ONE RELATIONSHIP:

• Relationship between members and library


members table:

Relationship between members and library members


table is one to one relationship. This relationship is
showing that at each time one member can issue his
desired books with one membership card.
TYPES OF RELATIONSHIPS

ONE TO MANY RELATIONSHIP:


• Relationship between Department and Members
table:
This is one to many relationship, it is showing that many
members belongs to each department existing in
university.

• Relationship between Library Membership Card


and Issuance Table:
One to many relationship describing that through one
membership card many books can be issued.
TYPES OF RELATIONSHIPS

• Relationship between Books and Issuance


Table:
The relationship is one to many. Its shows that in library
single book can be issued for several times.

• Relationship between Books and Supplies


Table.
This relationship which is showing the one to many type
of relationship explains that, there are number of books
are supplied in one supply. It means that there are
several copies of single book supplied to library or any
book station.
QUERIES
Queries to view, change,
and analyze data in
different ways. It is a source
of records for forms,
reports, and data access
page. There are several
types of queries in
Microsoft Access.
TYPES OF QUERIES
As the queries are the mechanism to
retrieve the information from the
data entered in tables. So this
mechanism can be performed in
various types, the kinds of the
queries are:

• Select Query
• Make Table Query
• Update Query
• Append Query

SELECT QUERY
The table generated by this query is showing
only the Members and their attributes who
belongs to business administration
department either he/she is from BBA or
MBA.
MAKE-TABLE QUERY
This table is showing the fields of the two
related tables. This query is generated in
the form of new table. The fields selected
from the two related tables appear in the
new table, it can be shown as:
UPDATE QUERY
The table of Membership dates has the field
of Membership Date which is describing the
date that on which date membership card
got an activation. This date varied from
members to members. After applying the
update query in this field, it is showing the
same date for all of the members of library.
It can be shown as:
APPEND QUERY
In this table, the selected fields of the existing
table ‘Members’ has been added in the
same table, the data in the fields, added
again is same but the Member ID which is
its primary key is different. It can be shown
as:
DELETE QUERY
In the table of Suppliers, there was a field or
record of the Suppliers URL, but through
the delete query, the suppliers URL field is
selected to be deleted. After running this
query, Suppliers URL field was no more
there. It can be shown as
FORMS
A form is a type of a
database object that is
primarily used to enter
or display data in a
database. You can also
use a form as a
switchboard that opens
other forms and reports
in the database, or as a
custom dialog box that
accepts user input and
carries out an action
SWITCHBOARD
FORMS
REPORTS
A report is an effective
way to present your
data in a printed
format. Because you
have control over the
size and appearance of
everything on a report,
you can display the
information the way
you want to see it.
In Library Automation system, several
reports can be generated. As it
contains numbers of tables. Queries
can be modify in the format of reports.

• Library Members – membership date


of library card.

• Suppliers
LIBRARY MEMBERS REPORT
It is the modification of the query in
report format.
SUPPLIERS
This report is
showing all the
attributes of
the suppliers.
THE END

Você também pode gostar