There are three departments A,B and C.Write a query to
display the names of all the persons( in departments other
than A) who are paid higher than the person receiving the
lowest salary in DEPT A



There are three departments A,B and C.Write a query to display the names of all the persons( in de..

Answer / ofss

select E.name from department D, emp E
where D.name = E.dname
and E.dname <> 'A'
and E.sal > (select min(E.sal) from department A, emp E
where A.name = E.dname
And E.dname = 'A')

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Shell Script Interview Questions

Explore about environment variables?

0 Answers  


How do I save a powershell script?

0 Answers  


What are the different methods available to run a shell script?

2 Answers  


What does $1 mean in bash?

0 Answers  


Is it possible to substitute "ls" command in the place of "echo" command?

0 Answers  






give me some website where i can get unix and testing meterials

1 Answers  


c program to display the information of given file similar to givan by the unix or linux command ls -l

0 Answers   IBM,


Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?

0 Answers   TCS,


What is the syntax of "expr" command?

2 Answers  


What are scripts in psychology?

0 Answers  


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  


What is egrep?

2 Answers  


Categories