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 / nitin
option b is correct because we can not compare more than one values with single value using '=' operator.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation oop?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Which is better struts or spring?
What is constructor overloading in oop?
What is destructor oops?
Is abstract thinking intelligence?
Can abstract class have normal methods?
What is the full form of oops?
What is the importance of oop?
What is encapsulation and abstraction? How are they implemented in C++?
Can we have inheritance without polymorphism?
Prepare me a program for the animation of train
What is difference between oop and pop?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Write a program to reverse a string using recursive function?