SQL Practice Logo

SQLPractice Online

Level 1 - BeginnerDebugging Questions

Query Review: Employee Lookup

Interviewer prompt: The query below fails during a live interview. Your task: 1) Identify the root cause 2) Provide corrected SQL SELECT id name, department FROM employees WHERE department = 'Sales';

Schema Context

employees(id, name, department, salary)