Question: Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give expressions in QBE, and Datalog equivalent to
Let R = (A, B, C), and let r1 and r2 both be relations on schema R. Give expressions in QBE, and Datalog equivalent to each of the following queries:
a. r1 ∪ r2
b. r1 ∩ r2
c. r1 − r2
d. IIAB (r1) 1 IIBC (r2)
Step by Step Solution
★★★★★
3.31 Rating (183 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
a 1 U r2 i ii b r r i c 71 i result A B 12 P P HABO r2 333 ... View full answer
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)
16-CS-DB (155).docx
120 KBs Word File
