Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Workshop - Week 8 MySQL Practical Exercise Exercise 1 This exercise is similar to week 5 . Students at this stage should be illustrated how
Workshop Week MySQL Practical Exercise
Exercise
This exercise is similar to week Students at this stage should be illustrated how to create tables, alter tables, and write complex SQL queries.
Note: Use SQL commands to create the database, tables, records, and Queries.
Create the database sbrcommands and the following tables sailors, boats, and reserves which are reproduced as follows:
sailorssid: VARCHAR PK sname: VARCHAR rating:
SMALLINT, age: DOUBLE
boatsbid: VARCHAR PK bname: VARCHAR colour:
VARCHAR
reservessid: VARCHAR FK bid: VARCHAR FK day: DATE
tablesidsname,rating,age
tableDustin,Brutus,Lubber,Andy,Rusty,Horatio,Zorba,Horatio,Art,Bob,
Sailors
tablesidbid,Day
table
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started