Let R = (A, B, C), and let r1 and r2 both be relations on schema R.

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 each of the following queries:

a. r1 ∪ r2

b. r1 ∩ r2

c. r1 − r2

d. IIAB (r1) 1 IIBC (r2)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Database System Concepts

ISBN: 978-0072554816

4th Edition

Authors: Henry F. Korth, S. Sudarshan

Question Posted: