Professional Documents
Culture Documents
Task1 DBAS
Task1 DBAS
Task1 DBAS
Introduction..........................................................................................................................................2
Task1 (Analysis and Design).............................................................................................................4
(a) Introduction, Outline and Initial Analysis......................................................................4
(b) Normalization Process and Creation of ERD..............................................................5
(c) Data Dictionary................................................................................................................8
Task 2 (Implementation)..................................................................................................................13
(a) Create Table..................................................................................................................13
(b) Entering of Sample Data..............................................................................................17
(c) SQL Statement..............................................................................................................23
Task 3 (Assessment and Evaluation).............................................................................................27
Introduction
The paper showcases the knowledge of database system by designing and creating a functional
database application in a particular organization. There are three major parts in this paper. The
first part focuses on analysis and design of the database. This is done by planning the entities
connection so that further actions can be done. The second part is about actual implementation
by creating SQL. Then, assessment and evaluation is done to complete the process. After
finishing the three parts; it is expected to convey a systematic process of database application
development that is useful to apply in a real world.
Task 1
Task1 (Analysis and Design)
All processes in library are done in paperwork and hence, it is difficult to know whether a book is
available. It also takes time to track transactions manually. Therefore, database software for
Book Management System is suggested to install. The system will update books inventory,
membership identity and will record every transaction. It will track a book status of being
borrowed or available in a timely manner. It will also provide subscription expire dates. Overall,
the system will hold data about:
Volunteer
Upload
Book
Category
BorrowBook
Borrow
Members
Subscription
Referring to the transactions that the proposed application will perform; it can be seen that
lending services can be done efficiently. It can save time and energy of the staff. The conditions
of the books can also be checked easily. It is more comfortable to control remaining stocks of
books. The system helps tracking the member’s borrowing history so that those who normally
do not return the books in an allocated time can be warned. However, implementing database
can backfire. The frequent electricity cut can be a problem. Unskilled staffs can also make
mistakes and errors when handling the application. However, it can be concluded that
advantages are greater than drawbacks and hence, it is suggested to implement the database
application.
UploadCode 2
VolunteerID (FK)
UploadDate 2 VolunteerID (FK) VolunteerID (FK)
UploadCode (PK)
BookID 2 UploadCode (PK) UploadCode (PK) Upload
UploadDate
BookName 2 BookID UploadDate UploadDate
CategoryCode 2 Author
CategoryName
CategoryName
BorrowDuration
ExpectedReturnDate 2
Author 2 BookID(PK)
BorrowDuration
BookName BookName
Author Author
CategoryCode CategoryCode(FK)
CategoryName
CategoryName
BorrowDuration
Figure 1.2 Entity Relationship Diagram for Book Borrowing Process
Figure 1.3 Entity Relationship Diagram for the Book Management Process
During this process, it is difficult to come up with entities and attributes. There is no prior
experience in creating a database and hence, the determination of leveling for first
normalization takes time. They are solved by thorough researching and seeking consultants
with professionals. The normalization for the whole Book Management System cannot be done
and hence, the system is broken down into two parts for separate normalization.
Entity: Volunteer
Foreign Key: -
Entity: Category
Foreign Key: -
Entity: Subscription
Foreign Key: -
Entity: Book
Entity: Member
Entity: Borrow
Entity: Upload
Entity: BorrowBook
Primary Key:-