









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 24/02/2024 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyen Trong Thiep Student ID BH Class SE0630 Assessor name Nguyen Van Toan 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 Thiep Grading grid
Grade: Assessor Signature: Date:
A. Intoduction In the upcoming future, the traditional library will be replaced by the Online Library system, which I have named the efficient fully functional database system for FPT university. I decided to develop this system after the cooperation of FPT university and NVIDIA Inc. It is essential for me to design a database for FPT university's education system, considering their concern about the growth of the number of students in the next few semesters. Most students from FPT university, as I observed through their opinions and complaints, mention the limitations of the traditional library. The increase in students has made it unable to meet their needs. There are several reasons for this:
1. What is logical design?
b. Linking entities
- In a relational database, a weak entity is an entity that cannot be uniquely identified by its attributes alone; therefore, it must use a foreign key in conjunction with its attributes to create a primary key. It dependent on other entities for its meaning
- In relational databases, attributes are the describing characteristics or properties that define all items pertaining to a certain category applied to all cells of a column. The rows, instead, are called tuples, and represent data sets applied to a single entity to uniquely identify each item. Attributes are, therefore, the characteristics of every individual tuple that help describe its unique properties. - Type of attribute:
Table: Student Field name Data type Allow nulls Description studentID Nvarchar(10) No Primary Key studentFullName Nvarchar(30) No Name of the student studentGmail Nvarchar(40) Yes Student Gmail studentPhoneNumber Nvarchar(10) Yes Student Phone Number Table: Librarian Field name Data type Allow nulls Description librarianID Nvarchar(10) No Primary Key librarianName Nvarchar(20) No Name of the librarian librarianGmail Nvarchar(30) Yes Librarian Gmail librarianPhoneNumber Nvarchar(20) Yes Librarian Phone Number Table: Borrow Field name Data type Allow nulls Description borrowID Nvarchar(10) No Primary Key studentID Nvarchar(10) No Foreign Key librarianID Nvarchar(10) No Foreign Key borrowDate Date Yes Book borrow date returnDate Date Yes Book return date Table: Book Field name Data type Allow nulls Description bookID Nvarchar(10) No Primary Key bookTitle Nvarchar(30) Yes Bok title bookCategory Nvarchar(20) Yes Book category bookPublisher Nvarchar(20) Yes Book Pubisher