SQL Challenges

Write a SQL query that answers the question. Your query runs in a sandboxed, in-memory database — no access to the real data.