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

What is DB Development software?

1605


explain detail about ftp in datastage?

1803


What are the key features of dbms?

559


How you can make a parameterized view?

550


You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?

580






When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).

1776


Explain about post-relational databases?

574


Explain the role of indexing in databases?

635


What is the maximum length of an extended property?

546


How long can an error message be in raiseerror function?

538


Who are naive users?

594


Explain about relational database management systems?

557


How to generate OIDS

1658


How is data stored in dbms?

512


What is data modeling with example?

524