1

I just finished taking an exam for an Intro to Oracle class. I failed to answer this question correctly for, what I believe to be, obvious reasons.


QUESTION: Which comparison operator cannot be used with multiple-row subqueries?

A. ALL

B. ANY

C. IN

D. All of the above


As far as my understanding goes, all of these are comparison operators specifically used for multiple-row subqueries. Is this a faulty question, or is there something I'm missing? [I understand that the ANY and ALL operator require a single-row operator (i.e > < = != etc) to be used in conjunction, however this is not addressed in the question.] Just looking for some confirmation that I'm not mistaken before I email my professor.

Thanks in advance.

3
  • 1
    Yes question is wrong. Actually last option should None of the above Commented Oct 22, 2016 at 4:18
  • That's what I thought. Thank you for the confirmation. Commented Oct 22, 2016 at 4:20
  • English is funny with double negation. The best way to fix the question is to keep the answers, and change "cannot" to "can" in the question. Commented Oct 22, 2016 at 13:58

1 Answer 1

1

All of them can be used with multi row sub query. Confirmation from the oracle itself https://oracle-base.com/articles/misc/all-any-some-comparison-conditions-in-sql#any

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.