Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 Relational Schema (20 Points) Consider the following ERD about criminal cases handled by Ontario Attorney General Office. Assuming that the entity types have the

image text in transcribed

image text in transcribed

1 Relational Schema (20 Points) Consider the following ERD about criminal cases handled by Ontario Attorney General Office. Assuming that the entity types have the following attributes Case(case-id, court-room, date, time, hearing-duration) Crime(crime-name, time-committed, location) Defendant(dname, birthday, sex) Lawyer(Iname, firm, ltelno) Case Consist Crime Date-of-Arrest (0, N) Committe Arresting-Officer (0, N) Defendant Defend Lawyer A criminal case is identified by a unique id and is scheduled to be tried in a court on certain date and time. A crime is represented by a name, say 'murder', 'robbery' and 'arson', and the place and time it was committed. The name of a crime is unique in a case. Zero or more individuals (called defendants) may be charged for a crime in a case and it is possible for a defendant to be charged with more than one crime at any time. Clearly, the lawyers are hired to defend the defendants. The underlined attributes are the primary keys of the corresponding entity types. What to submit: Translate the ERD into a relational schema. Your schema should be simple and non-redundant. State clearly, if any, the constraints such as the primary and candidate keys and the foreign key constraints for the schema. State the constraints in the ERD, if any, that cannot be represented with your design

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_2

Step: 3

blur-text-image_3

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

L02 Review the main sources of genetic diversity.

Answered: 1 week ago

Question

What is quality of work life ?

Answered: 1 week ago

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago