Database for Desklib - Entities, Attributes, ER Diagram, Tables, Queries
Verified
Added on 2023/04/23
|15
|1371
|262
AI Summary
This report describes the development of a database for Desklib, an online library for study material. It includes entities, attributes, ER diagram, tables, and queries. The report also includes personal reflection and bibliography.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running head: DATABASE Database Name of the student: Name of the University: Author Note
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
1 DATABASE Part A List of entities and attributes The list of entities for the database are provided below: Student Branch Dance Style Instructors Time Table Rooms Enrolment Payment The list of attributes of entities for tables in the database are provided below: Students StudentID LastName FirstName Address Branch BranchID BranchLocation Dance Style
13 DATABASE Query 10 SELECT*FROMpaymentINNERJOINenrolmentidONenrolmentid.EnrolmentID= payment.EnrolmentID INNER JOIN timetable ON timetable.TimeID = enrolmentid.TimeID WHERE timetable.StartTime > '2019-07-01'; Empty set (0.00 sec) Personal reflection that describes your experience building the database In order to implement the database system I have developed an ER diagram for creating a logical model of the database. There were some difficulties in creating the queries that involved more than two tables. Hence for the solution we looked it over in the internet and found the appropriate solution. The Inner join queries were used so that the two tables could be joined and the product of the intersection of the two tables resulted as solution to the problem. In addition to this, at first, the requirements of the database were noted down and the list of entities and attributes for the system were formed. In addition to this, the logical model is then developed into a physical model and all the tables in the database were created. In addition to this, the data were entered into the system. The references described in the earlier part of this report is also implemented in the database accordingly.