Get to know tables
OVER()
Computations with OVER()
Aggregate functions with OVER()
OVER() and WHERE
Revision
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.

Console

Code editor

Result

TableConsole