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

What kind of join is join?

905


When you have to use a default "rollback to" savepoint of plvlog?

1125


How does cross join work?

877


How do I view tables in mysql?

917


what is user defined functions? : Sql dba

977


What is cartesian join in sql?

1030


how to fetch common records from two tables? : Sql dba

1108


can a stored procedure call itself or recursive stored procedure? : Sql dba

960


What is the use of sqlerrd 3?

890


How to run sql functions in pl/sql?

992


how to drop an existing view in mysql? : Sql dba

997


what is single byte over head in oracle..?

2342


What are analytic functions in sql?

972


How do you update a table in sql?

929


What is function and procedure in pl sql?

975