Question: need code in live sql Create the following tables, Sailors, Reserves and Boats. Include Query and the output of Query (HRows updated) as part of

need code in live sql  need code in live sql Create the following tables, Sailors, Reserves
and Boats. Include Query and the output of Query (HRows updated) as

Create the following tables, Sailors, Reserves and Boats. Include Query and the output of Query (HRows updated) as part of your solution. Primary Keys; Sailors (Sid) Reserves (Sid and Bid) Boats (Bid) Sailors Reserves Using the Sailors, Boats and Reserves tables, Issue the following queries ( 100 Points): 1. Find the name and the age of sailors who have reserved a Red boat. 2. Change the Reserve day of boat with Red color to 3/2/23 if reserve day is 10/10/96. 3. Select all sailors (namc, rating and age) if their matings are greater than or equal to the average of ratings and their ages are greater than or equal to the minimum of all ages. 4. Change the Sailor name to your last name if be has reserved boat 103 and the reserve day is 11/1296. 5. Change the color of boat to White if the reserve day of boat is 3/2/23, 6. Inerease the age of the sailor by 12 if the sailors' reserve day of sailor is 3/2/23 and sailors' ratings is less than or equal to minimum of ratings. 7. Increase the rating of yourself as sailor by 5 if you have reserved a boat for other day than 3/2/23 8. Inerease the age of sailor by 8 if the sailor has reserved a Green boat and the reserve day is 11/12/96. 9. Display all three tables

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!