Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 4 . Given the following ER diagram ( see exercise 2 of homework 1 ) Exercise 1 . Consider the instance of the Students

Exercise 4. Given the following ER diagram (see exercise 2 of homework 1)
Exercise 1. Consider the instance of the Students relation shown in the following table
a) Give an example of an atribute (or set of attributes) that you can deduce is not a candidate key, based on this
instance being legal
b) Is there any example of an atribute (or set of atributes) that you can deduce is a
candidate key, based on this instance being legal?
Exercise 2. Consider the following relations:
Roous(rvar integer. olfres string. caparige integer)
Earolled (sut string. cat string. gode string)
Teaches(ode swing. codt swing)
MeetsInccist swring. tho: integer, himer suring
a) List all the foreign key constraints among these relations.
b) Give an example of a (plausible) constraint involving one or more of these relations that is not a primary
key or foreign key constraint.
Exercise 3. Given the following ER diagram (see exercise 1 of homework 1)
Translate it into a relational schema. If there are constraints that cannot be captured by your translation, explain
why.
image text in transcribed

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

Students also viewed these Databases questions