Question: Q 4 : Aggregation ( 4 pt ) : Given the following relational schema ( attribute types are omitted for simplicity ) : Sailor (

Q4: Aggregation(4 pt): Given the following relational schema (attribute types
are omitted for simplicity):
Sailor(sid, sname, age, rating)
Reserve(sid, bid
Boat(bid, bname, color)
(a) Find the average age of the sailors (Hint: Use 'AVG' keyword)
(b) Find the sid of the sailor and the total number of boats reserved by them
(You should return a table has (sid, count))
Q 4 : Aggregation ( 4 pt ) : Given the following

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!