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 second highest salary from emp table?

Answer Posted / mohamed hussain

select salary from
(select salary,Dense_RANK() over (Order by salary desc) as
Level from salary) TMP
where Level=@Level

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pl/sql table? Why is it used?

1094


What are the advantages of pl sql over sql?

1078


What is difference between sql and oracle?

1192


what are the type of locks ? : Sql dba

1010


Can we use delete in merge statement?

1101


what is clause? : Sql dba

1118


What does partition by mean in sql?

1032


What is the purpose of the partition table?

1089


What is the difference between left and left outer join?

994


What is rownum and rowid?

1077


What are different types of keys?

1176


Is sql injection illegal?

1082


What is a design view?

978


What does trigger mean in slang?

1126


What is data control language?

1034