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 / deven

select top 1 salary from emp where salary <>(
select top 1 salary from emp order by salary desc) order by
salary desc

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of variables use in pl sql?

973


What is rtm in testing?

1040


Explain cursor types?

957


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

971


Show code of a cursor for loop.

1002


What are string functions in sql?

1174


Does access use sql?

970


What is rollback?

1038


Why is the cursor important?

979


How to run sql statements with oracle sql developer?

1000


What is %rowtype in pl sql?

925


Is delete faster than truncate?

960


What are sql objects?

1015


What is the process of debugging?

1007


Describe types of sql statements?

994