# Question: Let R A B C and let r1 and r2 both be

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)

a. r1 ∪ r2

b. r1 ∩ r2

c. r1 − r2

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

**View Solution:**## Answer to relevant Questions

Let R = (A, B) and S = (A, C), and let r(R) and s(S) be relations. Write an expression in SQL for each of the queries below: a. {< a > | ∃ b (< a, b >∈ r ∧ b = 17)} b. {< a, b, c > | < a, b >∈ r ...a. Display the grade for each student, based on the marks relation.b. Find the number of students with each grade.Consider the employee database of Figure. Give expressions in QBE, and Datalog for each of the following queries:a. Find the names of all employees who work for First Bank Corporation.b. Find the names and cities of ...Describe how an arbitrary Data log rule can be expressed as an extended relational algebra view.Make a list of security concerns for a bank. For each item on your list, state whether this concern relates to physical security, human security, operatingsystem security, or database security.Post your question