It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
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.