Learning Goal: I’m working on a mysql question and need an explanation and answe

Learning Goal: I’m working on a mysql question and need an explanation and answer to help me learn.
Q1 Add a new row in the ORDERS table with the following data: Order# is 2222, customer# is 2121, and the order date is January 22, 2016. Describe the error raised and explain what causes this error. Write another query with a change that allows it to succeed. You may use any valid data.
Q2 Create a script using substitutions variables that allow the user to set a new retail price for a book based on ISBN. NOTE: Important information regarding substitution variables in this week’s supplemental materials.Run your script for the following values ISBN = 1059831198 and retail = $99.99
Q3 Write a query to create a new price list for books written by the same author. Allow the user to enter only the first 4 letters of the last name and the first letter of the first name, they should be able to get the right author. Ask the user to input a percentage and calculate the new discounted price based on the current retail price minus this percentage. Round the result to cents (two decimals). For your example query, assume the user wants to discount the price of James Patterson books by 20%.

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.