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

Prepare me a program for the animation of train

2000


What is class and example?

569


What is a function in oop?

633


How to call a non virtual function in the derived class by using base class pointer

5268


What is the real life example of polymorphism?

609






What are the 5 oop principles?

603


What does it mean when someone says I oop?

587


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1895


How many human genes are polymorphic?

575


Why do we use polymorphism in oops?

581


What is abstraction in oop with example?

646


What is encapsulation in ict?

608


Why is polymorphism used?

586


Can destructor be overloaded?

599


What is for loop and its syntax?

596