English

List the total number of cars sold by each employee.

Advertisements
Advertisements

Question

List the total number of cars sold by each employee.

Code Writing
Advertisements

Solution

SELECT EmpId, COUNT(*) AS Total_Cars_Sold
FROM SALE
GROUP BY EmpId;
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 a) | Page 15
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×