Only this week, get the SQL Complete Track of 9 courses in a special prize of $330 $89!
What are vectors?
Vector operations
Indexing and filtering
Simple analysis


Nice job! Finding minimum and maximum salaries can be useful, but the company management is more likely to be interested in finding the average salary earned by its employees.

To calculate the average value of a collection of numbers invoke the mean() function. For example, we can calculate the average employee age using the following code:



The salaries are stored in the salaries vector. Determine the average salary earned by Versico employees.