Loading…
Select employee_id, first_name, last_name, and a CASE column showing 'Above Average' if salary > (SELECT AVG(salary) FROM employees), or 'Below Average' otherwise.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.