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

Answers were Sorted based on User's Feedback



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

Answer / lakshmi reddy

top 10 records
select * from emp where rownum<=10

Based on maximum salary(hithest top 10 salaries with details)
select * from (select emp.* from emp order by sal desc)
where rownum<=10

Is This Answer Correct ?    0 Yes 0 No

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

Answer / harish

based on salary top 10 records for emp table

select * from ( select * from emp order by sal desc)where rownum<=10;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Cognos Interview Questions

What is the function of cognos dispatcher?

0 Answers  


how can you get the errors in job? when loops are araised we get error?

0 Answers   Syntel,


How to create a cube in Transformer? What is the process? Please mention process thank u

0 Answers   Genpact,


What is the difference between regular dimension and derminant?

0 Answers   TCS,


Is it possible to create drill through access to other report from PDF report?

1 Answers   IBM,






what is alias what is shortcut what ia alias shortcut and diff among them if u know explain clearly

2 Answers   TCS,


Suppose you run a report with empty data, how will you inform the end user that it has no data while running the report in report studio? Is it possible, if so how?

0 Answers  


what is Associated grouping? and how it works in cognos impromptu?

1 Answers   IBM,


how can create a report like if the salary>50,000 display balance,if salary<50,000 display green?

2 Answers   HCL,


what are typees of dimensions

5 Answers   HCL,


How do I remove the hyperlink from the drill through report?

2 Answers   Misys,


What is the basic relationship between measures and dimensions in transformer modelling

5 Answers  


Categories