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 only %th Highest Sal

Answer Posted / ajit

select e.*, rn
from ( select empno, ename, sal, deptno, dense_rank() over ( order by sal desc ) rn
from emp) e
where rn = & rn;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is sqlite good enough for production?

1045


Why is pl sql needed?

1004


Define overloaded procedure?

1130


What is dynamic query?

1034


What is the difference between stored procedure and view?

1064


Is sql database free?

1024


What is a memo field?

1015


What are sql functions? Describe in brief different types of sql functions?

1179


Why functions are used in sql?

1041


How do I start sql profiler?

1047


what are the differences between char and nchar? : Sql dba

1160


how to use like conditions? : Sql dba

1164


What is join view in sql?

988


Explain character-manipulation functions?

1174


Why use triggers in sql?

1011