Data Engineer SQL Questions


QuestionDescription
Difficulty  
Completed
Select Rows With Maximum RevenueUsing 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 BirthsDetermine 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 WeekCreate 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 ProductUsing 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_ideasy
Running total amountWrite a query that returns each row with a running total of amount per salesperson ordered by sale_date.easy
Cars with Above Average Engine SizeUsing 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 RobberUsing 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 DayUsing 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 AnswersCreate 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 SuccessionGiven 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 FebruaryWrite 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 1Select 20 nba platerseasy
Identifying Empty DepartmentsGiven 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 ClubsGiven 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 YearWrite 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 PricesUsing 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 StudentUsing 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 OccurrencesUsing 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 GenreGiven 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 FlightsCalculate 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 — SQLSQL challenge placeholder for Data Engineer Interview. Replace with a real Trino-compatible question against seeded tables.medium
Analytics Engineer Interview — SQLSQL challenge placeholder for Analytics Engineer Interview. Replace with a real Trino-compatible question against seeded tables.medium
AI Engineer Interview — SQLSQL challenge placeholder for AI Engineer Interview. Replace with a real Trino-compatible question against seeded tables.medium
Hierarchical JSON Aggregation with Conditional FlatteningA 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 DifferenceCalculate 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 TypeUsing 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 ScoresGiven 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 SequenceGiven a table quiz_orders(order_id, customer_id, order_date) where order_id should be consecutive daily numbers, list any missing order_idsmedium
Calculate Monthly Average Product RatingUsing 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_idmedium
Analyze Engine Efficiency by Fuel TypeUsing 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 correctlymedium
Identifying students with the best gradeUsing 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 SummaryGiven 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 customersReturn the orders with missing customersmedium
Customer OrdersList all customers who have not placed any orders.medium
Calculate 3-Day Rolling Average of Posts per UserUsing 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 datemedium
Identify Products Sold Exclusively in January 2024Using 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 tiesReturn 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 productReturn 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 ValuesGiven 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 MonthUsing 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 DaysUsing 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 ThreadsUsing 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 WinnerFrom 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 CountryGiven 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 RangesGiven a table bookings (room_id, start_date, end_date), list all pairs of bookings that overlap for the same room.hard
SQL Question 2Question Discription testinghard
Year-on-Year Growth Rate CalculationUsing 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 UserUsing 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 McKieGet 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 descSelect all nba players with college as Connecticut and ordered by player_name deschard
Identify Department for ReductionSelect 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 MatchUsing 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 ImpactAnalyze 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 PairsUsing 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 groupingAssume 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 WineCreate 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 WarehouseGiven 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 questionAny description for the questionhard
FizzbuzzFizzbuzz
Two SumTwo Sum
LRU CacheLRU Cache
Edit Distance Between Two StringsEdit Distance Between Two StringsHard
Heap-Based Merge: K Sorted Partitions with Memory BudgetHeap-Based Merge: K Sorted Partitions with Memory BudgetMid-Hard
Sliding Window: Top-K Frequent Keys in Event StreamSliding Window: Top-K Frequent Keys in Event StreamMid
Graph DP: DAG Table Dependencies & Minimal Recompute SetGraph DP: DAG Table Dependencies & Minimal Recompute SetHard
Generate Valid Parenthesis CombinationsGenerate Valid Parenthesis CombinationsMedium
Word Break — Can a String Be Segmented?Word Break — Can a String Be Segmented?Medium
Kth Largest Element in a Data StreamKth Largest Element in a Data StreamMedium
Count Set Bits Across a RangeCount Set Bits Across a RangeEasy
Caesar Cipher Encode/DecodeCaesar Cipher Encode/DecodeEasy
Longest Palindromic SubstringLongest Palindromic SubstringMedium
GCD and LCM of a List of NumbersGCD and LCM of a List of NumbersEasy
Word Wrap Text to a Fixed Line WidthWord Wrap Text to a Fixed Line WidthEasy
Line Diff — Added and Removed Between Two Text VersionsLine Diff — Added and Removed Between Two Text VersionsMedium
Min-Stack with O(1) Minimum RetrievalMin-Stack with O(1) Minimum RetrievalMedium
Peak Concurrent Jobs — Sweep LinePeak Concurrent Jobs — Sweep LineMid-Hard
Rotate a Matrix 90 Degrees ClockwiseRotate a Matrix 90 Degrees ClockwiseEasy
Find Insertion Point in a Sorted ListFind Insertion Point in a Sorted ListEasy
Longest Substring Without Repeating CharactersLongest Substring Without Repeating CharactersMedium
Evaluate Reverse Polish NotationEvaluate Reverse Polish NotationMedium
Longest Common Subsequence LengthLongest Common Subsequence LengthMedium
Minimum Coins to Make ChangeMinimum Coins to Make ChangeMedium
Shortest Path in an Unweighted GridShortest Path in an Unweighted GridMedium
Count Connected Components in a Friendship GraphCount Connected Components in a Friendship GraphMedium
Autocomplete Prefix MatchesAutocomplete Prefix MatchesEasy
Parking Lot Slot Allocation SimulationParking Lot Slot Allocation SimulationMedium
Simple Arithmetic Expression EvaluatorSimple Arithmetic Expression EvaluatorMedium
Group AnagramsGroup AnagramsMedium
Conway's Game of Life — One StepConway's Game of Life — One StepMedium
Currency Rounding — Distribute a Total Evenly to the CentCurrency Rounding — Distribute a Total Evenly to the CentEasy
Detect a Cycle in an Undirected GraphDetect a Cycle in an Undirected GraphMedium
Round-Robin CPU Scheduler SimulationRound-Robin CPU Scheduler SimulationHard
Run-Length EncodingRun-Length EncodingEasy
Parse and Reformat a Basic INI ConfigParse and Reformat a Basic INI ConfigMedium
Search Ranking Feature: Host Response Probability — AirbnbSearch Ranking Feature: Host Response Probability — Airbnb
Token-Efficient Prompt Caching System — OpenAIToken-Efficient Prompt Caching System — OpenAIMid
Real-Time Feature Computation: Sliding Window User Stats — SpotifyReal-Time Feature Computation: Sliding Window User Stats — SpotifyMid
Embedding Batch Deduplication System — MetaEmbedding Batch Deduplication System — MetaMid
Query Performance Anomaly Detector — DatabricksQuery Performance Anomaly Detector — DatabricksMid
YouTube Event Sessionization — GoogleYouTube Event Sessionization — GoogleMid
Sensor Stream Processor: Windowing & Deduplication — TeslaSensor Stream Processor: Windowing & Deduplication — TeslaMid
Sliding Window: Anomaly Detector for Suspicious Transactions — CoinbaseSliding Window: Anomaly Detector for Suspicious Transactions — CoinbaseMid
Merchant Fraud Signal Computation — StripeMerchant Fraud Signal Computation — StripeMid
Sliding Window: Trending Titles Detector — NetflixSliding Window: Trending Titles Detector — Netflix
Real-Time Demand Anomaly Detection — UberReal-Time Demand Anomaly Detection — UberMid
Sieve of EratosthenesSieve of EratosthenesEasy
Log Level Counter with Malformed LinesLog Level Counter with Malformed LinesEasy
Revenue Rollup by RegionRevenue Rollup by RegionEasy
Moving Average over a Metric StreamMoving Average over a Metric StreamEasy
Exponential Backoff ScheduleExponential Backoff ScheduleEasy
Email Address NormalizationEmail Address NormalizationEasy
Deduplicate Lines Preserving OrderDeduplicate Lines Preserving OrderEasy
Top-N Words Excluding StopwordsTop-N Words Excluding StopwordsEasy
Merge Overlapping Maintenance WindowsMerge Overlapping Maintenance WindowsMid
Config Bracket ValidatorConfig Bracket ValidatorMid
Backfill Date-Range ChunkingBackfill Date-Range ChunkingMid
Detect Late Events in a StreamDetect Late Events in a StreamMid
Table Schema DiffTable Schema DiffMid
Flatten Nested JSON to Dotted PathsFlatten Nested JSON to Dotted PathsMid
Sliding-Window Rate LimiterSliding-Window Rate LimiterMid
Median Latency Across Two Sorted ShardsMedian Latency Across Two Sorted ShardsHard
Parse Duration StringsParse Duration StringsEasy
Sum a Named CSV ColumnSum a Named CSV ColumnEasy
Validate IPv4 AddressesValidate IPv4 AddressesMedium
Sort Semantic VersionsSort Semantic VersionsMedium
Parse a Query StringParse a Query StringMedium
Fixed-Width Histogram BinsFixed-Width Histogram BinsMedium
Sessionize a Click StreamSessionize a Click StreamMedium
Find Coverage Gaps in a Time WindowFind Coverage Gaps in a Time WindowMedium
Render a Placeholder TemplateRender a Placeholder TemplateMedium
Spiral Traversal of a MatrixSpiral Traversal of a MatrixMedium
Match Times Against a Cron SpecMatch Times Against a Cron SpecHard
Task Dependency Order — Topological SortTask Dependency Order — Topological SortHard
LRU Cache SimulationLRU Cache SimulationHard
P95 Latency per EndpointP95 Latency per EndpointHard
Monthly Active UsersMonthly Active Users
Second Highest Salary Per DepartmentSecond Highest Salary Per Department
Order Value QuartilesOrder Value QuartilesMedium
Detecting Binge-Watch Streaks — NetflixDetecting Binge-Watch Streaks — Netflix
Categories With More Than Two Distinct SuppliersCategories With More Than Two Distinct SuppliersEasy
Top 3 Most-Watched Genres per Country — NetflixTop 3 Most-Watched Genres per Country — Netflix
Highest-paying customer per monthHighest-paying customer per month
Friend Recommendations by Mutual FriendsFriend Recommendations by Mutual Friends
Host Superhost Qualification Logic — AirbnbHost Superhost Qualification Logic — Airbnb
Guest Booking Funnel Conversion by Market — AirbnbGuest Booking Funnel Conversion by Market — Airbnb
Detecting Model Regression: Eval Score Anomalies — OpenAIDetecting Model Regression: Eval Score Anomalies — OpenAIHard
A/B Testing Impact: Analyzing Cohort Retention — SpotifyA/B Testing Impact: Analyzing Cohort Retention — SpotifyHard
Ticket Status Pivot by MonthTicket Status Pivot by MonthMid
Driver Availability Windows: Long Online Sessions — UberDriver Availability Windows: Long Online Sessions — UberHard
Daily Payment Success Rate by Merchant — StripeDaily Payment Success Rate by Merchant — StripeMid
Revenue Recognition by Payout Cycle — StripeRevenue Recognition by Payout Cycle — StripeHard
Feature Store Latency Degradation Detection — MetaFeature Store Latency Degradation Detection — MetaHard
Top 3 Event Types by Query Volume per Workspace — DatabricksTop 3 Event Types by Query Volume per Workspace — DatabricksMid
Detecting Job-Run Failure Streaks — DatabricksDetecting Job-Run Failure Streaks — DatabricksHard
YouTube Engagement Cohort Analysis — GoogleYouTube Engagement Cohort Analysis — GoogleMid
Multi-Touch Ads Attribution Modeling — GoogleMulti-Touch Ads Attribution Modeling — GoogleHard
Fleet Daily Telemetry & Intervention Analytics — TeslaFleet Daily Telemetry & Intervention Analytics — TeslaMid
Autopilot Engagement Gaps & Session Continuity — TeslaAutopilot Engagement Gaps & Session Continuity — TeslaHard
Detecting Suspicious Trading Patterns via Wallet Velocity — CoinbaseDetecting Suspicious Trading Patterns via Wallet Velocity — CoinbaseHard
Month-over-Month Cohort Revenue with SCD2Month-over-Month Cohort Revenue with SCD2Hard
Products Sold in Both Q1 and Q2Products Sold in Both Q1 and Q2Medium
Customers Who Never Made a ReturnCustomers Who Never Made a ReturnEasy
Comma-Separated Tags per ProductComma-Separated Tags per ProductEasy
Detect Price Increases Between Consecutive UpdatesDetect Price Increases Between Consecutive UpdatesMedium
Split Employees into Salary QuartilesSplit Employees into Salary QuartilesMedium
Employees Who Have Never Been a ManagerEmployees Who Have Never Been a ManagerEasy
Customers With No Orders Since a Cutoff DateCustomers With No Orders Since a Cutoff DateMedium
Total Component Count in a Multi-Level Bill of MaterialsTotal Component Count in a Multi-Level Bill of MaterialsHard
Employee Reporting Chain DepthEmployee Reporting Chain DepthMedium
Find Missing SKU Numbers in a SequenceFind Missing SKU Numbers in a SequenceHard
Count Direct Reports per ManagerCount Direct Reports per ManagerEasy
Split Comma-Separated Skill Tags into RowsSplit Comma-Separated Skill Tags into RowsHard
Email Domain Signup CountsEmail Domain Signup CountsEasy
Group Consecutive Same-Price Days into RangesGroup Consecutive Same-Price Days into RangesHard
Products Frequently Bought TogetherProducts Frequently Bought TogetherMedium
Percentage of Total Revenue by ProductPercentage of Total Revenue by ProductMedium
Subscription Renewals Falling on a WeekendSubscription Renewals Falling on a WeekendEasy
Corporate vs. Free Email Domain SignupsCorporate vs. Free Email Domain SignupsEasy
Weekly New vs. Returning Customer OrdersWeekly New vs. Returning Customer OrdersHard
Days Since Previous Purchase per CustomerDays Since Previous Purchase per CustomerMedium
Order Status Counts per DayOrder Status Counts per DayMedium
Daily Leaderboard Rank ChangesDaily Leaderboard Rank ChangesHard
Percentile Rank of Each Student's ScorePercentile Rank of Each Student's ScoreMedium
Revenue by Product Category and RegionRevenue by Product Category and RegionMedium
Second Most Recent Login per UserSecond Most Recent Login per UserMedium
Employees With No Completed TrainingEmployees With No Completed TrainingEasy
Feature Flag Rollout Status SummaryFeature Flag Rollout Status SummaryMedium
First Purchase Channel per CustomerFirst Purchase Channel per CustomerMedium
Employees Above Department AverageEmployees Above Department AverageMedium
Employees Earning More Than Their ManagerEmployees Earning More Than Their ManagerMedium
Customer Lifetime Value TieringCustomer Lifetime Value TieringEasy
API Usage Analytics: Token Cost Attribution — OpenAIAPI Usage Analytics: Token Cost Attribution — OpenAIMid
Discovering Weekly Listener Engagement — SpotifyDiscovering Weekly Listener Engagement — SpotifyMid
Top Cities by Surge-Adjusted Demand — UberTop Cities by Surge-Adjusted Demand — UberMid
Feed Ranking Model Performance: Engagement & Calibration — MetaFeed Ranking Model Performance: Engagement & Calibration — MetaMid
Top Trading Pairs by Volume per Asset Class — CoinbaseTop Trading Pairs by Volume per Asset Class — CoinbaseMid
Checkout Funnel ConversionCheckout Funnel ConversionMedium
Second-Highest Order AmountSecond-Highest Order AmountEasy
Find Duplicate Email RegistrationsFind Duplicate Email RegistrationsEasy
Orphaned Orders — Anti-JoinOrphaned Orders — Anti-JoinEasy
Order Value BucketsOrder Value BucketsEasy
Running Total of Daily SignupsRunning Total of Daily SignupsEasy
3-Day Rolling Average of Page Views3-Day Rolling Average of Page ViewsMid
Latest Reading per Device — DeduplicationLatest Reading per Device — DeduplicationMid
Month-over-Month Revenue GrowthMonth-over-Month Revenue GrowthMid
Category Revenue ShareCategory Revenue ShareMid
First and Last Marketing Touch per UserFirst and Last Marketing Touch per UserMid
Average Days Between OrdersAverage Days Between OrdersMid
Top Spender per Category (with Ties)Top Spender per Category (with Ties)Mid
Median API Latency per EndpointMedian API Latency per EndpointHard
Missing Order Dates — Recursive Date SpineMissing Order Dates — Recursive Date SpineHard
Each Order's Percentage of That Day's TotalEach Order's Percentage of That Day's TotalMedium
Longest Daily Login StreakLongest Daily Login StreakHard
Plans with at Least 3 Active SubscribersPlans with at Least 3 Active SubscribersEasy
Net Revenue with NULL DiscountsNet Revenue with NULL DiscountsEasy
Combine Two Event SourcesCombine Two Event SourcesEasy
Favorite Category per UserFavorite Category per UserMedium
Users Active on Both PlatformsUsers Active on Both PlatformsMedium
Sessionize Click EventsSessionize Click EventsHard
Customers Who Bought Every Featured ProductCustomers Who Bought Every Featured ProductHard
Detect Overlapping Room BookingsDetect Overlapping Room BookingsHard
Monthly Cohort Week-1 RetentionMonthly Cohort Week-1 RetentionHard
Query SCD2 Customer Revenue as-of DateQuery SCD2 Customer Revenue as-of DateMid