mysql计算环比增长率 需求:统计所选时间之内的月度的环比增长率 sql: SELECT afterData.com_code, AVG((afterData.sumPower - beforeData.sumPower) / 1) / (COUNT(1))