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...

There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........

Answer Posted / kasyapa

select * from emp A where 4 = (select count(*) from emp B
where A.sal<B.sal)

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we specify index to include or not during bind process.

2107


How do I add a column in db2?

1031


Where can you declare a cursor in a cobol-db2 program?

1056


Who uses db2?

1024


Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?

1065


Explain in detail about buffer manager and its functionalities?

1052


What is host variable in db2 cobol?

1056


Differentiate between cs and rr isolation levels? Where do you specify them?

1050


What is the use of with ur in db2?

1034


How connect db2 database to datastage?

1221


Discuss about db2 bind?

1078


What is dclgen (declaration generator)?

1036


How do I add a column to a table in db2?

1093


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

2351


What is the difference between plan and package in db2?

1095