Question: database query the schema: student(sid, studentName, gpa) dept(deptName, numPhDs) prof(profName, deptName) course(cno, courseName, deptName) major(deptName, sid) section(deptName, cno, sectno, profName) enroll(sid, grade, deptName, cno, sectno)

database query

the schema:

student(sid, studentName, gpa)

dept(deptName, numPhDs)

prof(profName, deptName)

course(cno, courseName, deptName)

major(deptName, sid)

section(deptName, cno, sectno, profName)

enroll(sid, grade, deptName, cno, sectno)

Question:For each department that has four or more students as majors in that department, find the name of the department and the average GPA of its majors.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!