MySQL 操作 MySQL求和 MySQL 操作Sum求和Max取最大值Min取最小值Avg取平均值 Sum求和 @Select("select sum(`${msgName}`) from ${tartable}") Max取最大值 @Select("select max(`${msgName}`) from ${tartable}") Min取最小值 @Select("select min(`${msgName}`) from ${tartable}") Avg取平均值 @Select("select avg(`${msgName}`) from ${tartable}")