Data-scientist by day, Gym-rat by night
Train models and muscles, both overfit if I'm not careful.
SQL workbench
Dataset: RideNest Fictional data· Data dictionary · Download .sqlite
Explore the data
Write any SQLite query against the four tables below, then press Run.
Tables
trips · 4,988 rows · first 5 shown
| trip_id | rider_id | driver_id | requested_at | pickup_zone | dropoff_zone | status | distance_km | duration_min | fare_aud | discount_aud | promo_id | payment_method | rider_rating |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 176 | 89 | 2025-01-01 02:11:02 | CBD | South | completed | 11.3 | 24 | 31.09 | 0 | NULL | card | 3 |
| 2 | 678 | 7 | 2025-01-01 04:59:10 | West | CBD | completed | 4.6 | 10 | 14.83 | 0 | NULL | wallet | NULL |
| 3 | 237 | 16 | 2025-01-01 08:10:39 | North | CBD | completed | 9 | 26 | 28.37 | 0 | NULL | card | NULL |
| 4 | 649 | 52 | 2025-01-01 08:36:03 | East | CBD | completed | 6.5 | 18 | 21.14 | 0 | NULL | card | 5 |
| 5 | 497 | 23 | 2025-01-01 18:02:53 | CBD | South | completed | 5.8 | 18 | 20.05 | 0 | NULL | card | 4 |
5 rows
riders · 700 rows · first 5 shown
| rider_id | signup_date | home_zone | age_band | referral_source | marketing_opt_in |
|---|---|---|---|---|---|
| 1 | 2025-06-22 | North | 25-34 | organic | 1 |
| 2 | 2023-05-02 | CBD | 35-44 | friend | 0 |
| 3 | 2025-11-24 | South | 18-24 | organic | 1 |
| 4 | 2023-05-20 | South | 45-54 | friend | 1 |
| 5 | 2024-04-12 | West | 45-54 | organic | 1 |
5 rows
drivers · 120 rows · first 5 shown
| driver_id | join_date | vehicle_type | home_zone | is_active |
|---|---|---|---|---|
| 1 | 2023-06-08 | economy | West | 1 |
| 2 | 2023-04-13 | ev | North | 1 |
| 3 | 2024-11-15 | ev | North | 0 |
| 4 | 2025-02-16 | economy | South | 1 |
| 5 | 2023-04-29 | ev | North | 1 |
5 rows
promos · 3 rows · first 5 shown
| promo_id | code | description | discount_pct | start_date | end_date | min_fare_aud |
|---|---|---|---|---|---|---|
| 1 | WELCOME10 | 10% off a new rider's first completed trip | 10 | 2025-01-01 | 2025-12-31 | 0 |
| 2 | WINTER20 | 20% off all trips during the winter campaign | 20 | 2025-06-02 | 2025-06-29 | 8 |
| 3 | FRIDAYNIGHT | 15% off Friday trips from 6 pm in October | 15 | 2025-10-01 | 2025-10-31 | 10 |
3 rows
Result of the saved query
Press Ctrl + Enter to run. Every run starts from a fresh copy of the data.
| trip_id | rider_id | driver_id | requested_at | pickup_zone | dropoff_zone | status | distance_km | duration_min | fare_aud | discount_aud | promo_id | payment_method | rider_rating |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 176 | 89 | 2025-01-01 02:11:02 | CBD | South | completed | 11.3 | 24 | 31.09 | 0 | NULL | card | 3 |
| 2 | 678 | 7 | 2025-01-01 04:59:10 | West | CBD | completed | 4.6 | 10 | 14.83 | 0 | NULL | wallet | NULL |
| 3 | 237 | 16 | 2025-01-01 08:10:39 | North | CBD | completed | 9 | 26 | 28.37 | 0 | NULL | card | NULL |
| 4 | 649 | 52 | 2025-01-01 08:36:03 | East | CBD | completed | 6.5 | 18 | 21.14 | 0 | NULL | card | 5 |
| 5 | 497 | 23 | 2025-01-01 18:02:53 | CBD | South | completed | 5.8 | 18 | 20.05 | 0 | NULL | card | 4 |
| 6 | 418 | 15 | 2025-01-01 20:44:23 | CBD | South | completed | 5.1 | 11 | 16.02 | 0 | NULL | card | 2 |
| 7 | 60 | 55 | 2025-01-01 23:04:29 | Airport | North | completed | 21.5 | 40 | 53.62 | 0 | NULL | card | NULL |
| 8 | 419 | 98 | 2025-01-02 06:31:02 | North | North | completed | 4.4 | 9 | 14.1 | 0 | NULL | card | 5 |
| 9 | 296 | 114 | 2025-01-02 06:32:19 | CBD | CBD | completed | 2.7 | 5 | 9.79 | 0 | NULL | wallet | 5 |
| 10 | 244 | 118 | 2025-01-02 08:26:56 | West | North | completed | 14.1 | 42 | 43 | 0 | NULL | card | 4 |
10 rows
Activity
0 queries in the last 52 weeks
Query log 0
No queries published yet.