Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Instructions Try to answer all the questions using what you have learned in class When writing a query, write the query in a way that

image text in transcribedimage text in transcribed

Instructions Try to answer all the questions using what you have learned in class When writing a query, write the query in a way that it would work over all possible database instances and not just for the given example instance! Consider the following University database schema and example instance: stuld S1001 S1002 S1005 S1010 S1013 S1015 S1020 Student lastName firstName Smith Tom Chin Ann Lee Perry Burns Edward McCarthy Owen Jones Mary Rivera Jane major History Math 3 History Art Math Math CS credits 90 6 3 63 0 42 15 Faculty name facid F101 F105 F110 F115 F221 Adams Tanaka Byrne Smith Smith department Art CS Math History CS rank Professor Instructor Assistant Associate Professor Class classNumber ART103A CS425A CS525A HST205A MTH101B MTH103C faced F101 F105 F105 F115 F110 F110 schedule MWF9 TuthF10 MThF12 MWF11 MTu Th9 MWF11 room H221 M110 M110 H221 H225 H225 Enroll grade A D F stuld S1001 S1001 S1002 S1002 S1002 S1010 S1010 S1020 S1020 classNumber ART103A HST205A ART103A CS425A MTH103C ART103A MTH103C CS425A MTH101B B B A Question 1.1.20 (3 Points) Find the number of students for each class. Question 1.1.21 (5 Points) Find the names of all the students, whose grade in CS425A is lower than the grade in CS525A. Question 1.1.22 (5 Points) List all the students who never got a grade above B

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_2

Step: 3

blur-text-image_3

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

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

Students explore these related Databases questions