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

Answers were Sorted based on User's Feedback



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

Answer / raka

SQL:
SELECT id, salary from <table name> where rownum <= 10
ORDER BY salary DESC;

Is This Answer Correct ?    17 Yes 20 No

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

Answer / abhilash

do following steps

1.in source qualifier override the query with
"order by salary desc"

2. use seq gen tr on it and give column name as "sid"

3. next use filter tr. in that write condition like "sid<=10"

Is This Answer Correct ?    1 Yes 4 No

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

Answer / amedela chandra sekhar

write sql query in the source qualifier t/r

sql override

select * from(select dense_rank () over (order by sal desc
nulls last)as rnk,emp.* from emp)where rnk<=10;

Is This Answer Correct ?    0 Yes 3 No

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

Answer / krishnakanth

I hope the simpliest way is what Raka #4 suggested
We can override in the SQL override in the source qualifier
transformation.

Is This Answer Correct ?    3 Yes 7 No

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

Answer / murugan

only use the Aggregator function.....

first(sal>=values)

Is This Answer Correct ?    0 Yes 14 No

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

Answer / sarvesh

if it is flat file ur answer is write,if it is relational
souce then go to source qualifier properties there u write
the query like
select distinct a.* from t1 a where 10=(select sal from
t1 b where a.sal>b.sal)
i think it is working

Is This Answer Correct ?    1 Yes 24 No

Post New Answer

More Informatica Interview Questions

What is a command that used to run a batch?

2 Answers  


Dimension Object created in Oracle can be imported in Designer Cubes contain measures

0 Answers  


What type of sorting algorithm does the Sorter Transformation use, to do its sorting Operation? 1. Bubble sort 2. Insertion sort 3. Shell sort 4. Merge sort 5. Heapsort 6. Quicksort 7. Bucket sort

1 Answers   Qwest,


Can anyone tell me the new features in Informatica 9 Version?

0 Answers   Syntel,


How to generate sequence numbers without using the sequence generator transformation?

0 Answers   Informatica,






In Joiner Transformation, how to identify the master and detail tables if one is from Oracle and the other is from Sybase.

2 Answers   TCS,


What is Micro Strategy? Why is it used for?

5 Answers   Infosys,


what is surrogatekey ? In ur project in which situation u has used ? explain with example ?

6 Answers  


Why do we use DSS database for OLAP tools?

2 Answers  


Hi, I have one scenario.. i want to insert 4 times (Duplicate) a row in the target. Please help me . source row: abcabc Tgt table: abcabc abcabc abcabc abcabc

10 Answers   Cap Gemini, IBM,


What is the scenario which compels informatica server to reject files?

0 Answers  


I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 having Empid,firstname,lastname can i union them using Union t/f?

6 Answers   Accenture,


Categories