Here is my table view. [column names & records].
MERCHANT_ID |CARD_TYPE |DENOMINATION |STOCK_IN_HAND 1000017 |CDMA_PP |1000 | 5 10000000 |CDMA_PP |50 | 1 10000000 |CDMA_PP |500 | 1 10000000 |CDMA_PP |1000 | 1 10000001 |CDMA_PP |1000 | 1
Now my requirement is need to create table with seperate columns for those card_denominations.
MERCHANT_ID |CARD_TYPE |500 |1000 |STOCK_IN_HAND 1000017 |CDMA_PP | 0 | 1 | 1 10000000 |CDMA_PP | 1 | 1 | 2 10000001 |CDMA_PP | 0 | 1 | 1
so please help me to sort out this issue. [stock in hand shows total cards ] thanks.