Write an UPDATE statement that modifies the row you just added to the Categories table. This statement should change the product_name column to “Woodwinds,” and it should use the category_id column to identify the row.

Using the My Guitar Shop database you installed in Module 1, develop the following queries.
To test whether a table has been modified correctly as you do these exercises, you can write and run an appropriate SELECT statement.
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. Execute the query and take a screenshot of the query and the results.
Write an UPDATE statement that modifies the row you just added to the Categories table. This statement should change the product_name column to “Woodwinds,” and it should use the category_id column to identify the row. Execute the query and take a screenshot of the query and the results.
Write a DELETE statement that deletes the row you added to the Categories table in exercise 1. This statement should use the category_id column to identify the row. Execute the query and take a screenshot of the query and the results.

Last Completed Projects

topic title academic level Writer delivered