Professional Documents
Culture Documents
Assignment 1 Database
Assignment 1 Database
Assignment 1 Database
Unit number and title Unit 04: Database Design & Development
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Grading grid
P1 M1 D1
❒ Summative Feedback: ❒ Resubmission Feedback:
Table of Table
Table 1: System Requirement Specification................................................................................................7
Table 2: Table USER_ONL..........................................................................................................................11
Table 3: Table BOOK_LIBRARY...................................................................................................................11
Table 4: Table BOOK_BORROW.................................................................................................................11
Table 6: Table AUTHOR.............................................................................................................................12
Table 7: Table BOOK_CATEGORY...............................................................................................................12
Table 8: Table ADMIN................................................................................................................................12
I. PROBLEM STATEMENT
1.1 Scenario:
You are employed as a Database
Developer for a large IT consultancy
company. The company has been
approached by FPT university which is
expanding due to the growth of the
number of students. FPT is currently
facing difficulties in dealing with
managing the university. It decided to
develop several academic systems to
manage the university easier including:
Online Library system, Student
Grading System, Attendance System, CMS System, Scheduling System, Enrolment
Systems, and so on.
You are tasked to select one of those systems to develop database for FPT
university. Your tasks are to:
Work with FPT to find out about current requirements for each system
Analyze the requirements and produce clear statements of user and system
requirements.
Design a relational database system using appropriate design tools and techniques
Develop a fully functional relational database system, based on an existing system
design.
Test the system against user and system requirements.
Produce technical and user documentation.
My SQL code use for making table or design some display table after user/admin
using some of their permission and for my choice that making an Online Library system, I
want to focus on manage book the most. The data of each book will link to other data on
another table for display all data which user, librarian or admin need, each permission,
each data table for them.
II. DATABASE DESIGN
o This system will include databases of User, Book, Admin, Book borrow.
2.2 System Requirement Specification:
Primary Key:
Foreign Key:
Figure 2: USER_ONL.
Figure 3: BOOK_BORROW.
Table BOOK_LIBRARY (BOOK_ID,
BOOK_NAME, AUTHOR_NAME,
CATERORY)
This table is contain all info of
book in library
This data will help admin manage
book in library and help user to
search book they want to find.
Figure 4: BOOK_LIBRARY.
Figure 6: BOOK_CATEGORY.
2.5 Physical design
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................
...........................................................................................................................................................................