How to list Top 10 salary, without using Rank Transmission?

Answer Posted / chinthi

SELECT t.sal from ( SELECT sal, Row_Number() OVER (ORDER
BY sal desc) AS rownum FROM table ) t WHERE t.rownum <=
10

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will the document be delivered to me?

627


How to create the source and target database connections in server manager?

641


where to store informatica rejected data?

695


What are different types of transformations available in informatica?

593


What is option by which we can run all the sessions in a batch simultaneously?

677






What is a mapplet/worklet in informatica?

697


What is meant by query override?

648


Define sessions in informatica etl?

626


How do you promote a non-reusable transformation to reusable transformation?

670


Define pmcmd command?

637


What is the function of union transformation?

628


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

5274


Hi, I saw one mapping implemented by my seniors . In Expression transformation they implemented following logic. That is iif(is_date(in_UC_DATINV,'YYYYMMDD'),to_date(in_UC_DATINV,'Y YYYMMDD'),'Inventory Date is either invalid or null') Inventory_Date is validated only for is_date() But not validated for notisnull() . But error says “ either invalid or null “ why? Whether is_date() also check for not isnull() ? or in this logic something is different ? Please answer me . Advance thanks

1421


Define mapping and session?

593


can u give example for factless fact table

5540