exam questions

Exam 1z0-082 All Questions

View all questions & answers for the 1z0-082 exam

Exam 1z0-082 topic 1 question 2 discussion

Actual exam question from Oracle's 1z0-082
Question #: 2
Topic #: 1
[All 1z0-082 Questions]

Which statement is true about the INTERSECT operator used in compound queries?

  • A. Multiple INTERSECT operators are not possible in the same SQL statement
  • B. It processes NULLs in the selected columns
  • C. INTERSECT is of lower precedence than UNION or UNION ALL
  • D. It ignores NULLs
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
elvegaa
Highly Voted 4 years, 2 months ago
B. SET operators all have the same priority in Oracle Database. NULL values are processed with set operators
upvoted 7 times
...
nautil2
Most Recent 3 months, 2 weeks ago
Selected Answer: B
Quotations originate in official Oracle Database 19c documentation. A – false; following query is executed successfully: SELECT empno FROM history WHERE beginyear <= 1995 INTERSECT SELECT empno FROM employees WHERE job='TRAINER' INTERSECT SELECT trainer FROM offerings WHERE location <> 'SEATTLE'; B – true; “The INTERSECT operator with the keyword ALL returns the result of two or more SELECT statements in which rows appear in all result sets. Null values that are common across the component queries of INTERSECT ALL are returned at the end of the result set.” C – false; “You can combine multiple queries using the set operators UNION, UNION ALL, INTERSECT, INTERSECT ALL, EXCEPT, EXCEPT ALL, MINUS, and MINUS ALL. All set operators have equal precedence.” D – false; see answer B
upvoted 1 times
...
aihamza
5 months, 2 weeks ago
B is the correct answer.
upvoted 1 times
...
ymdaaa
9 months ago
Selected Answer: B
正しいです。
upvoted 1 times
...
auwia
1 year, 6 months ago
Selected Answer: B
Provided answer is correct.
upvoted 1 times
...
AberTroth
1 year, 8 months ago
Selected Answer: B
B 100%
upvoted 1 times
...
j_tw
1 year, 8 months ago
SET operators process NULL values
upvoted 1 times
...
FirstJM
1 year, 9 months ago
B is correct
upvoted 1 times
...
Albertopology
2 years, 4 months ago
Selected Answer: B
agree, answer should be B
upvoted 2 times
...
_Cobra_
2 years, 8 months ago
B is correct
upvoted 1 times
...
ryuah
3 years ago
B is correct
upvoted 1 times
...
Fan
3 years, 9 months ago
B is right.
upvoted 2 times
...
ora404
4 years, 4 months ago
SELECT 1, 2 FROM DUAL UNION SELECT 2, 3 FROM DUAL INTERSECT SELECT NULL, NULL FROM DUAL INTERSECT SELECT NULL, NULL FROM DUAL; returns "no data found".
upvoted 3 times
SimoneF
4 years, 1 month ago
That is expected: the second two selects have no values in common with the corresponding columns in the first two, and the first two have nothing in common between them. For any row to be returned, with NULL values or not, it should be present in all of the intersected tables.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago