Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hey, I know these look pretty straight forward but I just want to make sure. I am using MySQL. Thank you so much. Questions: Q.1)

image text in transcribed

Hey, I know these look pretty straight forward but I just want to make sure. I am using MySQL. Thank you so much.

Questions: Q.1) (15 points) Write an INSERT statement that adds this row to the Categories table: category name: Brass Code the INSERT statement so MySQL automatically generates the category id column. Q.2) (15 points) Write an INSERT statement that adds this row to the Products table: product id: The next automatically generated ID category id: Use the category id value of the record added in Q1 product code: 8tz 580 product name: Getzen 580 Capri Series Bb Cornet description: Long description to come list price: 1499.99 discount percent: 0 date added: Do not hard code the date and time; use a function that will insert the date and time at the moment when the record is added. Use a column list for this statement. Q.3) (15 points) Write an UPDATE statement that modifie the product you added in Question 2 above. This statement s change the discount percent column from 0% to 35%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions