【1】cast函数

① 平均值取两位小数

SELECT address,COUNT(1),
CAST(AVG(avg_price) AS DECIMAL(10,2)) as number
from tb_sys_travel
group by address
ORDER BY COUNT(address) desc
LIMIT 0,10