Question: d. Everyones zip code within a state has the same first digit. (i) x, s, z1 [State(s) LivesIn(x, s) Zip(x) = z1 ] [ y,

d. Everyones zip code within a state has the same first digit. (i) x, s, z1 [State(s) LivesIn(x, s) Zip(x) = z1 ] [ y, z2 LivesIn(y, s) Zip(y) = z2 Digit(1, z1) = Digit(1, z2 )]. (ii) x, s [State(s) LivesIn(x, s) z1 Zip(x) = z1] [ y, z2 LivesIn(y, s) Zip(y) = z2 Digit(1, z1 ) = Digit(1, z2 )]. (iii) x, y, s State(s)LivesIn(x, s)LivesIn(y, s) Digit(1, Zip(x) = Zip(y)). (iv) x, y, s State(s) LivesIn(x, s) LivesIn(y, s) Digit(1, Zip(x)) = Digit(1, Zip(y))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!