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 / girish

Final Answer is 'Option 2' . Read option 2 and 3
carefully, u will get to know why 2 is correct.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many human genes are polymorphic?

577


when to use 'mutable' keyword and when to use 'const cast' in c++

1651


Explain the advantages of inheritance.

677


What is purpose of inheritance?

645


Can we create object of abstract class?

581






What is abstraction in oop?

640


What is polymorphism and why is it important?

562


can we make game by using c

3433


write a C++ program for booking using constructor and destructor.

2055


What type of loop is a for loop?

686


what are the ways in which a constructors can be called?

1585


Can destructor be overloaded?

602


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1656


Why do we use class in oops?

557


What is the advantage of oop over procedural language?

630