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

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / akshay

Select ename, eno, sal, rownum
from (select ename, eno, sal from emp order by sal desc)
where rownum = 2;

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What normalization means?

968


Which certification is best for sql?

981


Explain cursor types?

1018


what is table? : Sql dba

1057


Explain what is a database?

1081


What is a field in a database?

1062


What are few of the schema objects that are created using PL/SQL?

1028


How is indexing done in search engines?

980


How can I tell if sql is running?

1062


What are the parameter modes supported by pl/sql?

1100


What are triggers in sql?

1014


What do you mean by stored procedures? How do we use it?

993


How long will it take to learn pl sql?

933


What is sql analyzer?

1008


What are the different operators available in sql?

1000