Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLZ help with the following: For question 2 use SQL developper or Oracle SQL LIVE Create a Crows Foot ERD. Draw YOUR entity relationship diagram

PLZ help with the following: For question 2 use SQL developper or Oracle SQL LIVE

  1. Create a Crows Foot ERD. Draw YOUR entity relationship diagram (ERD) to indicate entities, relationships, connectives, and resolve M:N relationships.

For the following:

The faculty and students (we refer to them in our system as clients) can electronically check out any book at any time. A book must have at least one author but can have more authors. An author must have written at least one book or more to be included in the system. A book may have neverbeen checked out, but can be checked out many times by the same client or different clients over time. A client may have never checked out a book or they may have checked out many books over time. To simplify determining which client currently has a given book checked out, a M:N relationship between BOOK and CLIENT should be maintained. The information recorded for each book is book number, book title, book subject, and year of publication.

For each author, the library records the author ID, first and last name and year of birth. Because all faculty andstudents in the department are given accounts at the online library, the client ID, first and last name and client type need to be stored. Finally, checkout out date, checkout due date and checkout in date for each book must be tracked.

Starting from this general description, do the following initial steps in your database design process. However, you are free to make any reasonable assumptions that will help you to develop your ERD diagram.

ERD diagram should look like the picture

image text in transcribed

Possible solution but the format is wrong

image text in transcribed

The diagram will allow you to answer question 2

2. Translate your ER diagram into a relational schema in the form of SQL DDLs. Choose appropriate data types for each attribute and include primary key and foreign key constraints, Check and Not Null constraints. PLZ use Oracle SQL developper or ORACLE LIVE

Marks Subjects mark id integer subject id integer student id integer title varchar subject id integer date date/time mark integer Students Subject/teacher 4 Student id integer K subject id integer first name varchar teacher id integer last name varchar K group id integer group id integer Groups th group id integer name varchar PName Publisher address Publish Publish title m B# m Jname author Book Journal ID ISBN EX m vol# issue# ed. Edition Issue date date ID ISA Copy# m m Month. Year Copy ISA Publication m reserve reserve Bdate borrow m date m Rdate 1 date M# Member name ISA ISA dept# stu# Student Staff staff Marks Subjects mark id integer subject id integer student id integer title varchar subject id integer date date/time mark integer Students Subject/teacher 4 Student id integer K subject id integer first name varchar teacher id integer last name varchar K group id integer group id integer Groups th group id integer name varchar PName Publisher address Publish Publish title m B# m Jname author Book Journal ID ISBN EX m vol# issue# ed. Edition Issue date date ID ISA Copy# m m Month. Year Copy ISA Publication m reserve reserve Bdate borrow m date m Rdate 1 date M# Member name ISA ISA dept# stu# Student Staff staff

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

6-13 Explain the role of the database in SAPs threetier system.

Answered: 1 week ago