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 is the difference between syntax error and runtime error?

1185


Is left join same as inner join?

1219


what is the difference between myisam static and myisam dynamic? : Sql dba

1115


What are the steps for performance tuning.

1395


How do we accept inputs from user during runtime?

1118


How to execute a stored procedure?

1162


What does closing a cursor do?

1375


how many sql ddl commands are supported by 'mysql'? : Sql dba

1066


What is an example of translating a date into julian format?

1205


what is the functionality of the function htmlentities? : Sql dba

1008


Is postgresql a nosql database?

1229


How do you truncate?

956


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

1116


What is indexing oracle sql?

1150


What is Difference Between Unique and Primary Key Constraints?

1155