Lecture07_IDB
Lecture07_IDB
PART 02
Course Code: CSC 2108 Course Title: Introduction To Database
Case Study
Case Study 01
Draw ER Diagram from the given scenario
In a library management system a member may rent many books. One book may be rented by
exactly one member. A member is identified by a member number. The system also stores
member name and address. A member address is composed of house number, street name
and city. A book is identified by book ID. Book name, ISBN Number and edition of a book are
also stored. There may be multiple edition of a book. While borrowing, the date of the
borrowing and copy number of the book is stored. A member may also reserve many books. A
book may be reserved by many members. To find the priority of the reservation the date of
making the reservation is also stored. A book is written by at least one author. An author may
write many books but the system stores information of those authors of who has written at
least one book stored in the library. To identify an author the system stores author ID along
with author name. A book belongs to exactly one category and for a category there must be at
least one book. Each category has a name and the unique property of each category is a
category number.
Case Study 02
Draw ER Diagram from the given scenario
In a University Management System, a student can attend class. Every class must
have a student associated with it via attendance. Every student does not have to be
associated with class via attendance. Class has sections. The existence of section is
totally dependent on class. Class is taken by teacher. Lecturer and Professor can be
generalized as teacher. Student can register for course. Course is made of lectures.
Lectures contain assignment. Assignment can be specialized into homework, exam
and project. Guardians can come and enquire about course and lecture. Now draw
an ER diagram according to the mentioned scenario.
Books
1. https://www.db-book.com/db6/slide-dir/index.html
2. https://docs.oracle.com/en/database/oracle/oracle-database/20/sqlrf/SQL-Sta
ndards.html#GUID-BCCCFF75-D2A4-43AD-8CAF-C3C97D92AC63
3. https://www.slideshare.net/HaaMeemMohiyuddin1/data-knowledge-and-infor
mation
4. https://www.slideshare.net/tabinhasan/from-data-to-wisdom
5. https://www.slideshare.net/thinnaphat.bo/