Question: I need the code for these sql queries please For each department that has one or more majors with a GPA under 1.0, print the
I need the code for these sql queries please

For each department that has one or more majors with a GPA under 1.0, print the name of the department and the average GPA of its majors. select m.dname, avg(s.gpa) from student s join major m using(sid) join (select distinct maj.dname from major maj join student stu using(sid) where stu.gpa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
