Skip to main content

Quiz Mode

Answer as you would in a real interview. Reveal the model answer when ready, then rate yourself.

SQL Mid Coding Very frequent

Write a query using window functions to rank employees by salary within each department.

Take your time. Explain your thinking, not just the conclusion.