English

List the maximum sale made by each employee.

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?
Chapter 1: Querying and SQL Functions - Intext Questions [Page 15]

APPEARS IN

NCERT Informatics Practices [English] Class 12
Chapter 1 Querying and SQL Functions
Intext Questions | Q b) | Page 15
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×