You are on page 1of 18

SEMESTER 1, TAHUN AKADEMIK 2017/2018

DATABASE MANAGEMENT SYSTEM


SKJ2063

TITLE:
SK Bayan Baru Library Management System

NAMA PENSYARAH:
Dr. Nurzi Juana bt. Mohd Zaizi

AHLI KUMPULAN:

NO MATRIK NAMA NO TEL EMAIL

1170019 Nadzirah bt. Md Isa 01111724251 zrhisa@gmail.com

1170020 Nur Nayli bt. Mazuki 01125477183 nayli8898@gmail.com

1170021 Nur Shahidah bt. Aziz 0173456900 shahidahaziz31@gmail.com


CONTRIBUTION OF EACH GROUP MEMBER

find the
writes the suggest the information
proposal paper organization about the chosen
organization
NUR SHAHIDAH
NADZIRAH MD ISA NUR NAYLI MAZUKI
AZIZ
collect and sort
writes the
writes the sql all the
problem
code information
statement
needed

create the
slide preparation
database based presenter
for presentation
on sql code
DATABASE MANAGEMENT PROPOSAL
The chosen organization:
SK Bayan Baru Library Management System
History of SK Bayan Baru
Sekolah Kebangsaan Bayan Baru commenced operations on July 16, 1994. The school was
named after a place in the Southwest District of Penang, Bayan Baru. The original site of this
school is the 'rang' land filled with bushes. The first principal of the Sekolah Kebangsaan
Bayan Baru is also the founder of this school, En. Baharul Azhar Omar. Initially, a total of 15
teachers was stationed in this school to educate about 350 students living near this school
environment. The identity of this school can be seen through badges, flags and school songs
with motto "Knowledgeable Knowledge". Mr Baharul Azhar bin Omar is the person
responsible for selecting and deploying School Resource Center at 2 Cempaka Block because
of its strategic position in line with its function as a knowledge building. To ensure that the
School Resource Center is fully utilized among students, En. Hussain bin Salleh, Head of
Secondary School of Bayan Baru, suggested the "Mari Membaca" program to foster reading
interest amongst students and they visited the School Resource Centre.
Business Requirement
 Provide student and staff to do research and difference in a form of reading
materials
 Provide librarian with ability to view the borrower’s records
 Allowing the admin to enter information regarding borrower
 Provide student login page where student can find books anytime and
anywhere
 Spread the update and latest information for the aim of teaching, research
and learning
Problem Statement
Firstly, students who want to borrow books need to go to the loan counter, the librarian will
find a log book that has a list of student names and their classes. Next, they will record the
title of the book and the date the book borrowed. Students are only allowed to borrow 2
books for a week. When the book was returned, the librarian will record the date, the name
of the student and their class on the card placed on the cover of the book. In addition, the
name of the author of the book is also written on the card. This process take a long time,
complicated and troublesome the librarian to do their work.
Limitation of Current System
As stated earlier the current system used by the library does not seem to contain a database
structure, but instead it is based on hard-copy paper charts. Information is collected using
paper forms which are then simply kept in physical charts. Undoubtedly, this could be
extremely time-consuming which may ultimately result in decreasing the amount of
borrower that can be seen by the librarian on daily basis. Those limitations pose other
challenges once the database design is completed. Having used a paper-based system for
its borrowers, SK Bayan Baru’s library does not have the necessary tools or resources to
enter borrowers’ information in an electronic database. This suggests that the database
design should be simplified to house information about borrowers that may have already
provided their information such as their borrowed books history. The current system makes
it more difficult to collect information from the borrowers and possible increase the level of
error when entering borrowers’ information provided on paper into the computer.
Proposed Solution
We proposed to develop Library management system. The digital library management
system will offer simplicity as well as security and efficiency to the management. The
current system stores the database information on a local computer, which is hard to be
updated and accessed on a remote computer or a computer in the library network. It is
difficult to catch defaulters in a usual library system, but library management system solves
this problem by providing messages to the administrator about the fine to be paid and
books to be returned. When a book is to be borrowed, its barcode is read and is fed to
library management system. When the librarian tries to issue a book to a member, library
management system checks whether the member is allowed to borrow books respective to
his limit. If the book has no restrictions it is issued to the member, and also the member’s
details is updated with the books that he has just borrowed.
Al-Quran verse that is related to the problem
People with knowledge are the ones who will obtain understanding, and consequently
admonition from Allah SWT, as stated in the following verse thus:
“Is one who worships devoutly during the hour of the night prostrating himself or
standing (in adoration), who takes heed of the Hereafter, and who places his hope in the
Mercy of his Lord – (like one who does not)? Say: ‘Are those equal, those who know
and those who do not know? It is those who are endued with understanding that
receive admonition.” Surah al-Zumar (39): 9
Through this verse, Allah SWT explains that in society there are people with knowledge and
people without knowledge. People with knowledge are risen in their stature in the sight of
Allah SWT. We choose this Al-Quran verse because we had knowledge in database system
and we can create it to make all the information become more systematic and it is easier to
access. So, the borrowing system also become more faster and efficient .
ENTITY RELATIONSHIP DIAGRAM

author book_title
bor_name status

BORROW
BOOK BORROWER

bor_ic
price
book_isbn gender

SUPPLY BY
HAS

supplier_name

SUPPLIER supplier_email

supplier_id

sup_address card_id
borrowing_date

MEMBER_CARD

returning_date

address name

LIBRARIAN MANAGE

staff_id contact_no
RELATIONAL MODEL

Supplier

SUPPLIER_ID SUPPLIER_NAME SUPPLIER_ADDRESS SUPPLIER_EMAIL

Book

book_isbn book_title author price supplier_id

Borrower

bor_name status bor_ic gender book_isbn

Member_card

card_id borrowing_date returning_date bor_name

Librarian

staff_id staff_name contact_no address card_id


TABLE
Table: Supplier
Primary key: supplier_id

supplier_id supplier_name supplier_address supplier_email


1001 AXIS TETELCOM LTD 2375 3RD STREET mthurn@live.com
92507 RIVERSIDE
1002 CENTRICA 1135 PLEASENT fangorn@hotmail.com
VIEW TERRACE
WEST 07657
RIDGEFIELD
1003 NPOWER LIMITED 4411 PLANTATION rgarcia@optonline.net
ROAD NE 24012,
ROANOKE
1004 OPUS OYLESI SOKAK, webdragon@comcast.net
SERIFALI MAH.
NO:8-10 UMRANIYE
34775 ISTANBUL
1005 ENERGY COOP LTD BURHAN ULUDAG crandall@sbcglobal.net
CAD., KOYUNBABA
MAHALLESI,,
NO:180 OSMANCIK
19040, CORUM
1006 DUAL ENERGY 3F & 7F-1 NO.12, drezet@me.com
DIRECT LIMITED SEC.3, MINCHUAN E.
RD TAIPEI TAIWAN
104 TAIPEI
1007 BES COMMERCIAL NO.13 SIN TIEN 2ND miyop@icloud.com
ENERGY STREET JEN TE
HSIANG (71752) 752
TAINAN
1008 MA ENERGY LTD NO.375, HAIHU E. euice@outlook.com
RD. LUJHU
TOWNSHIP
TAOYUAN COUNTY
338
1009 EDF PLC 127, GONGDAN 4- firstpr@att.net
RO JILLYANG-EUP
38467 GYEONGSAN
1010 E.ON UK 95, GOONG-DONG mxiao@yahoo.com
KURO-GU 15288
SEOUL
Table: Book
Primary Key: book_isbn
Foreign Key: supplier_id
book_isbn book_title author price supplier_id
978-967-061-883- 365 Cerita Emmy 37 1001
8 Teladan Terbaik Soekresno. Nur
Syafiqa Yusoff
978-967-411-748- Aku, Kau & ARTIS-ARTIS 9 1002
1 Malaysia : KOMIK-M
Negaraku
978-983-3811-32- Akif Nihaz Mohd. 20 1003
8 Terperangkap Yusoff.
978-983-70-3494- Step by Wicked G.K.Sidhu 5 1004
5 Step Audrey B.Y.Lim
978-967-0142-08- MISI 10A Emmy 13 1005
1 Soekresno. Nur
Syafiqa Yusoff
978-967-436-756- EKSPRES Suhaimi Mamat 7 1006
5 Lengkap UPSR : S.Ruzana
SAINS
978-0-545-35669- Guide to Marvin Tebran 15 1007
5 Grammar
978-0-316-20994- Ask My Mood Diana Lopez 31 1008
6 Ring How I Feel
978-967-388-276- Prophet Yusuf Ummu Ammar 17 1009
2 Series 2 Amir, Ris Melati
Shamsuddin
978-983-471-559- Kamus Othman Puteh, 40 1010
5 Bergambar Talib Abdullah,
Generasi Baharu L. Shirley
KSSR
Table: Borrower
Primary Key: bor_name
Foreign Key: book_isbn
bor_name status bor_ic gender book_isbn
Muhammad Umair Ar- Student 050327-07-5033 L 978-967-
Rasyid bin Aziz 061-883-8
Muthusamy A/L Student 060515-07-5153 L 978-967-
Malayandy 411-748-1
Siti Aisyah binti Ahmad Student 070518-07-7174 P 978-983-
3811-32-8
Sharifah Aliya binti Student 060201-07-6252 P 978-983-
Syed Fahmi 70-3494-5
Muhammad Hassan Student 091123-07-6437 L 978-967-
bin Abdul Aziz 0142-08-1
Neera A/P Krishnan Student 081206-07-5132 P 978-967-
436-756-5
Lau Lin Tiong Student 071016-07-6265 L 978-0-545-
35669-5
Nur Alia binti Samad Student 051203-07-5904 P 978-0-316-
20994-6
Erica Wong Student 050202-07-5618 P 978-967-
388-276-2
Ahmad Muhsin bin Student 100110-07-6589 L 978-983-
Ahmad Mukhlis 471-559-5
Table: Member_card
Primary Key: card_id
Foreign Key: bor_name

card_id borrowing_date returning_date bor_name


2001 4-JAN-2016 18-JAN-2016 Muhammad Umair
Ar-Rasyid bin Aziz
1023 16-MAR-2016 30-MAR-2016 Muthusamy A/L
Malayandy
1456 18-MAR-2016 1-APR-2016 Siti Aisyah binti
Ahmad
1304 1-MAY-2016 15-MAY-2016 Sharifah Aliya binti
Syed Fahmi
1087 29-JUL-2016 12-AUG-2016 Muhammad Hassan
bin Abdul Aziz
1136 8-AUG-2016 22-AUG-2016 Neera A/P Krishnan

1464 25-AUG-2016 8-SEP-2016 Lau Lin Tiong

1031 1-SEP-2016 15-SEP-2016 Nur Alia binti Samad

1208 3-SEP-2016 17-SEP-2016 Erica Wong

1258 24-OCT-2016 7-NOV-2016 Ahmad Muhsin bin


Ahmad Mukhlis
Table: Librarian
Primary Key: staff_id
Foreign Key: card_id

staff_id staff_name contact_no address card_id


1701 SURYATI BT 0178765458 LOT 56, JALAN 2001
DERAMAN WAWASAN NILAI
1702 NUR DALILA BT MAT 0134658349 NO 98 JALAN 1023
RASID DAHLIA TAMAN
SATELIT
1703 WAN NUR AFIFAH 0142355786 No21 TAMAN 1456
BT MARZUKI SAUJANA NILAI

1704 FARHAN HADI BIN 0157707358 NO12 TAMAN 1304


ZAKI SAUJANA HIJAU

1705 SITI HAJAR BT HADI 0111965021 NO1, TAMAN 1087


KENANGA
CYBERJAYA
1706 NAJWA AIN BT 0137685432 TL18 TAMAN 1136
MOHD HARAPAN
PUTRAJAYA
1707 SITI SARAH BT 0194876954 NO17 TAMAN UPC 1464
SAIFFUDIN

1708 NURUL SYAHIDAH 0185324510 NO4 JALAN 1031


BT JALIL UNIVERSITI
TAMAN GEMILANG
1709 AINA NADIRAH BT 0165272943 NO1 JALAN 1208
ZAWAWI PERDANA2 TAMAN
PERDANA
1710 LAILI SYAZWANA BT 0120080706 NO3/4 TAMAN 1258
RAHIM JASA INDAH
PHYSICAL DESIGN
CREATE DATABASE statement

CREATE TABLE statement


INSERT INTO statement
SELECT statement to display all records from the tables
SELECT statement to demonstrate the use of DISTINCT code

SELECT statement to demonstrate the comparison search condition

SELECT statement to demonstrate search condition based on pattern matching

SELECT statement to demonstrate the use of MIN, MAX and AVG


REFERENCE
Al-Quran
Carlos Coronel & Steven Morris. 2016. Database Systems Design, Implementation, and
Management. Singapore: Cengage Learning Asia Pte Ltd. p. 251.
Chipper. 2016. accessed: 6 October 2017. “How to install MySQL on windows-MySQL
Comand Line Client”. Youtube. <https://www.youtube.com/watch?v=qer5_4-
_shE&index=2&list=PLSPMgrv4IuJ7FCLR3xYF5td0raZ-lUef4>.
Chipper. 2016. accessed: 6 October 2017. “MySQL- TABLE,INDEX,VIEW”. Youtube. <
https://www.youtube.com/watch?v=41pYPhzqSOY&list=PLSPMgrv4IuJ7FCLR3xYF5td0raZ-
lUef4&index=5>.

n.a. “Sejarah Sekolah”. Sekolah Kebangsaan Bayan Baru.www.skbayanbaru.edu.my/sejarah-


sekolah/ accessed: 25 September 2017.

You might also like