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

From an employees table with employee_id, department_id, and salary, write a query using a window function that shows each employee alongside the average salary in their department.

Type your answer
0of ~135 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.