SQL practice / Lyft
Free SQL interview practice

Lyft SQL interview questions. All free.

3 SQL practice questions in our Lyft collection, part of our 188-question bank across 23 companies. Write SQL against practice datasets and get checked in your browser. Free, no card or trial.

No account needed to start. Draft SQL stays in this browser; create an account to sync solved history.

1 Easy · 1 Medium · 1 Hard

Independent practice resource. Not affiliated with or endorsed by Lyft.

Inside the Lyft set

SQL topics you can practice.

These topics come from the questions in this set. Pick one to open the matching problems.

Easy · 5 min

VIP Riders by Lifetime Spend and Trip Count

Identify VIP riders based on their lifetime spending and completed trip count. A VIP rider has accumulated at least $500 in total spend and completed at least 50 rides. Return rider_id, city_id, total_spend, completed_ride_count, and first_ride_date. This helps the business identify high-value customers.

Tables: riders, rides
Medium · 10 min

Monthly Driver Ratings

Analyze active driver performance with current month average ratings and rolling 30-day trends. Return driver_id, city_id, current_month_avg_rating (March 2026), rolling_30d_avg_rating, and total_completed_rides_current_month. Include only drivers with at least 5 completed rides in the current month. This helps identify top performers and potential problem drivers.

Tables: drivers, rides
Hard · 15 min

Ride Completion Rate by City and Time of Day

Analyze ride completion rates across cities and time-of-day buckets. Bucket requests into morning (6-9 AM), midday (9 AM-5 PM), evening (5-9 PM), and night (9 PM-6 AM). Return city_id, time_bucket, total_requests, completed_rides, completion_rate, and rnk (rank within each city by completion rate, descending). Include only buckets with at least 100 requests. This helps identify when and where the service struggles.

Tables: rides
The bank

Lyft SQL questions. Start typing SQL.

3 Lyft problems, each with its own dataset. Click one and you’re in the workspace, free, right in your browser.

How it works

Solve in the browser. Checked instantly.

  1. 1
    Pick a problemPractice questions for data science and analytics interviews, each with its own tables, difficulty, and time target.
  2. 2
    Write and run SQLA full database engine loads in the tab. No setup, nothing to install — query the practice dataset immediately.
  3. 3
    Submit for a verdictPass and move to the next problem. Miss and you unlock the expected output and a reference solution.
VIP Riders by Lifetime Spend and Trip CountLyft

Your dataset

riders

rider_id (INTEGER) · signup_date (DATE) · city_id (INTEGER) · is_active (BOOLEAN)

rides

ride_id (INTEGER) · rider_id (INTEGER) · driver_id (INTEGER) · completed_date (DATE) · fare_usd (DECIMAL) · status (VARCHAR)

Try this Lyft question
3
Lyft questions
188
questions in the full bank
$0
free access

Solve one now. Build your solved history.

Start free, no account needed. When you create one, everything you’ve solved comes with you — solved marks, streaks, and concept ratings on your dashboard.

Practice Lyft SQL free

Create a free account to sync solved history →