Airbnb
Foundations Track · Easy · 15 min
9629 Find The Count Of Verified And Non Verified Airbnb Hosts
SELECT host_identity_verified, COUNT(id) as n_hosts FROM airbnb_search_details GROUP BY host_identity_verified -- NOTE: very easy; shouldn't be in the Medium...
Company labels are directional practice context, not official interview guidance.
Objective
Practice aggregation through a Airbnb-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
SELECT host_identity_verified, COUNT(id) as n_hosts FROM airbnb_search_details GROUP BY host_identity_verified -- NOTE: very easy; shouldn't be in the Medium section
airbnb_search_details
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.