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
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".
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
...
...
This section is not available anymore. Please use the main Exam Page.1z0-082 Exam Questions
Log in to ExamTopics
Sign in:
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.
elvegaa
Highly Voted 4Â years, 9Â months agonautil2
Most Recent 10Â months, 2Â weeks agoaihamza
1Â year agoauwia
2Â years, 1Â month agoAberTroth
2Â years, 3Â months agoj_tw
2Â years, 3Â months agoFirstJM
2Â years, 4Â months agoAlbertopology
2Â years, 12Â months ago_Cobra_
3Â years, 2Â months agoryuah
3Â years, 7Â months agoFan
4Â years, 4Â months agoora404
4Â years, 11Â months agoSimoneF
4Â years, 8Â months ago