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 / sumit sharma

select sal from (select distinct(sal) from emp where sal is
NOT NULL order by sal dsc) where rownum = 2

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to enter numeric values as hex numbers? : Sql dba

1069


What is mutating trigger?

1026


Why is the cursor important?

1046


What is clustered index sql?

988


How to add a column ‘salary’ to a table employee_details?

1013


Explain the insert into statements in sql?

1010


How do I truncate a word?

1091


What is the primary use of normalization?

1007


Which table is left in join?

983


What is the difference between Union and Union all. Which is faster.

1403


Explain commit, rollback and savepoint.

1004


Explain autonomous transaction.

1161


Why do we use procedures in pl sql?

1045


What is varchar data type in sql?

1088


How does one use sql*loader to load images, sound clips and documents? : aql loader

1188