consider a table which contain 4 columns,ename,eno,sal and
deptno, from this table i want to know ename who having
maximum salary in deptno 10 and 20.
Answer Posted / sonal
select * from (select ename, deptno,sal
from emp where deptno in(10 , 20)
order by sal desc)
where rownum < =1
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the difference between the conventional and direct path loads? : aql loader
Is id a reserved word in sql?
What is cascade in sql?
how do you know the version of your mysql server? : Sql dba
how to get a list of all tables in a database? : Sql dba
How long will it take to learn pl sql?
Which one is faster ienumerable or iqueryable?
Explain isolation levels. : Transact sql
What is trigger types in sql?
What are the benefits of pl sql?
Is crud a cuss word?
What is having clause in sql?
What can sql server reporting services do?
What is case function?
Where is pl sql used?