Question: Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in SQL that is equivalent

Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give an expression in SQL that is equivalent to each of the following queries.

a. r1 ∪ r2

b. r1 ∩ r2

c. r1 − r2

d. II AB(r1) 1 ΠBC(r2)

Step by Step Solution

3.41 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a r1 r2 select from r1 union select from r2 b r1 r2 we can write this using the in... View full answer

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

Document Format (1 attachment)

Word file Icon

16-CS-DB (138).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!