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 / pankaj raj patel

select max(salary ) from emp table where sal<(select max
(salary)from emp table)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pls_integer in pl sql?

1103


Does truncate require commit?

968


Define concurrency control. : Transact sql

1185


What is schema in sql example?

1174


What does the argument [or replace] do?

1077


What is view? Can we update view

1434


What are the different parts of a package?

1113


How do you declare a user-defined exception?

1022


Can we create view in stored procedure?

957


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

947


How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?

1105


what is collation? : Sql dba

1148


What is bind variable in pl sql?

1051


How do you bind variables in pl sql?

1093


how to get a list of indexes of an existing table? : Sql dba

955