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

SELECT MAX(average) AS Expr1
FROM sp
WHERE (average NOT IN
(SELECT MAX(average) AS Expr1
FROM sp AS sp_1))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of a subquery?

981


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

926


What is forward declaration in pl sql?

1006


Can we call procedure in select statement?

974


What is a crud api?

900


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1026


Is oracel sql developer written in java?

1058


Show the two pl/sql cursor exceptions.

1104


How does pl sql work?

913


What is the sql query to display the current date?

990


What is faster join or subquery?

960


how would concatenate strings in mysql? : Sql dba

1013


Is it possible to read/write files to-and-from PL/SQL?

1036


What is error ora-01000: maximum open cursors exceeded

1061


What is trigger in pl sql with examples?

979