Now we need to group by product and month, sum up sales amount, and then convert products from rows to columns.
Now we need to change all duplicate values to null. In other words, after grouping by the first two fields (or one of them), only the first record in the group remains unchanged, and the first two ...