Answer: Aggregate Records Using SUM

Find a detailed explanation of using the SUM function to aggregate records in a table using SQL query.

Solution

The solution is given below:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.