Problem Description

Update Employees set salary to department average salary for employees who have salary NULL.

Input Format

SQL DML

Output Format

DML statement(s)

Sample Test Case

Input:
Employees
Output:
Rows updated

Constraints

Assume salary nullable

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next