I'm not sure if this is able to be coded. Using DB2 v8 on IBM Z/OS executing in v7 mode.
I have 19 unique products that a customer may place a call for. I need to count the number of calls for each product by customer.
Is this possible?
Here is a example
Customer 1 ABC Corp has 5 calls for product 1, 3 call for product 2 and 1 call for product 3
The results I'm attempting to get is as follows;
Cust Name Cust No P1 P2 P3
ABC Corp 1 5 3 1
I have 19 unique products that a customer may place a call for. I need to count the number of calls for each product by customer.
Is this possible?
Here is a example
Customer 1 ABC Corp has 5 calls for product 1, 3 call for product 2 and 1 call for product 3
The results I'm attempting to get is as follows;
Cust Name Cust No P1 P2 P3
ABC Corp 1 5 3 1