You attempt to query the data base with this command:
SELECT name, salary FROM employee WHERE salary=(SELECT
salary FROM employee WHERE last name='Wagner' OR dept no=233)
Choose most appropriate option from the following:
1)Sub-queries are not allowed in the where clause.
2)a multiple row sub-query used with a single row comparison
operator.
3)a single row query is used with a multiple row comparison
operator.
Answer Posted / raghavan
Actually the query may return more than one row.
Hence "is" should be used in place of "=".
So the best answer would be the third choice.
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
officer say me - i am offered to a smoking , then what can you say
How to call a non virtual function in the derived class by using base class pointer
Whats is abstraction in oops?
#include
Is html an oop?
What is class and object with example?
What does <> mean pseudocode?
Why polymorphism is used in oops?
What is encapsulation in oop?
What is data binding in oops?
Is oop better than procedural?
What is class and example?
Which method cannot be overridden?
hi all..i want to know oops concepts clearly can any1 explain??
Where is pseudocode used?