Monthly Ride Aggregation

Problem: Monthly Ride Aggregation

Given rides(ride_id, ride_date, ride_rating, user_id), compute for each calendar month:

  1. total number of rides;
  2. average ride rating, rounded to 2 decimal ...

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: