COMPUTER SCIENCE AND ENGINEERING
SQL
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Union
|
|
Set-difference
|
|
Difference
|
|
Intersection
|
Detailed explanation-1: –the operation denoted by-allows for finding tuples that are in one relation but are not in another.
Detailed explanation-2: -Explanation: The expression r − s produces a relation containing those tuples in r but not in s.
Detailed explanation-3: -Explanation: The select operation selects tuples that satisfy a given predicate.
Detailed explanation-4: -Union (∪) Union operation is done by Union Operator which is represented by “union"(∪). It is the same as the union operator from set theory, i.e., it selects all tuples from both relations but with the exception that for the union of two relations/tables both relations must have the same set of Attributes.
Detailed explanation-5: -Explanation: Join finds the common tuple in the relations and combines it.