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

Option 2 is correct.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of polymorphism?

664


What is the difference between a constructor and a destructor?

601


Explain the advantages of inheritance.

663


How oops is better than procedural?

581


Why is polymorphism needed?

584






Why is abstraction used?

597


Get me a number puzzle game-program

1685


What is the types of inheritance?

592


What is basic concept of oop?

690


What is abstraction and encapsulation?

563


Why we use classes in oop?

569


What are the 3 principles of oop?

608


Explain the concepts involved in Object Oriented programming.

620


explain sub-type and sub class? atleast u have differ it into 4 points?

1826


How do you answer polymorphism?

571