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

Write a SQL query which should fetch the 5th maximum salary
of an employee from the table?

Answer Posted / pavan kumar

select * from emp e where 5=(select count(distinct sal)
from emp e where e.sal<=sal)

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is online view?

1901


A product manager is analysing the sales made for each product, he has requested a report containing data for specific products. To do this we will create a report that includes a prompt page that filters on specific products within specific product subcategory and category.

1970


Hi Buddies...i am lalitha. i am willing to appear for cognos bi-author certification. can anyone of you send me cognos dump. please please help me.

1804


Diff b/w Crossproduct and Outerjoin?

2240


How do you call a store procedure within a transformation?

962


what are the errors faced while bursting the reports and how to solve those errors?

1973


Explain what is the difference between native sql and cognos sql?

958


Hi all... how can we publish packages using bmp scripts to Path:Public Folder Packages Folder

2719


What are all the types of hierarchies?

1099


---------------Describe OLAP Reporting and RDBMS Reporting?

2061


What do you understand by the cognos?

920


Can anyone give me the url for cognos forum which is similar to forumtopics.com/busobj for business objects?

2012


How can reports be bursted based on two groups? I want to schedule to burst a report based on product line and years and I need the burst report for every product line and every year. How can this be done? Please help..

1889


What do you understand by ‘ibm predictive maintenance and quality’?

949


What is drill down and slicing and dicing whats the difference between them?

1018