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 / rakesh a.

select Amount from PurchaseOrderDetail pod where
1=(select COUNT(amount) from PurchaseOrderDetail pod2 where pod2.Amount>pod.Amount)

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 two types of exceptions in pl/sql?

1049


What are stuff and replace function?

1076


how to start mysql server? : Sql dba

1195


What is the difference between Union and Union all. Which is faster.

1401


Why is sql important?

1099


What is difference between hql and sql?

1072


what is sql in mysql? : Sql dba

1185


What is linq to sql?

1132


What programs use sql?

1002


Can two tables have same primary key?

971


Is join an inner join?

963


What is difference between rank () row_number () and dense_rank () in sql?

1100


Why stored procedure is faster than query?

1054


What are basic techniques of indexing?

1383


Which data dictionary views have the information on the triggers that are available in the database?

1234