About the “Departmental Employee Tenure & Resignation Rates” SQL Problem
Business Scenario
People analytics benchmarks department retention by measuring employee turnover rate (resigned staff divided by total headcount ever hired in that department).
Expected Output & Criteria
Departmental turnover rates and resignation counts.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE workforce_records (
emp_id INT PRIMARY KEY,
department VARCHAR(50) NOT NULL,
status VARCHAR(20) NOT NULL
);Target SQL Clauses & Operators
GROUP BYCOUNTROUND
Want more Business Analytics practice?
Explore the full syllabus of 14 exercises, syntax guides, and interview pitfalls.