hi,The total amount of sales by stock code How do I find?for exemple,SELECT VRSHAR_STC_CODE, VRSHAR_QUANTITY, VRSHAR_PaymentINFOFROM VRSHARWHERE VRSHAR_PaymentINFO = 'DEBTOR'
All of those sales coming in the query.I want my code according to the stock sale so bring you're collecting.STC_CODE------QUANTITY1111001----------1251112005----------2511205106----------350All match the amount of stock code, written in front of you I want to collect.