0 votes
in Oracle by
Write an Oracle SQL query to find the average salary of employees within each department.

1 Answer

0 votes
by
SELECT department_id, AVG(salary) AS average_salary

FROM employees

GROUP BY department_id;

Related questions

0 votes
asked Jan 23 in Oracle by SakshiSharma
0 votes
asked Nov 8, 2021 in Sql by rajeshsharma
...