Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CHALLENGE ACTIVITY 3 . 4 . 1 : Complex queries. 5 4 4 1 1 8 . 3 2 8 5 5 9 0 .

CHALLENGE ACTIVITY
3.4.1: Complex queries.
544118.3285590.qx3zqy7
The table diagram below describes a university's database.The university wants to know the course names of the sections taught by instructors with rank Associate Professor whose salaries are greater than the average salary of instructors with rank Professor.The query below answers the university's question. Fill in the missing keywords.(A)(B)(C)
Ex: Keyword
SELECT C.Name
FROM Course C
INNER JOIN Section S ON C.CourseID = S.CourseID
INNER JOIN SectionInstructor SI ON S.SectionID = SI.SectionID
INNER JOIN Instructor I ON SI.InstructorID = I.InstructorID
WHERE I.AcademicRank = 'Associate Professor' AND I.Salary <
(SELECT ____(A)____
FROM ____(B)____
WHERE AcademicRank ='____(C)____');

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions