Each prawn, according to the field 1, if the adjacent line are the same, are combined into a line, and the field 2 sum, detailed below, thanks a lot!
CodePudding user response:
It is best to get the code, if you have to do in the database, you can write a stored procedure with cursor traverses
CodePudding user response:
Thank you for your reply
CodePudding user response: