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

What is normalization? Explain different levels of normalization?

63419


Why does this query return 0?

1054


In which table collections errors are stored.

2460


What you can do to remove data from the cache and query plans from memory for testing the performance of a query repeatedly?

1073


How to customize error conditions.

2198


What are the key features of dbms?

1046


What are the three basic rules which are to be followed for the relational model of the database?

1069


Explain about relational database management systems?

1014


How you can make a parameterized view?

1071


On friday, you issued several insert statements using query analyzer. You then verified the data had been correctly entered with a select statement on monday, your users report that the data is not there what happened?

1053


Explain about network model?

1051


Explain about normal forms?

1106


Explain about xml databases?

1117


Explain the role of indexing in databases?

1189


How long can an error message be in raiseerror function?

1045