how to find the first two highest salaries in deptno in emp
table

Answer Posted / ajitnayak

select e.*
from emp e
where rownum < 3
order by e.sal desc ;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in

1587


Explain the role of indexing in databases?

642


What is an application role and explain a scenario when you would use one?

560


How can you log an error to the server event log from a stored procedure?

559


Who are naive users?

607






What is DB Development software?

1616


Explain the cube operator?

602


How to combine two function together?

1661


Which data type cannot be used as a parameter in a udf?

578


How to replace not in with not exist?

1467


fact table and dimension table containg one to many relationship or many to one relastionship

2078


How you can make a parameterized view?

558


Why does this query return 0?

623


What are the constraints on severity level in raiseerror?

586


Explain about xml databases?

624