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
What is a Query Subject?
What is a Framework manager?
What is the report studio?
Explain the difference between native sql and cognos sql?
Diff b/w Crossproduct and Outerjoin?
What do you understand by the term ‘frame manager' in cognos and write all the layers of the framework manager model?
---------------Tell me about DWH Concepts?
How Metrics Studio is better than Report Studio?
What is set to be Cognos configuration?
can anyone provide link to download cognos 7.2 version for download along wiht installation and configuration steps tx in advance
What are all the different types of prompt in cognos?
How can we import Excel data in to FWM?Wt is mean by Ragged dimensions?where can we observe the Regular dimensions & measure dimensions?
Can you define cognos impromptu?
what is log in cognos?
i have taken quantity on ANx-axis & months on y-axis(months r not in oreder )when i run the reoprt i need months in proper order .how can i do this ?