Java Roast

Write a SQL query that returns the total quantity of each product ordered by each customer.

A.I. Evaluation of the Solution

The candidate's solution correctly returns the total quantity of each product ordered by each customer. The solution uses the GROUP BY clause to group the customer and product IDs together, and then uses the SUM function to calculate the total quantity for each group. The solution is clear and concise.

Evaluated at: 2022-11-02 00:15:40

Check these solutions from our community and artificial intelligence:

This solution is complete and solves the problem. The approach is straightforward and easy to follow.