EXAMRADAR

Question: Suppose we wish to find all customers who have both a loan and an account. Which of the following operation allows us to produce this relation?

Answer:

Note that we can rewrite any relational algebra expression that uses set intersection by replacing the intersection operation with a pair of set-difference operations as:

 

r ∩ s = r – (r - s)

 

it is simply more convenient to write r ∩ s that to write r – (r - s)

MCQ: Suppose we wish to find all customers who have both a loan and an account. Which of the following operation allows us to produce this relation?

Correct Answer: A. Set difference

Explanation:

Note that we can rewrite any relational algebra expression that uses set intersection by replacing the intersection operation with a pair of set-difference operations as:

 

r ∩ s = r – (r - s)

 

it is simply more convenient to write r ∩ s that to write r – (r - s)

Discuss a Question

Related Questions

You may be interested in:

Advanced Database Management System MCQs

Recently Added Articles

How Can AI Simplify the Academic Life of Students?

How Can AI Simplify the Academic Life of Students?

Last updated on: April 16, 2025Posted by: ExamRadar

Want to Clear IBPS RRB PO? Master These Mock Test Hacks!

Last updated on: March 10, 2025Posted by: ExamRadar

Top AI Tools for Instantly Detecting Plagiarized Writing

Last updated on: December 5, 2024Posted by: ExamRadar

5 Important Tools for System Administrators

Last updated on: December 1, 2024Posted by: ExamRadar

Image to Text Conversion Made Easy: Online Tool Insights

Last updated on: April 12, 2024Posted by: ExamRadar

Tips to Write an Email: Pro Email Writing Tips

Last updated on: March 20, 2024Posted by: ExamRadar

Yellow diamond: the market worth and value

Last updated on: March 9, 2024Posted by: ExamRadar