Beruflich Dokumente
Kultur Dokumente
com
Lab Details
Aim : to load students marks data into target, and also to filter filter failed students record and load them to a separate table.
Target 2 : for failed Students : fail_student_result( fail_student_result( Cols : student_name , SUBJECT_NAME , marks , status
Logic
We will use joiner to join data of student_marks and student_roll_no table using key roll_no . Then we will use look-up to table : student_subject to get the subject name based on SUBJECT_ID . After that we will calculate status(Fail/Pass) based on student marks. Condition : marks >= 50 will be considered as pass, Marks < 50 will be considered as fail. All records will be loaded to student_result In the end we will filter records on the basis of status to load into table : fail_student_result
Mapping
Step 1
Use joiner to join two tables: mention joining condition also in condition tab.
Step 2
Use look up to get subject name using subject id and pass subject name to next expression.
Look up condition
Step 3 :
Step 4
Step 5
Filter condition
Mapping complete !
End Of Lab