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 get second highest salary in SQL(as/4000

Answer Posted / sachin

select max(sal) from employees
where salary < (select max(sal) from employees);

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of tables in sql?

993


Why sql query is slow?

985


what are the disadvantages of mysql? : Sql dba

1144


How long will it take to learn pl sql?

932


What is rank dense_rank and partition in sql?

1023


How many aggregate functions are available there in sql?

979


What is the difference between the repeatable read and serializable isolation levels? : Transact sql

1093


Is sql between inclusive?

1118


Is join and inner join the same?

1000


How many unique keys can a table have?

1009


What is a data definition language?

1101


What are the parameter modes supported by pl/sql?

1097


What is mutating error in pl sql?

1013


What is synchronized subquery?

1161


What is sql profiling in oracle?

1056