Question: Scenario: In a Students table containing information about students with columns CourseID, Grade, and StudentID, which SQL query would retrieve courses with an average grade
Scenario: In a Students table containing information about students with columns CourseID, Grade, and StudentID, which SQL query would retrieve courses with an average grade less than
Context:
Students Table Columns:
StudentID
CourseID
Grade
A
SELECT CourseID, AVGGrade as AvgGrade FROM Students GROUP BY CourseID HAVING AvgGrade ;
B
SELECT CourseID, AVG FROM Students GROUP BY StudentID HAVING AVGGrade;
C
SELECT FROM Students GROUP BY CourseID HAVING AVGGrade;
D
SELECT CourseID, Grade FROM Students HAVING AVGGrade;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
