Question: Section 2: Structured Query Language (15 Marks) Given a boat reservation database schema as defined below. Captain (CID, CaptName, CaptRating, Captage) Boat (BoatID, BoatName, BoatColor)

 Section 2: Structured Query Language (15 Marks) Given a boat reservation

Section 2: Structured Query Language (15 Marks) Given a boat reservation database schema as defined below. Captain (CID, CaptName, CaptRating, Captage) Boat (BoatID, BoatName, BoatColor) Reservation (CID, BoatID, Date, Purpose) 1. 2. 3. Find the names and ages of all captains. [2 marks] Find all captains with ratings above 7. [2 marks] Find the names of Captains who have reserved boat number 110. [3 marks] Calculate the total of reservations of Red boats. [3 marks] Find the names of Captains who have reserved at least one boat. [3 marks] Find the ages of Captains whose name begins with a B. [2 marks] 4. 5. 6

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 Databases Questions!