1Z0-007 · Question #26
Which operator can be used with a multiple-row subquery?
The correct answer is D. NOT IN. Only NOT IN operator can be used with a multi-row sub-query. All others may be used with single-row sub-query only. Incorrect Answers A: When sub-queries are linked to the parent by equality comparisons, the parent query expects only one row of data from the sub-query, so "="…
Question
Which operator can be used with a multiple-row subquery?
Options
- A=
- BLIKE
- CBETWEEN
- DNOT IN
- EIS
- F<>
How the community answered
(58 responses)- A3% (2)
- B2% (1)
- C5% (3)
- D78% (45)
- E12% (7)
Explanation
Only NOT IN operator can be used with a multi-row sub-query. All others may be used with single-row sub-query only. Incorrect Answers A: When sub-queries are linked to the parent by equality comparisons, the parent query expects only one row of data from the sub-query, so "=" operator cannot be used with a multiple-row sub- B: Operator LIKE will work only with single-row sub-queries. C: Operator BETWEEN will not work with a multi-row sub-queries. E: Operator LIKE is used only for single-row sub-queries. F: When sub-queries are linked to the parent by equality comparisons, the parent query expects only one row of data from the sub-query, so "<>" operator cannot be used with a multiple-row
Topics
Community Discussion
No community discussion yet for this question.