SELECT employee_id,
       salary / NULLIF(hours_worked, 0) AS average_salary
FROM employees;