I have one table enter image description here
in first i am getting product category with category code and amount
enter image description here
and in s