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
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?
What are the components of marker interface?
What is polymorphism and types?
why reinterpret cast is considered dangerous?
What is the difference between a mixin and inheritance?
What is variable example?
Why do while loop is used?
Is data hiding and abstraction same?
What does it mean when someone says I oop?
What is class and object with example?
What is use of overloading?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is oops in simple words?
How Do you Code Composition and Aggregation in C++ ?
#include