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

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.
4)logical aparatous are not allowed in where clause .

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you achieve runtime polymorphism?

571


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1640


What is difference between abstraction and encapsulation?

594


What is encapsulation example?

550


What does and I oop mean?

618






What is multilevel inheritance explain with example?

628


What is methods in oop?

544


Can enum be null?

587


Why do we need polymorphism in c#?

688


What is the difference between a constructor and a destructor?

614


What is property in oops?

569


What is encapsulation in oop?

609


write a program that takes input in digits and display the result in words from 1 to 1000

1989


officer say me - i am offered to a smoking , then what can you say

1582


What is inheritance in simple words?

627