0
17kviews
Write SQL queries for the given database.
| written 9.4 years ago by | • modified 3.9 years ago |
Write SQL queries for the given database.
Sailor (sid, sname, rating, age)
Boat (bid, bname, color)
Reserves (sid, bid, date)
i. Find the names of sailors who have reserved ‘red’ boat.
ii. Find the sailor (name) with highest rating.
iii. Find the average age of sailor.
iv. Find the age of youngest sailor for each rating level.
v. Add the new boat to database.
Assume any values for required attributes.
ADD COMMENT
EDIT
1 Answer

and 5 others joined a min ago.
and 3 others joined a min ago.