Google Maps Community Operations recognizes high-impact Local Guides who enrich place discovery with visual content. Write a SQL query to identify all verified reviewers (`account_status = 'verified'`) who have published at least 2 reviews containing photos (`has_photos = 1`) for locations in either 'San Francisco' or 'Mountain View'. Return the `reviewer_id`, `reviewer_name`, and the count of qualifying photo reviews as `photo_review_count`. Sort the results by `photo_review_count` in descending order, breaking ties by `reviewer_id` in ascending order.
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.