Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CourseId CourseCode CourseName Capacity InstructorId 1 2 1 0 BUS 6 1 Business Analytics 5 0 2 7 5 1 1 HIST 3 1 American
CourseId CourseCode CourseName Capacity InstructorId
BUS Business Analytics
HIST American History
MATH Linear Algebra
BUS Financial Management
MATH Calculus
Instructor
InstructorId InstructorName Rank Department
Eli Ball Assistant Professor History
Kai Rios Associate Professor Business
Ken Rice Associate Professor Math
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 each instructor's course with the lowest capacity. The query should return the rows containing Business Analytics, American History, and Linear Algebra.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started