How can you find the 2nd Highest salary in a file department wise in abinitio?

Answer Posted / vital_parsley

1)use a reformat.
2)Global variable which increments with every records only
if previous record is not equal to current record
3) output_select where sal == 2

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about ab initio’s dependency analysis?

830


i have a scenario where i need to change the value of a sort order in my sort component whether ascending or descending depend on some input value... e.g if input_val = A then sort order should be ascending else descending I have to use PDL in this... Can you please tell me where do i have to make this change and how ?

1828


How scientific data processing is different from commercial data processing?

821


Pdl with an example?

844


What are the functions of the replicate and dedup component?

811


Given input file with single column having 1 2 2 4 3 .. Required output 1 2 2 4 4 4 4 3 3 3.. How?

736


What is flow buffering ? How it reduces the chances of having deadlock ? How to use in abinitio graph?

3020


What are the different types of parallelism used in abinitio?

817


What information is provided by .dbc file extension for connecting to the database?

886


Difference between output_index and output_indexes in reformat

991


Why do you think data processing is important?

841


What do you know about partition and also tell us about partition components in abinitio?

784


how to insert/update a csv file by comparing it with another csv file?

2066


What do you understand by local lookup?

838


Describe what the SQL Server tempdb and tlog files are used for?

2014