Skip to content
SQLSimplified
mediumemployeeswindowntile

Employee Salary Quartiles

Problem

Return first_name, salary, and a salary_quartile (NTILE(4)) for each employee, ordered by salary descending.

Try It

Employees & Departments

Loading database engine...

Hint

Solution

Search

Search lessons, functions, examples, and practice problems