Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:00, laylay120
The most efficient way to establish top best possible economize position is to measure
Answers: 1
image
Computers and Technology, 22.06.2019 14:40, davidb1113
You begin your first day of responsibilities by examining the recent is security breach at gearup to get ideas for safeguards you will take. at gearup, criminals accessed the company's improperly-secured wireless system and stole customers' credit card information as well as employee social security numbers. what kind of computer crime did gearup face?
Answers: 3
image
Computers and Technology, 23.06.2019 00:10, witerose701
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
image
Computers and Technology, 23.06.2019 08:30, Calirose
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
Do you know the correct answer?
1. write an insert statement that adds this row to the categories table: categoryname: brass code...

Questions in other subjects: