Hi ,
I wanted to get the number of record from the lookup table.
Scenario;
If lookup table 1 has A then need to count the number of records from the lookup table 2 and get it in target table.
Target table has some other field with some other source just for one field I need this count.
Lookup table 2 -Field1 I have in my source table.
Lookup table 1:
Field1 | Field2 |
PR_X | A |
PR_Y | B |
PR_Z | C |
Lookup table 2:
Field1 | Field2 | Field3 | Field4 |
A | X1 | Y1 | Z1 |
A | X2 | Y2 | Z2 |
B | T1 | T2 | T3 |
Target table:
Field1 | Field2 |
F1 | 2 |
Thanks !
-Amit