Get in touch with us
Send us an e-mail
Question
Write SQL DML statements that will modify data from within a database.
Using the Northwind database, write a SQL DML statement that will modify the data. Base it on the following requirements:
1. Using the Northwind database, write a script to insert the following data:
o 1 new Category
o Category Name = Fast Food
o Category Description = Quick and Easy Meals
o Provide a SELECT statement to show that the data was inserted.
2. Add the following products for your new Fast-Food category.
o Product Name = French Fries
o Supplier Name = Ma Maison
o Category Name = Fast Food
o QuantityPerUnit = 20 Sticks
o UnitPrice = 4.99
o UnitsInStock = 10
o UnitsOnOrder = 25
o ReorderLevel = 10
o Disabled = 0
o Product Name = Hamburger
o Supplier Name = Grandma Kelly's Homestead
o Category Name = Fast Food
o QuantityPerUnit = 1 Patty
o Unit Price 6.99
o UnitsInStock = 0
o UnitsOnOrder = 50
o ReorderLevel = 5
o Disabled = 0
o Provide a SELECT statement to show that the data was inserted.
3. In an attempt to liquidate some products, provide a script to set all products in the Confections category that have more than 50 units in stock to a price of $10, and disable them.
o 2 records should be affected.
4. Change the discount in the Order Details table on all orders of products of an ordered quantity of more than 50 to that of the largest discount ever given on any product.
o 159 records should be affected
5. You have decided against the new Fast-Food category. Provide a SQL statement to delete the Fast-Food category as well as any products assigned to that category.
Summary
The question belongs to Computer Science and it discusses about writing SQL DML statement that can modify data in the tables.
Total Word Count 397
I had no clue about how to write a qualitative research paper on Faulkner and so I approached TheReliableTutor.com. I was also not sure whether they could help me or not but to my surprise they started asking the right kind of questions to me. When I clarified them with my professor, she was impressed and told me that I understood the concept of a research paper. The rest of it was a walk in the park. With my professor’s inputs they provided an excellent research paper and help me get an A
The budget friendly yet high quality of online math tutoring that I received from HwA has helped me improve my grades by almost double! The online math tutoring sessions give me the requisite confidence about the subject that subsequently helps me to better write my math assignments and math homework and ultimately improves my grade.
My concepts regarding database management was not clear. For that reason writing the appropriate queries was a big challenge for me. Then while I was seeking for help online, I came across this wonderful website. Everything changed ever since and my grades also improved immensely.
I was confused with an assignment involving need-based and behavior-based employee motivation strategies when I came to pursue help from HwA. The organizational behavior assignment help experts are friendly here and they helped me with the solution and I got excellent grades.
I would like to thank TheReliableTutor.com and its team for the wonderful service. You guys have produced what I exactly asked for and were so efficient with deadlines. I would definitely recommend this service.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.