SELECT dept_name, ID, avg (salary)
FROM instructor
GROUP BY dept_name;
a) Dept_id should not be used in group by clause
b) Group by clause is not valid in this query
c) Avg(salary) should not be selected
d) None
Why the following statement is erroneous?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Why the following statement is erroneous?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!