Easy · 5 min
Analyze guest review scores by gender for completed bookings in 2026. For each gender group, calculate: average rating, total number of reviews, and percentage of five-star reviews. Handle null gender values by treating them as 'Unknown'. Return columns: gender, average_rating, review_count, pct_five_star. Order by average_rating descending.
Tables: bookings, guests, reviews
Medium · 10 min
Calculate the click-through rate (CTR) for Airbnb listings viewed in March 2026. For each listing, return: listing_id, room_type, neighborhood, view_count (distinct views), booking_count (bookings within 30 days), and ctr_percent (bookings / views * 100). Only include listings with at least 10 views. Order by CTR descending.
Tables: listing_views, bookings, listings
Hard · 15 min
Analyze host growth and quality from 2024 to 2025. For hosts who had active listings in both years, calculate: listing_count_2024, listing_count_2025, growth_rate (percentage increase), average_rating from 2025 bookings, and quality_rank (ranked by average rating). Only include hosts with growth > 0 (more listings in 2025 than 2024). Return: host_id, is_superhost, listing_count_2024, listing_count_2025, growth_rate, avg_rating, quality_rank. Order by growth_rate descending.
Tables: hosts, listings, bookings, reviews