Amazon·Data Scientist·Technical Phone Screen
Jul 2026
Amazon Data Scientist technical screen, one meaty SQL problem that covered window functions, retention logic, and revenue ranking all in one shot. The question was well-constructed and felt like something you'd actually write on the job, which made it slightly more stressful than a pure puzzle.
- Given a game_sessions table and an ad_impressions table, write a SQL query that returns one row per user with their first play date, a 7-day retention flag, total ad revenue in the first 7 days from their first session, their country, and a dense rank of users within each country by that revenue figure.
“This one had a lot of moving parts and I almost forgot to handle the case where a user has zero ad impressions.” The rest of the author's notes on Data Scientist interview at Amazon, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post