Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Students ( Roll _ number, Name, Date _ of _ birth ) Courses ( Course number, Course _ name, Instructor ) Grades ( Roll _

Students(Roll_number, Name, Date_of_birth)
Courses (Course number, Course_name, Instructor)
Grades (Roll_number, Course_number, Grade)
select distinct Name
from Students, Courses, Grades
where Students. Roll_number = Grades. Roll_number
and Courses.Instructor = "Drake"
and Courses. Course_number = Grades. Course_number
and Grades.grade ="A"
Which of the following sets is computed/returned by the above query?
List of courses where each student received an A
Names of students who have got an A grade in at least one of the courses taught by Drake
Names of students who have got an A grade in all courses
Names of students who have got an A grade in all courses taught by Drake
image text in transcribed

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago