| Question | Description | Difficulty | Completed |
|---|---|---|---|
| Select Rows With Maximum Revenue | Using the table playground.revenue, write a SQL query to select rows from a given table that have the maximum revenue value for each id. The resultant table should have three columns - "id", "rev", "content". Additionally, the results should be ordered in descending order by revenue. | easy | |
| Month with the Highest Total Births | Determine the month with the highest total number of births in the playground.us_birth_stats table. The output should show the month and the total number of births. | easy | |
| Average Number of Births by Day of the Week | Create a SQL query that finds the average number of births for each day of the week across all years in the playground.us_birth_stats table. Cast the average as an integer. Order the results by the day of the week. | easy | |
| Top Reviewed Customers per Product | Using the table playground.product_reviews, write a SQL query to identify, for each product, the customer who provided the highest review score. If there are ties in review score, the customer with the most helpful votes should be considered top. The output should include columns for product_id, customer_id, review_score, and helpful_votes, capturing the details of the top review for each product ordered in ascending order of product_id | easy | |
| Running total amount | Write a query that returns each row with a running total of amount per salesperson ordered by sale_date. | easy | |
| Cars with Above Average Engine Size | Using the table playground.automobile, Create a SQL query to identify cars that have an engine size above the average across all cars in the dataset. The result should include the brand, fuel_type, and engine size, ordered by engine size in descending order and then brand_name in asc order. | easy | |
| Identifying the Bank Robber | Using table playground.suspect, filter out suspects who cannot be the bank robber based on the following clues: the robber is not taller than 170cm, and their name matches the pattern "B. Gre?n" where the first letter of the name is "B" or "b" and the surname is similar to "Green" but with the fourth letter being unreadable and potentially any character. The match should be case-insensitive. For each suspect that fits these criteria, select their id, name, and surname. Order the results by suspect id in ascending order. | easy | |
| Find Viewers with Multiple Article Views in a Day | Using the table playground.views, write a SQL query to identify all viewers who viewed more than one article on the same day. The table includes columns viewer_id (the ID of the viewer), article_id (the ID of the article viewed), and view_date (the date of the view). The result should contain a single column named viewer_id, listing each viewer who meets the criteria without duplicates, and should be sorted in ascending order of viewer_id. | easy | |
| Check Test Answers | Create a SQL query to evaluate test answers stored in a table named playground.answers with columns id (unique question ID), correct_answer (string), and given_answer (which can be NULL). Return a table with columns id and checks, where checks is "no answer" if given_answer is NULL, "correct" if given_answer matches correct_answer, and "incorrect" otherwise. Order the results by id. | easy | |
| Determining the Order of Succession | Given a table Successors with columns: name, birthday, and gender, write a SQL query to list the names of the King's children in order of their succession to the throne and their birthday("name", "birthday"). Succession is based on age seniority. Prefix the name with "King" for males and "Queen" for females. The result should be sorted by birthday in ascending order to determine the succession order. | easy | |
| Find US Customers Who Rented and Streamed Videos in Early February | Write a SQL query to return the US customers who rented a video on February 1st, 2023, and then streamed the same video between February 2nd and February 8th, 2023. Use the tables playground.rental for rental data and playground.streams for streaming data. The output should include unique user IDs of these customers ordered in ascending order. | easy | |
| Question 1 | Select 20 nba platers | easy | |
| Identifying Empty Departments | Given two tables, playground.employees and playground.departments, with employees containing id, full_name, and department, and departments containing id (unique department ID) and dep_name (department name), write a SQL query to build a table with one column, dep_name. This table should list all the departments that currently have no employees, sorted by the department id. | easy | |
| Filtering Students in Active Clubs | Given tables clubs (id: unique club id, name: club name) and students (id: unique student id, name: student name, club_id: club's id), return a list from the students table for those who are in clubs that still exist in the clubs table. The result should have three columns (id, name, club_id) and be sorted by students' ids (id) and include only those students whose club_id matches an id in the clubs table. | easy | |
| Total Number of Births Per Year | Write a SQL query to calculate the total number of births recorded for each year in the playground.us_birth_stats table. Order the results by year. | easy | |
| Find Product Prices | Using the table playground.product_prices, create a SQL query to find all products and their prices on 2023-08-17, assuming the initial price of all products was 10 before any price changes. Order the results in ascending order of product_id. | medium | |
| Finding Highest Grade and Corresponding Course per Student | Using the table playground.student_grades, write a SQL query to find the highest grade and its corresponding course for each student. In cases where there is a tie for the highest grade, select the course with the smallest course_id. The output should include student_id, course_id, and the grade, with the results sorted by increasing student_id. | medium | |
| Identifying Active Businesses Based on Event Occurrences | Using the playground.business_events table, identify all active businesses. An active business is defined as one that has more than one event type with occurrences greater than the average occurrences of that event type among all businesses. The goal is to filter businesses based on their activity level, comparing individual event occurrences to the overall average for those event types. The result should be a table with one column called business_id with all the business ids that are active. | medium | |
| Finding Actors by Favorite Movie Genre | Given three tables - playground.movies, playground.starring_actors, and playground.actor_ages - identify actors from the most common movie genre in your library. Assume each actor is listed once representing their best role. The task is to list actors with their age, sorted from oldest to youngest, who star in movies of your favorite genre (the most common genre in your list). In case of actors being the same age, sort them by name.The resultant table should have two columns, actor and age. | medium | |
| Calculating Available Seats on Flights | Calculate the number of seats not yet purchased for each flight. Use three tables: playground.flights (with columns: flight_id, plane_id), playground.planes (with columns: plane_id, number_of_seats), and playground.purchases (with columns: flight_id, seat_no). Each row in purchases is unique for (flight_id, seat_no) pairs. For each flight_id, compute the free_seats as the number of seats not purchased. Order the results by flight_id in ascending order. Ensure consistency in purchases, with no records for non-existing flight_ids or seat_nos. | medium | |
| Data Engineer Interview — SQL | SQL challenge placeholder for Data Engineer Interview. Replace with a real Trino-compatible question against seeded tables. | medium | |
| Analytics Engineer Interview — SQL | SQL challenge placeholder for Analytics Engineer Interview. Replace with a real Trino-compatible question against seeded tables. | medium | |
| AI Engineer Interview — SQL | SQL challenge placeholder for AI Engineer Interview. Replace with a real Trino-compatible question against seeded tables. | medium | |
| Hierarchical JSON Aggregation with Conditional Flattening | A table orders(id, payload VARCHAR) stores a JSON document per order, e.g.: Produce a result set with one row per order‑item, containing: | order_id | customer | sku | total_price | region | channel | total_price = price * qty. Only include items where total_price > 25 USD. | medium | |
| Salary Range Difference | Calculate the difference between the sum of the highest salaries and the sum of the lowest salaries in the company. The table "playground.employees_salary" contains columns "id" (unique employee ID), "name" (employee's name), and "salary" (employee's salary as a positive integer). The result should be a single column "difference" with one row representing the calculated difference. If the "playground.employees_salary" table is empty, "difference" should be 0. | medium | |
| Most Popular Fuel System for Each Fuel Type | Using the table playground.automobile, create a SQL query to find the most popular fuel system for each fuel type based on the number of cars. Include columns for fuel type, fuel system, and the count of cars, showing only the top fuel system for each fuel type. Order the result on the basis of fuel type in ascending order. | medium | |
| Filtering Dance Contest Scores | Given a table playground.dance_scores (columns: arbiter_id, first_criterion, second_criterion, third_criterion) with scores from 1 to 10 awarded by judges in a dance contest, write a query to exclude scores from any judge who awarded an extreme score (either minimum or maximum) for at least two criteria. Return the filtered scores, sorted by arbiter_id. | medium | |
| Detecting Gaps in a Sequence | Given a table quiz_orders(order_id, customer_id, order_date) where order_id should be consecutive daily numbers, list any missing order_ids | medium | |
| Calculate Monthly Average Product Rating | Using the table playground.product_reviews, write a SQL query to calculate the monthly average rating for each product. The resulting table should have three columns: month, product_id, and avg_review, where avg_review is the average review rating of the product for that month. The results should be ordered in ascending order of month and product_id | medium | |
| Analyze Engine Efficiency by Fuel Type | Using the table playground.automobile, write a SQL query to analyze engine efficiency by comparing the average city mileage to highway mileage for each fuel type. The efficiency ratio is defined as the average highway mileage divided by the average city mileage. Include fuel type, average city mileage, average highway mileage, and efficiency ratio in the results, rounded up to 2 decimal places, ordered by the highest efficiency ratio. | medium | |
| Who are the top 10 authors by number of reviews? | Using bootcamp.books, find the top 10 authors by reviews, no_of_reviews is a string column with bad data, try your best to get the values to parse correctly | medium | |
| Identifying students with the best grade | Using the playground.marks table, write a SQL query to determine the students who achieved the highest marks when graded according to Option 3, where the final exam accounts for 100% of the grade. The other grading options are provided for context: Option 1: Midterm 1 contributes 25%, Midterm 2 contributes 25%, and the Final exam contributes 50% of the grade. Option 2: Midterm 1 contributes 50% and Midterm 2 contributes 50% of the grade. Option 3: The Final exam contributes 100% of the grade. The output should be sorted by the students' names in ascending order. Ensure the column names in the result are displayed in lowercase. The resultant table should have two columns, name and their id. | medium | |
| Summarizing Foreign Competitors by Country with Total Summary | Given the playground.foreign_competitors table with columns: competitor and country, write a SQL query to calculate the number of competitors per country. Additionally, include a final summary row that shows "Total:" and the total number of competitors. The resulting table should have two columns: country and competitors, sorted by competitors and country names in ascending order, and include the summary row at the bottom. | medium | |
| Orders with missing customers | Return the orders with missing customers | medium | |
| Customer Orders | List all customers who have not placed any orders. | medium | |
| Calculate 3-Day Rolling Average of Posts per User | Using the table playground.posts, write a SQL query to calculate the 3-day rolling average of posts for each user. The output should include columns: user_id, post_date, and third_rolling_avg, where third_rolling_avg is the 3-day rolling average of post count for each user, rounded to 2 decimal places. The rolling average should be calculated over a specified 3-day period for each user, including the current day and the two preceding days. The result should be ordered in ascending order of post date | medium | |
| Identify Products Sold Exclusively in January 2024 | Using the tables playground.products and playground.product_sales, write a SQL query to find products that were sold exclusively within the month of January 2024 (from "2024-01-01" to "2024-01-31", inclusive). The output should include the product_id and product_name for each qualifying product. | medium | |
| Top N per group with ties | Return the top score per game_date including ties (if two players share top score, include both). Also include rank and total players that day. | medium | |
| Latest price per product | Return the most recent price for a given product in the table, sorted by product in increasing order. | medium | |
| Transform workers_info Table to Exclude NULL Values | Given a table named playground.workers_info, write a SQL query to transform this table. The transformation should result in a table with three columns: id, column_name, and value, where column_name is the name of the original column containing a non-NULL value for each id, and value is the stringified non-NULL value from this column. Exclude rows where the original value is NULL. The result should be sorted by id in ascending order, and for rows with the same id, sorted by column_name in ascending order. | medium | |
| Top 2 Customers with Highest Sales Every Month | Using the table playground.sales, Identify the top 2 customers based on their total sales for each month. Display the result based on asc order of their rank and month. | medium | |
| Total Server Fleet Uptime in Full Days | Using the 'playground.sessions' table, write a SQL query to calculate the total uptime of the server fleet in full days. The table records each server's start and stop times as separate entries. The total uptime ('total_uptime_days') is defined as the sum of all periods during which any server was running, represented as a single integer value for the total number of full days. Assume each 'start' session_status has a corresponding 'stop' status, and sessions do not overlap for the same server. | hard | |
| Count Unique Conversation Threads | Using the table playground.messenger, write a SQL query to find the number of unique conversation threads in the playground.messenger table. A conversation thread is identified by the sender_id and receiver_id columns. Note that if a thread has sender_id and receiver_id inverted in another row, it should still be counted as the same thread. For example, a conversation where sender_id=1 and receiver_id=2 should be considered the same thread as one where sender_id=2 and receiver_id=1. The result should just be a single column called count given in any order. | hard | |
| Determining the Soccer Series Winner | From the "scores" table, write a SQL query to determine the series winner based on the following criteria: 1) The team with the most game wins is the winner. 2) If the wins are equal, the team with the better overall goal difference (goals scored - goals conceded) wins. 3) If goal differences are also equal, the winner is the team with more goals scored in away games (when not the host). The "scores" table includes match_id (unique match ID), first_team_score, second_team_score, and match_host (1 or 2, indicating the host team). Return a table with a single column "winner" that contains 1 (for the first team), 2 (for the second team), or 0 if no winner is determined based on these criteria. | hard | |
| Summarizing Leisure Activity Resorts by Country | Given a table playground.country_activities with columns: id (unique identifier), country (name of the country), region (region within the country), leisure_activity_type (type of leisure activity), and number_of_places (number of resorts offering the activity). Construct a SQL query to aggregate this information into a new table structure. The resulting table should have columns for each country, with the counts of resorts offering each type of activity: adventure_park, golf, river_cruise, and kart_racing. Sort the result by country name in ascending order. | hard | |
| Find Overlapping Date Ranges | Given a table bookings (room_id, start_date, end_date), list all pairs of bookings that overlap for the same room. | hard | |
| SQL Question 2 | Question Discription testing | hard | |
| Year-on-Year Growth Rate Calculation | Using the table playground.dates, write a SQL query to calculate the year-on-year growth rate for the total spend of each product. The output should include the year, product ID, current years spend, previous years spend, and the year-on-year growth percentage, rounded to 2 decimal places, grouped by product ID and sorted by year in ascending order. | hard | |
| Calculating Median Searches per User | Using the table playground.search_freq with each row representing the number of searches (searches column) made by a certain number of users (users column), write a SQL query to calculate the median number of searches per user up to one decimal place and be sure to cast it as a double. | hard | |
| Who are the top 10 NBA players by consecutive 20+ point seasons? | Using the table bootcamp.nba_player_seasons, find the most consecutive seasons a player has scored 20+ points and find the top 10 players! Make sure to handle ties correctly (you might have more than 10 records!). Sort the output data set by consecutive_seasons descending and player_name ascending! | hard | |
| Get nba player from bootcamp.nba_player_seasons table with age 25 and name is Aaron McKie | Get nba player from bootcamp.nba\_player\_seasons table with age 25 and name is Aaron McKie. Just testing if this breaks anything else. | hard | |
| Select all nba players with college as Connecticut and ordered by player_name desc | Select all nba players with college as Connecticut and ordered by player_name desc | hard | |
| Identify Department for Reduction | Select departments that have no more than 5 employees. From these, choose departments based on the descending order of the total salary of its employees. In case of a tie in total salary, prioritize the department with the greater number of employees. If still tied, prioritize by the smallest department id. From the resulting list, eliminate departments in even positions, leaving only those in odd positions for further consideration. The resulting table should contain columns for department name, number of employees, and total salary, sorted as described. | hard | |
| Check Second Sale Brand Preference Match | Using the tables playground.users, playground.items, and playground.orders, write a SQL query to determine for each user, whether the brand of the second item they sold matches their preferred brand. The output should include two columns: seller_id and has_pref_brand, where has_pref_brand is "yes" if the brand of the second item sold matches the users preferred brand, and "no" otherwise. If a user sold less than two items, report the answer for that user as "no". It is guaranteed that no seller sold more than one item on the same day. The result should be ordered by user_id in ascending order. | hard | |
| Identifying Multi-Component Bugs and Their Impact | Analyze the playground.bug, playground.component, and playground.bug_component tables to identify bugs affecting multiple components. Bug table contains num (unique bug number) and title (bug title). Component table includes id (unique component id) and title (component title). BugComponent table links bugs to components with bug_num (references Bug.num) and component_id (references Component.id). The task is to list each bug (that affects more than one component) with the titles of affected components and the total number of bugs in these components. Output columns: bug_title, component_title, bugs_in_component, ordered by bugs_in_component (descending), then by bug_title (ascending). | hard | |
| Find Top 3 Commonly Bought Product Pairs | Using the table playground.product_transactions, write a query to find the top 3 pairs of products that are most frequently bought together in the same transaction from the table playground.product_transactions. For this analysis, consider a pair to consist of two different products purchased in the same transaction. The output should list the pairs of products and the frequency of each pair (product1, product2, freq), ordered by product1 in ascending order, product2 in ascending order and frequency in descending order. | hard | |
| Sessionization and gap-based grouping | Assume a session is a series of events for the same user where consecutive events are no more than 30 minutes apart. Assign session numbers per user, show session start, end, duration (in minutes), and event count. | hard | |
| Countries and Their Preferences for Beer, Spirit, and Wine | Create a SQL query to find all countries and their preference for beer, spirit, and wine, based on the highest serving type as their preference. The output should show only the countries whose preferences are wine and spirits, ordered in ascending order of the country name. | hard | |
| Optimizing Stock of Prime and Non-Prime Items in a Warehouse | Given a warehouse with a capacity of 500,000 square feet, Amazon wishes to optimize the number of items stocked, prioritizing prime items. The goal is to fill the warehouse with as many prime items as possible and then supplement the remaining space with non-prime items. However, there are new operational constraints: prime and non-prime items must be stocked in equal quantities, and there must always be non-prime items in stock. Assuming each item occupies the same amount of space, using the table playground.inventory, write a query to determine the maximum number of prime and non-prime items that can be accommodated in the warehouse. The output should list the item_type (prime_eligible or not_prime) followed by the maximum number of item_count that can be stocked, ensuring item counts are whole numbers and adhering to the given constraints and prime_eligible first. | hard | |
| Testing sql question | Any description for the question | hard | |
| Fizzbuzz | Fizzbuzz | ||
| Two Sum | Two Sum | ||
| LRU Cache | LRU Cache | ||
| Edit Distance Between Two Strings | Edit Distance Between Two Strings | Hard | |
| Heap-Based Merge: K Sorted Partitions with Memory Budget | Heap-Based Merge: K Sorted Partitions with Memory Budget | Mid-Hard | |
| Sliding Window: Top-K Frequent Keys in Event Stream | Sliding Window: Top-K Frequent Keys in Event Stream | Mid | |
| Graph DP: DAG Table Dependencies & Minimal Recompute Set | Graph DP: DAG Table Dependencies & Minimal Recompute Set | Hard | |
| Generate Valid Parenthesis Combinations | Generate Valid Parenthesis Combinations | Medium | |
| Word Break — Can a String Be Segmented? | Word Break — Can a String Be Segmented? | Medium | |
| Kth Largest Element in a Data Stream | Kth Largest Element in a Data Stream | Medium | |
| Count Set Bits Across a Range | Count Set Bits Across a Range | Easy | |
| Caesar Cipher Encode/Decode | Caesar Cipher Encode/Decode | Easy | |
| Longest Palindromic Substring | Longest Palindromic Substring | Medium | |
| GCD and LCM of a List of Numbers | GCD and LCM of a List of Numbers | Easy | |
| Word Wrap Text to a Fixed Line Width | Word Wrap Text to a Fixed Line Width | Easy | |
| Line Diff — Added and Removed Between Two Text Versions | Line Diff — Added and Removed Between Two Text Versions | Medium | |
| Min-Stack with O(1) Minimum Retrieval | Min-Stack with O(1) Minimum Retrieval | Medium | |
| Peak Concurrent Jobs — Sweep Line | Peak Concurrent Jobs — Sweep Line | Mid-Hard | |
| Rotate a Matrix 90 Degrees Clockwise | Rotate a Matrix 90 Degrees Clockwise | Easy | |
| Find Insertion Point in a Sorted List | Find Insertion Point in a Sorted List | Easy | |
| Longest Substring Without Repeating Characters | Longest Substring Without Repeating Characters | Medium | |
| Evaluate Reverse Polish Notation | Evaluate Reverse Polish Notation | Medium | |
| Longest Common Subsequence Length | Longest Common Subsequence Length | Medium | |
| Minimum Coins to Make Change | Minimum Coins to Make Change | Medium | |
| Shortest Path in an Unweighted Grid | Shortest Path in an Unweighted Grid | Medium | |
| Count Connected Components in a Friendship Graph | Count Connected Components in a Friendship Graph | Medium | |
| Autocomplete Prefix Matches | Autocomplete Prefix Matches | Easy | |
| Parking Lot Slot Allocation Simulation | Parking Lot Slot Allocation Simulation | Medium | |
| Simple Arithmetic Expression Evaluator | Simple Arithmetic Expression Evaluator | Medium | |
| Group Anagrams | Group Anagrams | Medium | |
| Conway's Game of Life — One Step | Conway's Game of Life — One Step | Medium | |
| Currency Rounding — Distribute a Total Evenly to the Cent | Currency Rounding — Distribute a Total Evenly to the Cent | Easy | |
| Detect a Cycle in an Undirected Graph | Detect a Cycle in an Undirected Graph | Medium | |
| Round-Robin CPU Scheduler Simulation | Round-Robin CPU Scheduler Simulation | Hard | |
| Run-Length Encoding | Run-Length Encoding | Easy | |
| Parse and Reformat a Basic INI Config | Parse and Reformat a Basic INI Config | Medium | |
| Search Ranking Feature: Host Response Probability — Airbnb | Search Ranking Feature: Host Response Probability — Airbnb | ||
| Token-Efficient Prompt Caching System — OpenAI | Token-Efficient Prompt Caching System — OpenAI | Mid | |
| Real-Time Feature Computation: Sliding Window User Stats — Spotify | Real-Time Feature Computation: Sliding Window User Stats — Spotify | Mid | |
| Embedding Batch Deduplication System — Meta | Embedding Batch Deduplication System — Meta | Mid | |
| Query Performance Anomaly Detector — Databricks | Query Performance Anomaly Detector — Databricks | Mid | |
| YouTube Event Sessionization — Google | YouTube Event Sessionization — Google | Mid | |
| Sensor Stream Processor: Windowing & Deduplication — Tesla | Sensor Stream Processor: Windowing & Deduplication — Tesla | Mid | |
| Sliding Window: Anomaly Detector for Suspicious Transactions — Coinbase | Sliding Window: Anomaly Detector for Suspicious Transactions — Coinbase | Mid | |
| Merchant Fraud Signal Computation — Stripe | Merchant Fraud Signal Computation — Stripe | Mid | |
| Sliding Window: Trending Titles Detector — Netflix | Sliding Window: Trending Titles Detector — Netflix | ||
| Real-Time Demand Anomaly Detection — Uber | Real-Time Demand Anomaly Detection — Uber | Mid | |
| Sieve of Eratosthenes | Sieve of Eratosthenes | Easy | |
| Log Level Counter with Malformed Lines | Log Level Counter with Malformed Lines | Easy | |
| Revenue Rollup by Region | Revenue Rollup by Region | Easy | |
| Moving Average over a Metric Stream | Moving Average over a Metric Stream | Easy | |
| Exponential Backoff Schedule | Exponential Backoff Schedule | Easy | |
| Email Address Normalization | Email Address Normalization | Easy | |
| Deduplicate Lines Preserving Order | Deduplicate Lines Preserving Order | Easy | |
| Top-N Words Excluding Stopwords | Top-N Words Excluding Stopwords | Easy | |
| Merge Overlapping Maintenance Windows | Merge Overlapping Maintenance Windows | Mid | |
| Config Bracket Validator | Config Bracket Validator | Mid | |
| Backfill Date-Range Chunking | Backfill Date-Range Chunking | Mid | |
| Detect Late Events in a Stream | Detect Late Events in a Stream | Mid | |
| Table Schema Diff | Table Schema Diff | Mid | |
| Flatten Nested JSON to Dotted Paths | Flatten Nested JSON to Dotted Paths | Mid | |
| Sliding-Window Rate Limiter | Sliding-Window Rate Limiter | Mid | |
| Median Latency Across Two Sorted Shards | Median Latency Across Two Sorted Shards | Hard | |
| Parse Duration Strings | Parse Duration Strings | Easy | |
| Sum a Named CSV Column | Sum a Named CSV Column | Easy | |
| Validate IPv4 Addresses | Validate IPv4 Addresses | Medium | |
| Sort Semantic Versions | Sort Semantic Versions | Medium | |
| Parse a Query String | Parse a Query String | Medium | |
| Fixed-Width Histogram Bins | Fixed-Width Histogram Bins | Medium | |
| Sessionize a Click Stream | Sessionize a Click Stream | Medium | |
| Find Coverage Gaps in a Time Window | Find Coverage Gaps in a Time Window | Medium | |
| Render a Placeholder Template | Render a Placeholder Template | Medium | |
| Spiral Traversal of a Matrix | Spiral Traversal of a Matrix | Medium | |
| Match Times Against a Cron Spec | Match Times Against a Cron Spec | Hard | |
| Task Dependency Order — Topological Sort | Task Dependency Order — Topological Sort | Hard | |
| LRU Cache Simulation | LRU Cache Simulation | Hard | |
| P95 Latency per Endpoint | P95 Latency per Endpoint | Hard | |
| Monthly Active Users | Monthly Active Users | ||
| Second Highest Salary Per Department | Second Highest Salary Per Department | ||
| Order Value Quartiles | Order Value Quartiles | Medium | |
| Detecting Binge-Watch Streaks — Netflix | Detecting Binge-Watch Streaks — Netflix | ||
| Categories With More Than Two Distinct Suppliers | Categories With More Than Two Distinct Suppliers | Easy | |
| Top 3 Most-Watched Genres per Country — Netflix | Top 3 Most-Watched Genres per Country — Netflix | ||
| Highest-paying customer per month | Highest-paying customer per month | ||
| Friend Recommendations by Mutual Friends | Friend Recommendations by Mutual Friends | ||
| Host Superhost Qualification Logic — Airbnb | Host Superhost Qualification Logic — Airbnb | ||
| Guest Booking Funnel Conversion by Market — Airbnb | Guest Booking Funnel Conversion by Market — Airbnb | ||
| Detecting Model Regression: Eval Score Anomalies — OpenAI | Detecting Model Regression: Eval Score Anomalies — OpenAI | Hard | |
| A/B Testing Impact: Analyzing Cohort Retention — Spotify | A/B Testing Impact: Analyzing Cohort Retention — Spotify | Hard | |
| Ticket Status Pivot by Month | Ticket Status Pivot by Month | Mid | |
| Driver Availability Windows: Long Online Sessions — Uber | Driver Availability Windows: Long Online Sessions — Uber | Hard | |
| Daily Payment Success Rate by Merchant — Stripe | Daily Payment Success Rate by Merchant — Stripe | Mid | |
| Revenue Recognition by Payout Cycle — Stripe | Revenue Recognition by Payout Cycle — Stripe | Hard | |
| Feature Store Latency Degradation Detection — Meta | Feature Store Latency Degradation Detection — Meta | Hard | |
| Top 3 Event Types by Query Volume per Workspace — Databricks | Top 3 Event Types by Query Volume per Workspace — Databricks | Mid | |
| Detecting Job-Run Failure Streaks — Databricks | Detecting Job-Run Failure Streaks — Databricks | Hard | |
| YouTube Engagement Cohort Analysis — Google | YouTube Engagement Cohort Analysis — Google | Mid | |
| Multi-Touch Ads Attribution Modeling — Google | Multi-Touch Ads Attribution Modeling — Google | Hard | |
| Fleet Daily Telemetry & Intervention Analytics — Tesla | Fleet Daily Telemetry & Intervention Analytics — Tesla | Mid | |
| Autopilot Engagement Gaps & Session Continuity — Tesla | Autopilot Engagement Gaps & Session Continuity — Tesla | Hard | |
| Detecting Suspicious Trading Patterns via Wallet Velocity — Coinbase | Detecting Suspicious Trading Patterns via Wallet Velocity — Coinbase | Hard | |
| Month-over-Month Cohort Revenue with SCD2 | Month-over-Month Cohort Revenue with SCD2 | Hard | |
| Products Sold in Both Q1 and Q2 | Products Sold in Both Q1 and Q2 | Medium | |
| Customers Who Never Made a Return | Customers Who Never Made a Return | Easy | |
| Comma-Separated Tags per Product | Comma-Separated Tags per Product | Easy | |
| Detect Price Increases Between Consecutive Updates | Detect Price Increases Between Consecutive Updates | Medium | |
| Split Employees into Salary Quartiles | Split Employees into Salary Quartiles | Medium | |
| Employees Who Have Never Been a Manager | Employees Who Have Never Been a Manager | Easy | |
| Customers With No Orders Since a Cutoff Date | Customers With No Orders Since a Cutoff Date | Medium | |
| Total Component Count in a Multi-Level Bill of Materials | Total Component Count in a Multi-Level Bill of Materials | Hard | |
| Employee Reporting Chain Depth | Employee Reporting Chain Depth | Medium | |
| Find Missing SKU Numbers in a Sequence | Find Missing SKU Numbers in a Sequence | Hard | |
| Count Direct Reports per Manager | Count Direct Reports per Manager | Easy | |
| Split Comma-Separated Skill Tags into Rows | Split Comma-Separated Skill Tags into Rows | Hard | |
| Email Domain Signup Counts | Email Domain Signup Counts | Easy | |
| Group Consecutive Same-Price Days into Ranges | Group Consecutive Same-Price Days into Ranges | Hard | |
| Products Frequently Bought Together | Products Frequently Bought Together | Medium | |
| Percentage of Total Revenue by Product | Percentage of Total Revenue by Product | Medium | |
| Subscription Renewals Falling on a Weekend | Subscription Renewals Falling on a Weekend | Easy | |
| Corporate vs. Free Email Domain Signups | Corporate vs. Free Email Domain Signups | Easy | |
| Weekly New vs. Returning Customer Orders | Weekly New vs. Returning Customer Orders | Hard | |
| Days Since Previous Purchase per Customer | Days Since Previous Purchase per Customer | Medium | |
| Order Status Counts per Day | Order Status Counts per Day | Medium | |
| Daily Leaderboard Rank Changes | Daily Leaderboard Rank Changes | Hard | |
| Percentile Rank of Each Student's Score | Percentile Rank of Each Student's Score | Medium | |
| Revenue by Product Category and Region | Revenue by Product Category and Region | Medium | |
| Second Most Recent Login per User | Second Most Recent Login per User | Medium | |
| Employees With No Completed Training | Employees With No Completed Training | Easy | |
| Feature Flag Rollout Status Summary | Feature Flag Rollout Status Summary | Medium | |
| First Purchase Channel per Customer | First Purchase Channel per Customer | Medium | |
| Employees Above Department Average | Employees Above Department Average | Medium | |
| Employees Earning More Than Their Manager | Employees Earning More Than Their Manager | Medium | |
| Customer Lifetime Value Tiering | Customer Lifetime Value Tiering | Easy | |
| API Usage Analytics: Token Cost Attribution — OpenAI | API Usage Analytics: Token Cost Attribution — OpenAI | Mid | |
| Discovering Weekly Listener Engagement — Spotify | Discovering Weekly Listener Engagement — Spotify | Mid | |
| Top Cities by Surge-Adjusted Demand — Uber | Top Cities by Surge-Adjusted Demand — Uber | Mid | |
| Feed Ranking Model Performance: Engagement & Calibration — Meta | Feed Ranking Model Performance: Engagement & Calibration — Meta | Mid | |
| Top Trading Pairs by Volume per Asset Class — Coinbase | Top Trading Pairs by Volume per Asset Class — Coinbase | Mid | |
| Checkout Funnel Conversion | Checkout Funnel Conversion | Medium | |
| Second-Highest Order Amount | Second-Highest Order Amount | Easy | |
| Find Duplicate Email Registrations | Find Duplicate Email Registrations | Easy | |
| Orphaned Orders — Anti-Join | Orphaned Orders — Anti-Join | Easy | |
| Order Value Buckets | Order Value Buckets | Easy | |
| Running Total of Daily Signups | Running Total of Daily Signups | Easy | |
| 3-Day Rolling Average of Page Views | 3-Day Rolling Average of Page Views | Mid | |
| Latest Reading per Device — Deduplication | Latest Reading per Device — Deduplication | Mid | |
| Month-over-Month Revenue Growth | Month-over-Month Revenue Growth | Mid | |
| Category Revenue Share | Category Revenue Share | Mid | |
| First and Last Marketing Touch per User | First and Last Marketing Touch per User | Mid | |
| Average Days Between Orders | Average Days Between Orders | Mid | |
| Top Spender per Category (with Ties) | Top Spender per Category (with Ties) | Mid | |
| Median API Latency per Endpoint | Median API Latency per Endpoint | Hard | |
| Missing Order Dates — Recursive Date Spine | Missing Order Dates — Recursive Date Spine | Hard | |
| Each Order's Percentage of That Day's Total | Each Order's Percentage of That Day's Total | Medium | |
| Longest Daily Login Streak | Longest Daily Login Streak | Hard | |
| Plans with at Least 3 Active Subscribers | Plans with at Least 3 Active Subscribers | Easy | |
| Net Revenue with NULL Discounts | Net Revenue with NULL Discounts | Easy | |
| Combine Two Event Sources | Combine Two Event Sources | Easy | |
| Favorite Category per User | Favorite Category per User | Medium | |
| Users Active on Both Platforms | Users Active on Both Platforms | Medium | |
| Sessionize Click Events | Sessionize Click Events | Hard | |
| Customers Who Bought Every Featured Product | Customers Who Bought Every Featured Product | Hard | |
| Detect Overlapping Room Bookings | Detect Overlapping Room Bookings | Hard | |
| Monthly Cohort Week-1 Retention | Monthly Cohort Week-1 Retention | Hard | |
| Query SCD2 Customer Revenue as-of Date | Query SCD2 Customer Revenue as-of Date | Mid |