PracHub
QuestionsLearningGuidesInterview Prep

Quick Overview

This question evaluates practical SQL skills in user retention analysis, specifically the ability to build a monthly cohort retention table from raw activity logs. It tests date truncation, window-based grouping, and aggregation logic commonly required in data science and analytics roles. The question targets applied SQL proficiency and product analytics thinking under real-world schema constraints.

  • medium
  • Amazon
  • Data Manipulation (SQL/Python)
  • Data Scientist

Monthly Cohort Retention

Company: Amazon

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Technical Screen

Quick Answer: This question evaluates practical SQL skills in user retention analysis, specifically the ability to build a monthly cohort retention table from raw activity logs. It tests date truncation, window-based grouping, and aggregation logic commonly required in data science and analytics roles. The question targets applied SQL proficiency and product analytics thinking under real-world schema constraints.

Last updated: Jun 30, 2026
Loading…
PracHub

Master your tech interviews with 9,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Related Coding Questions

  • Compute a Rolling Seven-Day Revenue Sum with Missing Dates - Amazon (medium)
  • Find recommended friend pairs by shared songs - Amazon (medium)
  • Find recommended friend pairs by shared listening - Amazon (easy)
  • Write SQL window functions for D7 retention - Amazon (medium)