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
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 |
What is an sh file?
How do I run a bin bash script?
What is the default ubuntu terminal?
How to get the last line from a file using just the terminal?
Is shell and terminal the same?
How to pass an argument to a script?
What are script files?
How many prompts are available in a UNIX system?
write a shell script to check the failed jobs?
how to read systems current date and time
What language is shell scripting?
What is a batch file used for?