Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Write a SQL query to calculate the average salary for each department.
Answer: SELECT department, AVG(salary) FROM Employee GROUP BY department;
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook