write a query to display to 10 max record from the employee
table?

Answer Posted / madhoo

You are question is not clear.....you need decide based on
which column you want first 10 records.....

if you work on Salary column this is the query .......

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

Any queries on Sql please feel free to ask me i am very
interest in it......

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static and dynamic conditions?

611


How to limit the cut,copy and paste operations for an user in reportlevel? Can anyone please send me the steps as i am new to cognos?

2169


how many numbers of cubes can we create on a single model? How can we navigate between those cubes?

603


hi, i am searching job in cognos and datastage, does any can provide me the real time experieced scenerios and questions related to cognos and datastage projects, so if anyone provide me the documents related this can very helpful to me, my mail id is tchiru01@yahoo.com

1789


what is the diff. between a link n a union? what is a custom view? what is the use of unlocking a report ? plz answer to these

1612






what are the difficult problem are you involved in cognos report net and 8 and impromptu if any pls share with us

2554


Can you explain a cognos controller?

611


what is power prompt in cognos ep7series?what is the use of this?

3211


How is cognos model organization works?

616


How create measures and demensions?

617


What is defined as Query studio?

627


what are the features in cognos8ui

1571


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

1681


What is the function of model design accelerator?

553


how to explain tne project at the time of interview? where to start and how to end? plz explain in detail thax in advance

1644