Comment faire la moyenne max mysql

SELECT AVG(amount)
FROM orders
GROUP BY cust;
Ali Shams Eddine