Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Customer The table name should be CUSTOMERS ( plural ) . Each CustomerID should be a 3 - digit number. Names should be strings of
Customer
The table name should be CUSTOMERS plural
Each CustomerID should be a digit number.
Names should be strings of up to thirty characters.
The sample data should be:
Taylor Swift
your name
Order
The table name should be ORDERS plural
Each OrderID should be a digit number.
Product names should be strings of up to thirty characters.
The sample data should be:
MAY Jasmine Tea,
a date of your choicea product of your choice
What you submit are
The SQL script to i drop the two tables, ii create the two tables, iii insert the sample data, and iv show
the full contents of the two tables.
a The header of your script should be something like:
Your Name
IS HW
b Make sure to start your script file with DROP TABLE commands for the two tables in order to avoid
conflicts. Use the DROP TABLE commands in the following order.
i ORDERS
ii CUSTOMERS
c Save your SQL script as HWYourName.sql eg HWJohnDoe.sql
d Make sure that your SQL script runs without an error from the first line to the last one.
The Wordtext file to show the entire outputs of your SQL script.
a The header of your file should be something like:
Your Name
IS HW
b Name your file to HWYourName.docx eg HWJohnDoe.docx or HWYourName.txt eg
HWJohnDoe.txt
c The easiest is to clear the Script Output window first and then save the output of your script file after
running it
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