Interview Questions   Tutorials   Discussions   Programs   

Cognos - Write a query to display to 10 max record from the employee table?




584
views
asked mar October 1, 2014 01:47 PM  

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


           

1 Answers



 
answered By vishnoiprem   0  
Select * 
from
EMP
qulaify row_Number() over(order by sal desc )<=10
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert