The GROUP BY clause in the SQL statement implies the use of an aggregate function. In this case, avg(prod_cost) is an aggregate function that calculates the average of the product costs for each group of products.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit