3 - Informatica Questions Day5
3 - Informatica Questions Day5
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:
Currency $1 1 1
State_id KA AP TN KA DL
State_Id KA TN AP DL NY DLS
Country_Id IN USA PK
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
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.