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 / rajkumar

SELECT * FROM TABLE WHERE columnName =
(SELECT MAX(column_name) FROM TABLE WHERE
column_name<(SELECT max(column_name) FROM 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 column?

935


What is inner join in sql?

998


What is difference between cursor and trigger?

1015


What is execute immediate?

1001


What packages are available to pl/sql developers?

991


What is the use of sqldataadapter?

906


what happens if null values are involved in expressions? : Sql dba

999


How do I know if I have sql express or standard?

973


How can triggers be used for the table auditing?

1008


What is a data manipulation language?

961


How is pl sql different from sql?

1007


What is partition in sql query?

943


how to select first 5 records from a table? : Sql dba

918


What is on delete set null?

1034


Give the order of sql select?

1082