Question: Write an INSERT statement that adds this row to the products table, use column list. product_id: The next automatically generated ID category_ID: 6 Product_code: dgx_640

Write an INSERT statement that adds this row to the products table, use column list.

product_id: The next automatically generated ID

category_ID: 6

Product_code: dgx_640

product_name: Yamaha DGX 640 88-Key Digital Piano

description: Long Description to come.

list_price: 799.00

discount_percent: 0

date_added: Today's date/time.

I keep getting an error saying I can't update child/foreign key. what is the correct way to write this?

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!