Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3: (8 Marks) Given the following relations schemas: Drivers (Did, Dname, rating, age), Buses(Bid, Btype, Color), Reserves (Did Bid, Day) a-Replace the question mark

image text in transcribed

Question 3: (8 Marks) Given the following relations schemas: Drivers (Did, Dname, rating, age), Buses(Bid, Btype, Color), Reserves (Did Bid, Day) a-Replace the question mark with its requested answer English meaning SQL RA IIDname (Drivers * Reserves) 1 ? ? Find the name of Drivers who have reserved a red and a blue bus 2 ? ? 3 ? ? Select D.rating From Drivers D Where Avg(D.age) (select min (avg(D1.age)) from Drivers Di group by D1.rating) Find the buses that were driven by more than 10 drivers

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

Students also viewed these Databases questions