79380618

Date: 2025-01-23 10:20:23
Score: 0.5
Natty:
Report link

In SQL, you can calculate an average of a column using the AVG function:

SELECT profession, AVG(salaire) AS salaire_moyen
FROM personnel
GROUP BY profession
LIMIT 0,5;

You can think of AVG(a) as SUM(a) / COUNT(a)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Proteus