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 query to display to 10 max record from the employee
table?

Answer Posted / madhoo

select * from emp a
where (select count(distinct sal) from emp b where
a.sal<b.sal)=&n order by sal desc
/


this is the exact query........when there are duplicate
salaries are there also........

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of model design accelerator?

963


Can you define metrics designer?

1062


tell me two or three issues from client side and how to solve those issues?

2171


How do we drill through from a powerplay cube to reportnet?\

2357


hi i need to rename a file in cognos8? can anyone help me out how 2 do it? pls suggest some solution such as using a batch file or using a procedure node or anything to rename the file

2372


is cognos 7 is better than cognos 8

2167


What is looping and how to avoid it in framework manager?

1211


What is cognos connection?

1303


What is the difference between group and associare?

1050


can we insert all types of charts in a list report? what r the realtime prompts?

2216


What are the types of hierarchies?

1025


What is defined as data mining?

1045


What is Bitmap Index?

1053


What are the steps to import the two data sources in framework manager?

1048


What are the types of security?

1030