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

Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1216


Is there any restriction on the use of union in embedded sql?

1161


What is cost in sql execution plan?

991


What is the use of sql trace?

957


Is pl sql and postgresql same?

1139


What is the difference between function and procedure in pl/sql?

1094


how to include numeric values in sql statements? : Sql dba

1104


What is sqlcommand?

1032


Can you join a table to itself?

1139


What are local and global variables and their differences?

1096


what are sequences

1755


Is sql better than excel?

1160


Which query operators in sql is used for pattern matching?

972


Is pl sql a scripting language?

1036


How do I remove sql developer from windows 10?

1118