| Monthly Cohort Retention & A/B Experiment Lift SQLCTEsA/B TestingCohort Analysis | SQL & Analytics | Medium | StripeAirbnbDoorDash | — |
| Top-3 Highest Grossing Products per Category (With Ties) SQLWindow FunctionsDENSE_RANKAggregation | SQL & Analytics | Easy | AmazonInstacartWalmart | — |
| Longest Consecutive Active-Day Streak (Gaps & Islands) SQLGaps and IslandsWindow FunctionsDate Arithmetic | SQL & Analytics | Medium | MetaDuolingoNetflix | — |
| Customers Who Never Placed a Completed Order SQLLEFT JOINAnti-JoinFiltering | SQL & Analytics | Easy | AmazonDoorDashMeta | — |
| Find Duplicate User Emails (Case-Insensitive & Trimmed) SQLGROUP BYHAVINGString Normalization | SQL & Analytics | Easy | GoogleLinkedInAmazon | — |
| Customers Not Referred by ID 2 (SQL Three-Valued NULL Trap) SQLNULL HandlingThree-Valued LogicFiltering | SQL & Analytics | Easy | MetaAmazonStripe | — |
| Second Highest Distinct Salary (Return NULL If None) SQLSubqueriesDISTINCTNULL Handling | SQL & Analytics | Easy | AmazonGoogleApple | — |
| Signed-Up Users With Zero Events in Target Month SQLLEFT JOINDate FilteringRetention | SQL & Analytics | Easy | MetaLinkedInUber | — |
| Latest Login Timestamp per User in 2024 SQLDate RangesMAXGROUP BY | SQL & Analytics | Easy | MetaSpotifyNetflix | — |
| Deduplicate Webhook Events Keeping Earliest Arrival SQLDeduplicationROW_NUMBERWindow Functions | SQL & Analytics | Easy | UberStripeAirbnb | — |
| Daily Active Users (DAU) & Events per Active User SQLDAUCOUNT DISTINCTGROUP BY | SQL & Analytics | Easy | MetaGoogleNetflix | — |
| Average Order Value (AOV) & Gross Revenue by Country SQLGROUP BYAggregationRounding | SQL & Analytics | Easy | StripeAmazonAirbnb | — |
| Repeat Buyers Purchasing on At Least 2 Distinct Days SQLHAVINGCOUNT DISTINCTRetention | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Courses With At Least 5 Distinct Enrolled Students SQLGROUP BYHAVINGCOUNT DISTINCT | SQL & Analytics | Easy | LinkedInGoogleAmazon | — |
| Merchants Exceeding $1,000 Net Revenue (Sales Minus Refunds) SQLCASE WHENNet RevenueHAVING | SQL & Analytics | Easy | StripeAmazonShopify | — |
| Warehouse Inventory Value & Out-of-Stock SKU Count SQLCOALESCEConditional AggregationNULL Handling | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Revenue & Order Share Percentage by Day of Week SQLDate FunctionsEXTRACTWindow Functions | SQL & Analytics | Easy | UberDoorDashAirbnb | — |
| Distinct Subjects & Departments Taught per Instructor SQLCOUNT DISTINCTGROUP BYMulti-Metric Aggregation | SQL & Analytics | Easy | LinkedInGoogleMicrosoft | — |
| Employees Earning Strictly More Than Their Direct Manager SQLSelf-JoinINNER JOINFiltering | SQL & Analytics | Easy | AmazonMetaMicrosoft | — |
| Department Headcount & Avg Salary (Including Empty Departments) SQLLEFT JOINCOUNT(col) vs COUNT(*)COALESCE | SQL & Analytics | Easy | GoogleLinkedInApple | — |
| Catalog Products Never Sold in Any Order SQLAnti-JoinNOT EXISTSLEFT JOIN | SQL & Analytics | Easy | AmazonShopifyInstacart | — |
| Days Warmer Than the Immediately Previous Calendar Day SQLSelf-JoinDate ArithmeticCalendar Gaps | SQL & Analytics | Easy | GoogleUberAirbnb | — |
| Count Mutual Connections Between User Pairs (Self-Join) SQLSelf-JoinSocial GraphPair Ordering | SQL & Analytics | Easy | MetaLinkedInUber | — |
| Driver Trip Offer Acceptance Rate (Including Zero-Offer Drivers) SQLLEFT JOINConditional AggregationDivision by Zero | SQL & Analytics | Easy | UberDoorDashLyft | — |
| Paid Orders Missing Shipment or Shipped More Than 3 Days Late SQLLEFT JOINDate DifferenceCASE WHEN | SQL & Analytics | Easy | AmazonDoorDashShopify | — |
| Category Revenue & Store Share % (Including Zero-Sale Categories) SQLLEFT JOINWindow FunctionsCOALESCE | SQL & Analytics | Easy | StripeAmazonInstacart | — |
| Ad Campaign Click-Through Rate (CTR %) With Zero-Impression Guard SQLCTRConditional AggregationDivision by Zero | SQL & Analytics | Easy | MetaGoogleTikTok | — |
| A/B Experiment Conversion Rate per Assigned User SQLA/B TestingLEFT JOINCOUNT DISTINCT | SQL & Analytics | Easy | MetaAirbnbNetflix | — |
| Monthly Payment Approval Rate & Approved Volume Pivot SQLCASE WHEN PivotMonthly AggregationPayments KPIs | SQL & Analytics | Easy | StripePayPalRobinhood | — |
| User Email Confirmation Rate (0.00 If No Confirmation Requested) SQLLEFT JOINAVG CASE WHENNULL Handling | SQL & Analytics | Easy | MetaLinkedInDropbox | — |
| Immediate vs. Scheduled Delivery On-Time Rate by City SQLConditional AggregationDate ComparisonLogistics KPIs | SQL & Analytics | Easy | DoorDashUberInstacart | — |
| Customer Spend Tier Segmentation (VIP / Regular / Low) SQLCASE WHENCTECustomer Segmentation | SQL & Analytics | Easy | AmazonStripeAirbnb | — |
| Support Ticket SLA Breach Rate by Priority Level SQLCASE WHENSLA MetricsConditional Aggregation | SQL & Analytics | Easy | StripeAmazonDoorDash | — |
| Monthly Active Users Split Into Free vs. Paid & Paid Share % SQLJOINCOUNT DISTINCTFreemium KPIs | SQL & Analytics | Easy | SpotifyNetflixDropbox | — |
| Monthly Revenue & Month-over-Month (MoM) Growth % SQLLAGWindow FunctionsMoM Growth | SQL & Analytics | Easy | StripeAirbnbAmazon | — |
| First Completed Order Date & Initial Basket Value per Customer SQLROW_NUMBERWindow FunctionsCustomer Acquisition | SQL & Analytics | Easy | AmazonInstacartDoorDash | — |
| Average Days From Signup to First Purchase by Acquisition Channel SQLDate ArithmeticMINJOIN | SQL & Analytics | Easy | MetaUberAirbnb | — |
| Active Subscriptions & MRR on a Snapshot Date (NULL End-Date Trap) SQLDate RangesNULL HandlingSaaS MRR | SQL & Analytics | Easy | NetflixSpotifyStripe | — |
| Weekend vs. Weekday Order Volume & Average Basket Size SQLEXTRACTCASE WHENGROUP BY | SQL & Analytics | Easy | UberDoorDashAirbnb | — |
| Same-Day Signup-to-Purchase Conversion Rate by Signup Date SQLLEFT JOINDate MatchingCOUNT DISTINCT | SQL & Analytics | Easy | MetaStripeRobinhood | — |
| Q1 Buyers Who Churned in April (Zero Orders in Next 30 Days) SQLCohort ChurnCTEAnti-Join | SQL & Analytics | Easy | NetflixSpotifyAmazon | — |
| Highest Paid Employee(s) in Each Department (With Ties) SQLWindow FunctionsRANKDENSE_RANK | SQL & Analytics | Easy | AmazonGoogleMeta | — |
| Cumulative Running Total of Daily Revenue SQLWindow FunctionsRunning TotalSUM OVER | SQL & Analytics | Easy | StripeAmazonRobinhood | — |
| 3-Day Rolling Average of Daily Signups (Window Frame) SQLWindow FunctionsMoving AverageROWS BETWEEN | SQL & Analytics | Easy | MetaUberNetflix | — |
| Third Completed Transaction per User (Uber Interview Classic) SQLROW_NUMBERWindow FunctionsFiltering | SQL & Analytics | Easy | UberStripeAmazon | — |
| Employees Earning Strictly Above Their Department Average SQLWindow FunctionsAVG OVERPartitioning | SQL & Analytics | Easy | GoogleLinkedInApple | — |
| Days Elapsed Since Each Customer's Previous Order (LAG) SQLLAGWindow FunctionsDate Arithmetic | SQL & Analytics | Easy | InstacartDoorDashAmazon | — |
| Most Streamed Artist(s) per Country (Aggregate + RANK) SQLAggregationRANKWindow Functions | SQL & Analytics | Easy | SpotifyNetflixApple | — |
| ML RFM User Feature Rollup Table (Recency, Frequency, Monetary) SQLFeature EngineeringRFMLEFT JOIN | SQL & Analytics | Easy | MetaUberStripe | — |
| Fraud Dataset Class Imbalance Summary per Country (Excluding Unlabeled) SQLML Dataset AuditClass ImbalanceNULL Handling | SQL & Analytics | Easy | StripeRobinhoodAmazon | — |
| ML Feature Table Missingness (NULL Rate %) Audit Across Columns SQLUNION ALLData QualityNULL Handling | SQL & Analytics | Easy | GoogleAirbnbMeta | — |
| Flag Category-Level Z-Score Outlier Transactions (> Mean + 2 SD) SQLWindow FunctionsSTDDEV_POPAnomaly Detection | SQL & Analytics | Easy | StripeRobinhoodUber | — |
| Binary Classifier Confusion Matrix, Precision & Recall per Model Version SQLML EvaluationConfusion MatrixConditional Aggregation | SQL & Analytics | Easy | OpenAIMetaGoogle | — |