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

In my knowlenge if i run this query,the subquery is likely
to return more than single rows as resultset as OR condition
is used so 3rd option is likely to be occured.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what's the basic's in dot net

1740


What is methods in oop?

544


can inline function declare in private part of class?

3658


What is for loop and its syntax?

597


What is object-oriented programming? Webopedia definition

725






Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

699


What are two types of polymorphism?

612


What is purpose of inheritance?

645


What is polymorphism and why is it important?

562


What causes polymorphism?

577


Give two or more real cenario of virtual function and vertual object

1853


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

2107


What is difference between multiple inheritance and multilevel inheritance?

603


what is different between oops and c++

2004


What is destructor oops?

625