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


Please Help Members By Posting Answers For Below Questions

what's the basic's in dot net

1906


What do you mean by abstraction?

800


What language is oop?

768


What is difference between multiple inheritance and multilevel inheritance?

851


Plese get me a perfect C++ program for railway/airway reservation with all details.

3642


Why do we use polymorphism in oops?

776


Can an interface inherit a class?

766


What is object in oop with example?

937


What does and I oop mean?

827


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2294


What is encapsulation with real life example?

772


can inline function declare in private part of class?

3951


Why do we need oop?

861


What are the benefits of oop?

844


What is and I oop mean?

829