Schema: CREATE TABLE student (dept_code VARCHAR, stu_gpa INTEGER)
Question: Find the max, average, and minimum gpa of all students in each department.
SQL: SELECT MAX(stu_gpa), AVG(stu_gpa), MIN(stu_gpa), dept_code FROM student GROUP BY dept_code