Home > database >  Help, how to according to the different conditions, the sum sum
Help, how to according to the different conditions, the sum sum

Time:11-26



Monthly column, you first need to according to the B column sequence are grouped in a second sequence on different posts and summation of the field is not consistent, please kindly, provide the SQL ideas ~

CodePudding user response:

Simple and crude to UNION ALL associated query, according to the different jobs