-
Scenario Based question
Hi All, This is the I/p customer item1 item2 A null 100 A 200 null B null 300 B 400 null desired o/p will be as below A 200 100 B 400 300 Please help how to achieve this ?
-
Scenario
I have customer details as below, cust_card_no item amount 10001 pen 10 10001 copy 20 10001 pen 10 10001 copy 20 10001 copy 20 now my question is to find the distinct count of item per customer and total ammount spend by a customer?