Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1113


How to customize error conditions.

2154


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

982


What are the types of database model?

1105


How can I detect whether a given connection is blocked?

1061


What is normalization? Explain different levels of normalization?

63147


I have a few records all are same structures data, I want to store data in multiple targets how

2667


In which database can extended stored procedures be added?

910


How long can an error message be in raiseerror function?

1010


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).

2225


Why does this query return 0?

1022


How to combine two function together?

2138


How to use timestamp datatypes

2043


What are the 18 schemas?

1127


What are the three types of database design?

1029