Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
622 views
in Computer by (61.3k points)

What are the set difference and set intersection operations? How are they different?

1 Answer

+1 vote
by (64.2k points)
selected by
 
Best answer

The set difference operation, denoted by – (minus) allows us to find tuples that are in one relation but not in another. The expression A – B results in a relation containing those tuples in A but not in B. The set intersection operation finds tuples that are common to the two operands relations. The set intersection operation is denoted by  . That means A  B will yield a relation having tuples common to A and B. The difference between these two is that in set difference operation the result will contain those tuples which are in one operand but not in other.

Whereas in set intersection operation result will contain those tuples which are common in both the operands. 

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...