Advertisements
Advertisements
Question
List the maximum sale made by each employee.
Code Writing
Advertisements
Solution
SELECT employee_id, MAX(sale_amount) AS max_sale
FROM sales
GROUP BY employee_id;shaalaa.com
Is there an error in this question or solution?
