subject

1. write an insert statement that adds this row to the categories table: categoryname: brass code the insert statement so sql server automatically generates the value for the categoryid column.2. write an update statement that modifies the row you just added to the categories table. this statement should change the productname column to �woodwinds�, and it should use the categoryid column to identify the row.3. write a delete statement that deletes the row you added to the categories table in exercise 1. this statement should use the categoryid column to identify the row. 4. write an insert statement that adds this row to the products table: productid: the next automatically generated id categoryid: 4 productcode: dgx_640 productname: yamaha dgx 640 88-key digital piano description: long description to come. listprice: 799.99 discountpercent: 0 dateadded: today�s date/time. use a column list for this statement.5. write an update statement that modifies the product you added in exercise4. this statement should change the discountpercent column from 0% to 35%.6. write a delete statement that deletes the row in the categories table that has an id of 4. when you execute this statement, it will produce an error since the category has related rows in the products table. to fix that, precede the delete statement with another delete statement that deletes all products in this category.7. write an insert statement that adds this row to the customers table: emailaddress: rick@raven. com password: (empty string) firstname: rick lastname: raven use a column list for this statement.8. write an update statement that modifies the customers table. change the password column to �secret� for the customer with an email address of rick@raven. com.9. write an update statement that modifies the customers table. change the password column to �reset� for every customer in the table.10. open the script named createmyguitarshop. sql that�s in the exercise starts directory. then, run this script. that should restore the data that�s in the database.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 21.06.2019 22:00
Determine which of the four levels of measurement (nominal, ordinal, interval, ratio) is most appropriate for the data below. internet speed levels of "fast comma " "medium comma " and "slow" choose the correct answer below. a. the ordinal level of measurement is most appropriate because the data can be ordered comma but differences left parenthesis obtained by subtraction right parenthesis cannot be found or are meaningless. nothing nothing nothing nothing nothing b. the interval level of measurement is most appropriate because the data can be ordered comma differences left parenthesis obtained by subtraction right parenthesis can be found and are meaningful comma and there is no natural starting point. c. the nominal level of measurement is most appropriate because the data cannot be ordered. nothing d. the ratio level of measurement is most appropriate because the data can be ordered comma differences left parenthesis obtained by subtraction right parenthesis can be found and are meaningful comma and there is a natural starting point.
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
You know the right answer?
1. write an insert statement that adds this row to the categories table: categoryname: brass code...
Questions
question
Mathematics, 29.06.2019 02:30
question
History, 29.06.2019 02:30
question
Physics, 29.06.2019 02:30
question
Computers and Technology, 29.06.2019 02:30
Questions on the website: 13722367