Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
Get to know tables
OVER()
Computations with OVER()
Aggregate functions with OVER()
OVER() and WHERE
Summary
15. Exercise 1

Instruction

Okay, exercise number 1, the easier one!

Exercise

For each employee from department with id 1, 3 or 5, show their first name, last name, years_worked and the average number of years_worked in those departments.