0% found this document useful (0 votes)
110 views4 pages

3 - Informatica Questions Day5

The document discusses various Informatica transformations and provides sample data for exercises involving source qualifier, aggregator, router, sequence, sorter, and rank transformations. Sample tables are defined for projects, pricing, employees working on projects, currencies and conversion rates. 12 exercises are described involving displaying project and employee data, calculating billing amounts, sorting results, and generating unique IDs.

Uploaded by

asurianand
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views4 pages

3 - Informatica Questions Day5

The document discusses various Informatica transformations and provides sample data for exercises involving source qualifier, aggregator, router, sequence, sorter, and rank transformations. Sample tables are defined for projects, pricing, employees working on projects, currencies and conversion rates. 12 exercises are described involving displaying project and employee data, calculating billing amounts, sorting results, and generating unique IDs.

Uploaded by

asurianand
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Informatica Questions on Source Qualifier, Aggregator, Router, Sequence, Sorter and Rank Transformations

City City_id City_Name State_id

State State_id State_Name Country_id

Country Country_id Country_Name Department Deptno Dname City_id

Customer Cust_Id Cust_Name Email Phone City_id

Project Proj_id Proj_Desc Cust_Id Start_date End_Date Skill_set Status Emp_Proj

Employee Emp_id Emp_Name Hiredate MGR Job Salary Deptno

Pricing Proj_Id Price

Proj_Emp_Id Proj_id Emp_id Login Logout

Conversion Currency Conversion_rate

City master, State Master and Country Master should be in an excel sheet. And the remaining tables are in the Database. Pricing Table and the conversion charts are in Excel sheet.

Create the following tables and use them for the following exercises:

Proj_Id INS233 BNK234 TRNS235 SCM236

Price 250.00 $300.00 150.00 500

Currency $1 1 1

Conversion_Rate INR 42 INR 70 INR 50

City_id BAN HYD CHE MYS DEL

City_name Bangalore Hyderabad Chennai Mysore Delhi

State_id KA AP TN KA DL

State_Id KA TN AP DL NY DLS

State_Name Karnataka TamilNadu Andhra Pradesh Delhi NewYork Dallas

Country_Id IN IN IN IN USA USA

Country_Id IN USA PK

Country_Name India United States Of America Pakistan

1.Display all the projects which are currently in progress in ascending order. Project_name Start_Date End_Date No_of_Employees Status

2.Display all the number of hours worked in the month of Feb2008 for each employee. Emp_Name Project_Name Date No_Of_Hours

3. Display all the number of employees who are working for more than 6 hours in the month of Feb2008. Emp_Name Date Month Year No_Of_Hours

4. Display all the projects billing for the month of feb08 in an ascending order. Calculate the billing as No_Of_hours*Rate (Take rating as 500 rupees/hr). Project_Name No_Of_employees No_Of_Hours Total_bill

5. Display two result sets in two different targets. In One target get all the products which were completed in 2007 and in other Projects should go to the other target (display in the ascending order by month). Month Jan Feb Mar Project_Name Status

6. Display the top two experienced employees in each project. Employee_Name Hiredate Proj_Start_date Experience(Years)

7. Display all the cities, states and countries irrespective of the customers, departments or employees present in it or not. Country State City Emp_Count Cust_Count Dept_Count

8. Display the number of employees in each skill set. Skill_Set No_Of_Emp

9. Take Emp table in a flat file and get records from 4th to 8th and 8th till last. 10. Take Emp table in a flat file and get even numbered records in one target and odd numbered records in the another target. Target Result sets should be as follows (maintain ids in the odd numbered target as odd_01, odd_02, and in the even numbered target maintain id as even_01, even_02, even_03,.) Id Empno Ename Dname Mgr_Name Total_Sal

11. Take Emp table in a flat file and generate ids as DNo<num>0001, DNo<num>0100,, DNo<num>1000. If the employee is working in deptno 10, his ID should be DNo100001. If the employee is in Deptno 11, his Id should be Dno110001. And you join that data with Dept and get the output as Id Empno Ename Dname Mgr_Name Total_Sal

12. Take emp flat file as source and generate id as DNo10A01 if the employee is working in Deptno 10. You have to follow the same naming convention through out the file. And once the last number in the ID reaches to 10 , you need to start that from B01 till B10, after that u have to take C01.

You might also like