Oracle SQL в среднем
SELECT AVG(col_name) FROM table_name;
SELECT customer, AVG(prices)
FROM buys
GROUP BY customer;
VasteMonde
SELECT AVG(col_name) FROM table_name;
SELECT customer, AVG(prices)
FROM buys
GROUP BY customer;