Question: CourseId CourseCode CourseName Capacity InstructorId 8 8 2 9 ENGL 8 5 1 English Literature 1 0 0 1 6 2 2 9 HIST 3
CourseId CourseCode CourseName Capacity InstructorId
ENGL English Literature
HIST European History
HIST American History
BIOL Genetics
BIOL Animal Behavior
Instructor
InstructorId InstructorName Rank Department
Noa Chow Assistant Professor English
Bob Gray Professor Biology
Gil Chen Professor History
An arrow points from the Course table's InstructorId column to the Instructor table's primary key column.Note: Both tables may not be necessary to complete this level.Complete the following correlated subquery to find courses with a capacity less than the instructor's average course capacity. The query should return the rows containing European History and Genetics.
Type your code here
SELECT
FROM Course C
WHERE Capacity
;SELECT
FROM Course
WHERE InstructorId
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
