RienSQL
TASK #154 · Medium · SAP

Top Consultant by Average Rating in February

Your brief
SAP collects customer feedback after consulting engagements. Each row in EngagementRatings is a customer's rating for a consultant (rating 1–5, rated_at — review date).

Write a query that returns the name of the consultant (Consultants.name) with the highest average rating in February 2024.
Expected columnsnameSAP
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Consultantsconsultant_id, name
Customerscustomer_id, name
EngagementRatingsconsultant_id, customer_id, rating, rated_at