Free SQL Tutorial Page 19
Free SQL Tutorial Page 19
+-------------+
| SUM(salary) |
+-------------+
| 1997000 |
+-------------+
+------------+
| SUM(perks) |
+------------+
| 390000 |
+------------+
+-------------------------+
| sum(salary)+ sum(perks) |
+-------------------------+
| 2387000 |
+-------------------------+
This displays the average age of employees in Bignet and the following displays the average salary.
+-------------+
| avg(salary) |
+-------------+
| 95095.2381 |
+-------------+
3. Calculate the sum of salaries and the average age of employees who hold "Programmer"
title.
4. What do you understand from the following statement?
6. from employee_data;