Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

calcular uma média sem decimais

SELECT 
    `TC Code`, 
    round(AVG(ALW_AMT),0) AS AVG_AMT
FROM 
    OFFICE_Claims_Physicians
GROUP BY 
    `TC Code`
ORDER BY 
    `TC Code`;