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

1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / swapna

select top(2) sal from emp where sal order by desc

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fetch the row which has the max value for a column?

982


What do you mean by group by clause?

1022


What are the limitations of check constraint?

1011


How are extents allocated to a segment?

1105


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

2337


Why do you create or replace procedures rather that drop and recreate.

989


How to put more than 1000 values into an oracle in clause?

1012


How do I use os authentication with weblogic jdriver for oracle and connection pools?

1028


How to define and use table alias names in oracle?

920


How to download oracle database 10g xe?

1002


What types of joins are used in writing subqueries?

965


List the various oracle database objects?

1039


How to create a testing table in oracle?

977


what is reindexing?

1648


11. Display the client number and name and the client number and name of the person who referred that client.

2319