Database Report
Database Report
Some of the challenges presented in working with paper-based are the process in designing its
database, the high cost of paper and ink printer purchases in order to print out student inventory forms.
The form must be printed according to the number of students enrolling in the USIM’s Residential
Colleges for the current semester. Furthermore, what makes this database even more worst is the fact
that some students may not submit their inventory form, in which case this may happen as students
need to fill out the form manually and need to send it to the office. On certain factors such as the
distance between residential blocks and residential college offices make it difficult for them to submit
the form. This causes the data to be taken incompletely. Moreover, every USIM’s Residential Colleges
using different system and caused unsynchronized data.
1.2BUSINESS REQUIREMENTS
We listed several requirements and expectations through this project research. The
requirements for this research are the administrator is able to view their students’ records. Next,
providing the administrator with the ability to view their facilities information of each room in the
building of residential college. Furthermore, allowing students to comment and inform the damage or
condition of the inventory in their residential college. Then, providing the agreement between students
and USIM to make sure the facilities are in good condition.
The expectations may include the automatically stored and organized databases for the
student’s facilities in their room including their comments and reports on their inventory. Next, creating
an advanced security for the access to the data, to prevent the loss of sensitive information’s of
students, the database is protected from unauthorized users. Then, ensure the safety of data.
This project will occupied the need of administrator of residential college and create a
significant management system to store students information’s in residential college. It is important to
make sure the databases are more secured and more effective. The new database system will create a
new system that fit to the need of administrator of residential college and change the paper-based
system with the better database system. It is the alternative way to keep all the information protected
and only authorized user can access the database and easier for the supervisors to check the condition
of residential college. The technician will be in charge when there are some problems with the
maintenance of the building and damage of any facilities. The problems of the inventory can be
detected by the supervisors through the new system easily and fast. Then they can inform the
technician on duty to check and repair the facilities. The students that having problems in their
residential area can inform the administrator quickly through online system so that they can save their
time and energy to go at the administrator office and write the report manually. The new system of
database will help the administrator to ensure all students had registered their residential area
electronically and record the withdrawal of the student automatically when they checked out from the
residential college. The new system will make sure the database will be managed in effective way.
1.3 LIMITATION OF CURRENT SYSTEM
As stated earlier, the current system used by the residential college to conduct the study for it
management system does not seem to contain a database structure, but instead it is based on hard-
copy paper forms. Information is collected using paper forms which are then simply kept in files. The
management officer review those file to check for the residential college problem. Undoubtedly, this
could be extremely time-consuming which may ultimately result a delay to manage and repair the
college inventory. Data of the management also cannot be retrieved to do any query because all the
data is not interacted. The possibility to have data redundancy and inconsistency is also high due to the
students that don’t send the paper form or filling the form twice. Moreover, the data would highly be
unsafe and insecure because the paper form can either lost or damage due to climate change and
natural disaster or been stolen.
Having used a paper-based system for its student, USIM’s Residential Colleges does not have
the necessary tool or resources to enter the college information in an electronic database. This suggests
that a database design should be implemented to the college inventory information which is Residential
College Inventory Management System (RCIMS) using the database management system. The current
system makes it difficult to collect information from the student and possibly increase the level of error
when entering inventory information provided from the paper form into the computer. If the students
have the opportunity to fill the inventory information electronically, then the level of error may be
decreased as the information will automatically added to the database. The new database is designed to
increase the efficiency on managing and maintaining the inventory data in the residential college. The
new database design is also will have login permission for staff members so only authorized person can
access to the data will consequently increase the data security. The college principal data will also be
kept in the new database system so the data will be easily updated and the damage on the inventory
can be controlled. The fast update will eventually decrease the possible of data inconsistency and
redundancy. The new database system will also keep the inventory code so the process managing and
fixing the inventory will be more efficient and fast.
1.5 AYAT QURAN AND HADITH RELATED
Our project is related to a verse of Quran and two Hadith. Surah al-Saff is related to an affair and
organization. So, the organization according to this verse is a group or congregation that has a system of
order and the order is to achieve common goals. In surah al-Saff verse 4 is presented: “Indeed, Allah
loves those who fight in His cause in a row as though they are a [single] structure joined firmly.”
According to Al –Qurtubi, the intention of word ‘saff’ is to courage people to enter a line (organization)
so that they can be more systematic to achieve their goal. This project is related to this surah because
we rearrange the data to be more organized and secured. In a task,if we done it systematically and
organized, then the result will also be good. In a hadith it is explained, Aishah’s narration, that the
messenger of Allah said, “Surely Allah loves a servant who, when he works, he itqan (complete) the
work.” (HR Thabrani). In another hadith, when Aishah our prophet’s wife was asked how the prophet
conducted his affairs, she responded “His deed and actions were continuous and stable”. (Sahih Muslim)
2.1 ENTITY RELATIONSHIP DIAGRAM (ERD)
stud_email
stud_Name
stud_ID
Call_Phonenum coll_Name
coll_Name
stud_Phoneum
Student
College has
coll_Add
Assigned to
has
princ_Name
coll_name
stud_ID get
room_Num
Principle
Room
princ_ID
princ_Phonenum
contain
clarification
quantity
stud_ID
Inventory
inv_Code
room_Num
2.2 RELATIONAL MODEL
Principle
Student
Coll_name
Stu_ID Stu_name Stu_email Stu_phonenum
College
Room
Room_num
Stu_ID
Inventory
TABLE: PRINCIPLE
PRIMARY KEY: PRINCIPLE_NAME
FOREIGN KEY: COLL_NAME
TABLE: ROOM
ROOM_NUM STU_ID
AA001 916098
AA002 916099
DJ001 916082
DJ002 916083
DJ003 916084
SI001 916073
SI002 916074
NC001 916065
NC002 916066
NC003 916067
NC004 916068
KS001 916059
KS002 916060
KS003 916061
PI001 916044
PI002 916045
PI003 916046
SP001 916035
SP002 916036
SP003 916037
K001 916020
K002 916021
TW001 916011
TW002 916012
SS001 916006
SS002 916007
SS003 916008
FOREIGN KEY: STU_ID, ROOM_NUM
TABLE: INVENTORY
( princ_id int,
princ_name varchar(255),
princ_phonenum int,
( stu_id int,
stu_name varchar(255),
stu_email varchar(25),
stu_phonenum int,
(coll_name varchar(25),
coll_add varchar(255),
coll_phonenum int,
( room_num varchar(10),
( inv_code varchar(10),
quantity int,
clarification char(20),
VALUES ('ACACIA AVENUE','Kolej Kediaman Acacia Avenue,Blok B-1-19, Acacia Avenue Persiaran
Perdana BBN,Taman Desa Jati,71800 Bandar Baru Nilai,Negeri Sembilan','069876543');
VALUES ('SUTERA INDAH','Kolej Kediaman Sutera Indah, B-08, Jalan BBN 1/3, Putra Point Fasa 2, 71800
Nilai, Negeri Sembilan','068964509');
VALUES ('NILAM COURT','Kolej Kediaman Nilam Court,Jalan Nilam 4/9, Fasa 5A, Taman Nilai Utama(Nilai
Impian),Bandar Baru Nilai,71800 Nilai, Negeri Sembilan','062341689');
VALUES ('KIARA SATU','Kiara Satu,Universiti Sains Islam Malaysia,Bandar Baru Nilai, 71800 Nilai,Negeri
Sembilan.','065432987');
VALUES ('SINAR PERMATA ','No. 2, Jalan Nilai Impian 3, Nilai Impian, 71800 Nilai, Negeri
Sembilan','064309890');
VALUES ('TAMAN WANGI','12940, Jalan BBN 1/7d, Bandar Baru Nilai, 71800 Nilai, Negeri
Sembilan,','064539080');
VALUES ('AA001','916098');
INSERT INTO room (room_num,stu_id)
VALUES ('AA002','916099');
VALUES ('DJ001','916082');
VALUES ('DJ002','916083');
VALUES ('DJ003','916084');
VALUES ('SI001','916073');
VALUES ('SI002','916074');
VALUES ('NC001','916065');
VALUES ('NC002','916066');
VALUES ('NC003','916067');
VALUES ('KS001','916059');
VALUES ('KS002','916060');
VALUES ('KS003','916061');
VALUES ('PI001','916044');
VALUES ('PI002','916045');
VALUES ('PI003','916046');
VALUES ('SP001','916035');
VALUES ('SP002','916036');
VALUES ('SP003','916037');
INSERT INTO room (room_num,stu_id)
VALUES ('K001','916020');
VALUES ('K002','916021');
VALUES ('TW001','916011');
VALUES ('TW002','916012');
VALUES ('SS001','916006');
VALUES ('SS002','916007');
VALUES ('SS003','916008');
INSERT INTO inventory
VALUES ('AA001-1','916098','AA001','5','COMPLETE');
VALUES ('AA002-3','916099','AA002','5','COMPLETE');
VALUES ('SI001-4','916073','SI001','5','COMPLETE');
VALUES ('SI002-3','916074','S1002','5','COMPLETE');
INSERT INTO inventory (inv_code,stu_id,room_num,quantity,clarification)
VALUES ('NC004-3','916068','NC004','5','COMPLETE');
VALUES ('KS001-4','916059','KS001','5','COMPLETE');
VALUES ('KS002-1','916060','KS002','5','COMPLETE');
VALUES ('PI001-3','916044','PI003','5','COMPLETE');
VALUES ('SP001-2','916035','SP001','5','COMPLETE');
VALUES ('SP002-3','916036','SP002','5','COMPLETE');
VALUES ('SP003-4','916037','SP003','5','COMPLETE');
VALUES ('TW001-3','916011','TW001','5','COMPLETE');
VALUES ('SS001-1','916006','SS001','5','COMPLETE');
VALUES ('SS003-3','916008','SS003','5','COMPLETE');
3.4 SQL CODE to display all records
FROM student;
List all student with the quantity of inventory set greater then 4
FROM inventory
FROM inventory