Search ⌘K
Airbnb
Airbnb

Interview Core Track · Easy · 15 min

Waitlist Fill Rate

Marketplace ops wants to see how efficiently waitlists are being cleared. Return each city, the total number of waitlist requests, and the percentage of fulf...

Interview Core Track
Easy
15 min
query basics
aggregation
joins

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Airbnb-tagged business scenario.

Approach

Use this track to improve speed, edge-case handling, and accuracy under timed conditions.

Company context

Company labels are directional practice context, not official interview guidance.

Prereq: query basics
Prereq: filtering

Marketplace ops wants to see how efficiently waitlists are being cleared. Return each city, the total number of waitlist requests, and the percentage of fulfilled requests rounded to two decimals. Sort by city.

listings
listing_id INT
city VARCHAR(30
listing_idcity
1Austin
2Austin
3Denver
4Miami
waitlist_requests
request_id INT
listing_id INT
fulfilled BOOLEAN
request_idlisting_idfulfilled
1011true
1021false
1032true
1043false
1053false
1064true
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.