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

the answer is b becouse the query the query compares one
row at a time and there is multiple rows generated in
subqueries

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is oop better than procedural?

804


What is the difference between procedural programming and oops?

766


How long to learn object oriented programming?

805


What is abstract class in oop?

735


what is graphics

2204


When not to use object oriented programming?

768


What is polymorphism and its types?

799


What are the components of marker interface?

794


What polymorphism means?

805


write a programe to calculate the simple intrest and compund intrest using by function overlading

1888


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1617


What are oops functions?

777


What is the main purpose of inheritance law?

932


What is data binding in oops?

821


How to use CMutex, CSemaphore in VC++ MFC

4534