Question #117678

Why the following statement is erroneous? SELECT dept_name, ID, avg (salary) FROM instructor GROUP BY dept_name;


Options:

Answer: Why the following statement is erroneous? SELECT dept_name, ID, avg (salary) FROM instructor GROUP BY dept_name; Dept_id should not be used in group by clause.

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question