






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 04: Database Design & Development Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyen Xuan Cong Student ID GCH Class GCH0907 Assessor name Han Minh Phuong 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. Student’s signature Cong Grading grid
Table of Contents
I, Overview about the Problem:.................................................................................................................. 1 II, Requirements of the application:............................................................................................................ 1
I, Requirement analyzation:........................................................................................................................ 2 II, Entity Relationship Diagram (ERD):..................................................................................................... 3 III, Description of Tables in the database system:...................................................................................... 4 IV, Physical design:.................................................................................................................................... 5 V, Data validation in the database:............................................................................................................. 6
I am employed as a Database Developer for a large IT consultancy company, which has been approached by Greenwich university. Due to the growth of the number of students, FPT want to expand their systems to deal with managing the university. I am tasked to select one of systems below to develop database for FPT university. Several academic systems to manage includes: Online Library system, Student Grading system, Attendance system, CMS system, Scheduling system, Enrolment system, etc. In this report, my desire is developing the Online Library system.
Management process: Student must login to the system to borrow book from library. Account has been provided before. Students will borrow books by entering the title of the book. 1
The librarian will be responsible for lending, the librarian will enter the borrow date, return date, number of books borrowed, and student's information into the system. Librarian will be able to see if the book is available in the library or is being borrowed by a student User requirements: This system can be use by teacher, student, and each object will have different permissions. Librarian:
According to user requirement, the student can borrow book from library. Student has to login name and password (which are pre-provided) to access the system. The student has to provide the name of the book they want to borrow. Before a book is booked, the validity of the availability is checked. If the book is available, the transaction will be confirmed with IDs along with other details of the student. The information of transaction such as order quantity, borrowing date and returning date will be created as record in the borrowing table. The librarian can access to overview transaction information they also can send mail to student with returning date notification or any books that are available. List data should be stored: Student’s information: ID, first name, last name, phone number, email. Login: login ID, username, password. Librarian information: ID, first name, last name, phone number, email. Book information: ID, name, publisher, author, date published. Transaction: student ID, librarian ID, book ID. Transaction detail: book ID, borrowing date, returning date. List of entities should be: Student, Librarian, Book, Transaction, Transaction detail, Login. 2
Student: student ID are string and number and must be exactly 9 character so data type is char (9); student first name (no need to type in so allow null) and last name are string, max characters is 10 and can have Unicode so data type is nvarchar(10); student phone are string of number and must be exactly 10 number so data type is char (10); student email are string, can have Unicode and can have 50 characters so data type is nvarchar(50). Librarian: Librarian ID are string and number and must be exactly 9 character so data type is char (9); Librarian first name (no need to type in so allow null) and last name are string, max characters is 10 and can have Unicode so data type is nvarchar (10); Librarian phone are string of number and must be exactly 10 number so data type is char (10); Librarian email are string, can have Unicode and can have 50 characters so data type is nvarchar(50). 5
With the insert statements below, produced these following errors. Email is inputted incorrectly, email must like [email protected].
Nowadays SQL server is one of the most database design tool in the world, and it coming more and more common. This report gives me a chance to practice with it. In this report, I presented users; requirements, analyzed it, and designed it with explanations using SQL server. The essential necessities that the problem needs were all successfully delivered and implemented.
Technopedia, 2017. What is Data Validation? - Definition from Techopedia. [online] Techopedia.com. Available at: https://www.techopedia.com/definition/10283/data-validation [Accessed 12 October 2021]. 7