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 / ramcharan tej

select max(emp-sal) from emp
where emp-sal <(select max(emp-sal) from emp).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I debug a stored procedure?

1171


What is time based sql injection?

1036


What is scope of pl sql developer in future?

1072


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

1441


What are the ways on commenting in a pl/sql code?

1206


How to change the order of columns in Oracle SQL Plus ?

1103


Why are aggregate functions called so?

1012


Is natural join same as inner join?

987


How to run sql statements with oracle sql developer?

1123


what are the advantages and disadvantages of cascading style sheets? : Sql dba

1105


What is the difference between a database and a relational database?

1158


how can you create an empty table from an existing table? : Sql dba

1196


What is the mutating table and constraining table?

1084


What are the possible values that can be stored in a boolean data field?

1043


Show code of a cursor for loop.

1114