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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:50, cheyennecarrillo14
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
image
Computers and Technology, 23.06.2019 00:20, kathlynskare06
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
image
Computers and Technology, 23.06.2019 16:00, keyonaemanieevans
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
image
Computers and Technology, 24.06.2019 09:10, daedae11142
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
You know the right answer?
1. write an insert statement that adds this row to the categories table: categoryname: brass code...

Questions in other subjects:

Konu
Arts, 20.01.2021 18:50
Konu
Mathematics, 20.01.2021 18:50