Coach note

Interviewers ask this kind of question to surface how you think, not what you remember. The strongest answers are specific, calmly told, and end on what changed.

SQL · Window functions

Given a table of user_activity with user_id, activity_date, and activity_type, write a query that returns users whose first three activities were all of type 'view' rather than 'purchase' or 'click'.

Type your answer
0of ~140 wordsAbout a minute spoken

Voice isn’t supported in this browser — type your answer in the box.

Create a free account to get more critiques.

Your answer
Your answer appears here as you speak.

Practice more

Thousands of questions, calibrated to your role — your progress saved across every session, with model answers and full breakdowns.