The aggregate functions are: sum, avg, min, max and count (and group_concat in MySQL).
Write Queries which will retrieve below views. Notice the column headers
+----------+-----------------+ | city | Sum of Salaries | +----------+-----------------+ | TURKU | 127 | | HELSINKI | 75 | | TAMPERE | 34 | +----------+-----------------+
+----------+------------------+ | city | Average Salaries | +----------+------------------+ | TURKU | 42.33 | | HELSINKI | 37.50 | | TAMPERE | 34.00 | +----------+------------------+
+------------+----------------+ | id_project | SUM(work_hour) | +------------+----------------+ | 101 | 1300 | | 102 | 700 | | 103 | 200 | | 104 | 900 | +------------+----------------+
+------------+----------------+ | id_project | SUM(work_hour) | +------------+----------------+ | 101 | 1300 | | 102 | 700 | | 104 | 900 | +------------+----------------+
+----------+----------------------+ | city | person | +----------+----------------------+ | HELSINKI | River,Simpson | | TAMPERE | Daniels | | TURKU | Morrison,Smith,Jones | +----------+----------------------+
+----------+---------------------+ | place | project | +----------+---------------------+ | NULL | Statistics | | HELSINKI | Billing,Store | | KUOPIO | Customers | | TURKU | Bookkeeping,Selling | +----------+---------------------+
+----------+----------------------------------------------------+ | author | books | +----------+----------------------------------------------------+ | Albrecht | Accounting Concepts | | Manz | Leadership Wisdom of Jesus | | Marakas | Management Info Systems,Management Info Systems | | Miller | Business Law Today | | Speight | Shaping Space,Art Since 1940 | | Stice | Intermediate Accounting | | Stokstad | Make it in Clay,Art History Vol II & ala carte lab | | Upton | Everything You Ever Wanted to Know | | Vilppu | Photography | | Williams | Management | | Zelanshi | Drawing Manual Vilppu,TBA | +----------+----------------------------------------------------+
+------------+---------------------+ | postalcode | amount of borrowers | +------------+---------------------+ | 90100 | 4 | | 90101 | 4 | | 90102 | 4 | | 90103 | 4 | | 90104 | 4 | +------------+---------------------+