Professional Documents
Culture Documents
SQL 4
SQL 4
Implement
SQL commands on the student table and find the min, max, sum and average marks.
Output:
+------------+
| min(marks) |
+------------+
| 50 |
+------------+
Output:
+------------+
| max(marks) |
+------------+
| 80 |
+------------+
Output:
+------------+
| sum(marks) |
+------------+
| 260 |
+------------+
Output:
+---------+
| average |
+---------+
| 65.00 |
+---------+