← 返回 waymo 的题目列表Monthly Ride Aggregation
类型:online_judge
Problem: Monthly Ride Aggregation
Given rides(ride_id, ride_date, ride_rating, user_id), compute for each calendar month:
total number of rides;
average ride rating, rounded to 2 decimal places.
Sort results by month in descending order.
Return: month, total_rides, and avg_ride_rating.