What is the name and the average gpa of department whose students have the highest average gpa?
CREATE TABLE department (
    dept_name VARCHAR,
    dept_code VARCHAR
)

CREATE TABLE student (
    stu_gpa INTEGER,
    dept_code VARCHAR
)
SELECT T2.dept_name, AVG(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY AVG(T1.stu_gpa) DESC LIMIT 1
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name and the average gpa of department whose students have the highest average gpa? ### Input: CREATE TABLE department (
    dept_name VARCHAR,
    dept_code VARCHAR
)

CREATE TABLE student (
    stu_gpa INTEGER,
    dept_code VARCHAR
) ### Response: SELECT T2.dept_name, AVG(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY AVG(T1.stu_gpa) DESC LIMIT 1