SQL Practice Logo

SQLPractice Online

Company SQL Question

Driver Performance by City

Practice this Uber style SQL interview question with live execution and instant feedback.

Problem Statement

Calculate the average rating, total trips, and total earnings for drivers in each city. Show city name, driver count, average rating, total trips, and total earnings.

Relevant Tables

citiesdriversdriver_earnings

SQL Concepts Used in This Question

Strengthen your understanding with these targeted learning topics: