Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 1z0-071 topic 1 question 54 discussion

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

Which two are true about queries using set operators (UNION, UNION ALL, INTERSECT and MINUS)? (Choose two.)

  • A. The name of each column in the first SELECT list must match the name of the corresponding column in each subsequent SELECT list.
  • B. None of the set operators can be used when selecting CLOB columns.
  • C. There must be an equal number of columns in each SELECT list.
  • D. Each SELECT statement in the query can have an ORDER BY clause.
  • E. The FOR UPDATE clause cannot be specified.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️
Reference:
https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries004.htm

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ArslanAltaf
2 weeks ago
B,C & E All correct
upvoted 1 times
...
TATSSSS
1 month, 1 week ago
CB The set operators are not valid on columns of type BLOB, CLOB, BFILE, VARRAY, or nested table. https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/The-UNION-ALL-INTERSECT-MINUS-Operators.html#GUID-B64FE747-586E-4513-945F-80CB197125EE
upvoted 1 times
...
hmatinnn
3 months, 2 weeks ago
Selected Answer: CE
Should be C and E. Tried it out !
upvoted 2 times
...
jm9999
7 months ago
Selected Answer: CE
Union all works with clob.
upvoted 3 times
...
Sangiii
8 months, 1 week ago
B: this option is wrong. we can use UNION ALL with 2 tables having columns with CLOB datatype. But we cannot use UNION,INTERSECT and MINUS SET operators as it performs removal of duplicate and sorting implicitly and could not work with CLOB.
upvoted 1 times
...
MariGare
8 months, 3 weeks ago
B should be included into the TRUE answer: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/The-UNION-ALL-INTERSECT-MINUS-Operators.html#GUID-B64FE747-586E-4513-945F-80CB197125EE The set operators are subject to the following restrictions: The set operators are not valid on columns of type BLOB, CLOB, BFILE, VARRAY, or nested table. The UNION, INTERSECT, and MINUS operators are not valid on LONG columns. If the select list preceding the set operator contains an expression, then you must provide a column alias for the expression in order to refer to it in the order_by_clause. You cannot also specify the for_update_clause with the set operators. You cannot specify the order_by_clause in the subquery of these operators. You cannot use these operators in SELECT statements containing TABLE collection expressions.
upvoted 1 times
...
Shrimathi
9 months ago
CE is the answer None of the set operator can be used with CLOB -False The set operator which is excluding duplicate rows (intersect,minus,union) will fail to compare the LOB data type. Union all operator doesn't throw any error if it contains LOB datatype
upvoted 2 times
johannfurma
4 months ago
The docu states: "The set operators are not valid on columns of type BLOB, CLOB, BFILE, VARRAY, or nested table."
upvoted 1 times
...
...
jfc1
1 year, 3 months ago
Selected Answer: BE
Set operations cannot be performed on BLOB, CLOB, BFILE, VARRAY, or nested table columns. BCE is the Answer
upvoted 4 times
...
gyanji
1 year, 5 months ago
https://docs.oracle.com/database/121/SQLRF/queries004.htm#SQLRF52341
upvoted 1 times
...
holdfaststrongly
1 year, 7 months ago
BCE per link.
upvoted 2 times
...
Averagenoob
1 year, 7 months ago
BCE it is for sure
upvoted 2 times
...
Artur1991
1 year, 7 months ago
Checking provided link, valid are BCE
upvoted 1 times
nhquoc1990
1 year, 7 months ago
Union All can use with BLOB. checked
upvoted 5 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 ...