SQL Practice Logo

SQLPractice Online

Scenario SQL Question

Job Title Statistics

Build mastery in Aggregations with this scenario-based SQL challenge and live execution support.

Problem Statement

For every job title, return employee_count, min_salary, max_salary across employees in that job. INCLUDE jobs with zero employees (their counts should be 0 and salary columns NULL). Sort by employee_count descending, then job_title ascending.

Relevant Tables

jobsemployees

SQL Concepts Used in This Scenario

Strengthen your understanding with these targeted learning topics: