Write a script to create a new product category

Assignment Help Programming Languages
Reference no: EM13842130

1: Write a script to create a new Product Category called ‘Shoes'. This category belongs under the category Clothing. Only ParentProductCategoryID and Name are required. The system will assign values for the other fields. Use a subquery to find the value for ParentProductCategoryID.

2: Provide a SELECT statement to show that the new Product Category Shoes was inserted.

3: Add the following two products in the data base for your new Shoes category. Insert other appropriate column values as necessary. Use a subquery to find the ProductCategoryID for Shoes.

4: Provide a SELECT statement to show only the newly inserted products using a subquery to find the ProductCategoryID for Shoes.

Name

Product Category

Product Number

Standard Cost

List Price

Sell Start Date

Men's Black Size 10

Shoes

SH-1000

30.99

55.99

Today's date

Woman's White Size 38

Shoes

SH-2000

28.99

50.99

Today's date

5: Utilizing a subquery, provide a script to display all product fields for products in the Mountain Frames Product category that are silver. Look at the List Price.

6: Utilizing a subquery, increase the list price by 5% for products in the Mountain Frames Product category that are silver. Rerun Query #5 and verify that the price has changed.

7: Utilizing a subquery, change the unit price discount in the Sales Order Details table on all orders of products of an ordered quantity of more than 15 to that of the largest discount ever given on any product.

8: You have decided against the new Fast-Food category. Provide SQL scripts to delete the Fast-Food category as well as any products assigned to that category. Use a subquery to delete the products

Reference no: EM13842130

Questions Cloud

Collaborated to write uniform criminal code : A group of attorneys, judges and law professionals have collaborated to write a uniform criminal code. The code would create uniformity in criminal law across the United States, defining what constitutes a misdemeanour, what constitutes a felony, how..
Bill desires rate of return on this investment : Bill Martin made an investment several years ago, and he now has an option as to how it will take the return on that investment. Option 1 is to receive an immediate cash payment of $100,000. Option 2 is to receive a payment of $10,000 per year for th..
Report on the usefulness of birth order as a construct : Create a 700-word report on the usefulness of birth order as a construct. You may review this week's readings, utilize the birth order resources, or other experts in this area
What documentation issued by a bank decreases the balance : How is a business's certified check treated in doing the business's bank reconciliation? What documentation issued by a bank decreases the balance in a company's checking account balance at the bank?
Write a script to create a new product category : Write a script to create a new Product Category called ‘Shoes'. This category belongs under the category Clothing. Only ParentProductCategoryID and Name are required.
Estimate the internal rate of return on investment : Scuba Supply Company is considering making an investment of $1,000,000 and estimates that the result of the investment will yield the following returns over the next five years: Year 1 ($500,000) - a loss Year 2 $200,000 Year 3 $610,000 Year 4 $740,0..
Defending the efficacy treatment approaches : Select two of the treatment approaches discussed in the modules and develop a position paper defending the efficacy of these two approaches for out-patient therapy
Who is interested in being involved in the pursuit of health : Why policy competence is important to anyone who is interested in being involved in the pursuit of health?
Organizational development practitioner be aware : When an action researcher is dealing with an organization that is under organized, what are key steps in the change process? Explain. What problems associated with planned change should the Organizational Development practitioner be aware of? How mig..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to prompt user to enter a hex digit character

Write a program which will prompt user to enter ahex digit character ("0" ..."9" or "A" .."F") ,display it on next line in decimal, and ask user if he or she wants to do it again.

  Write a program to find minimum and maximum values

Write a program to find minimum and maximum values for third-degree polynomials of the form:

  In what stage of the programming process are flowcharts used

In what stage of the programming process are flowcharts and pseudocode used

  Executes the program to find the representation

Executes the program to find the representation a 19,2014 md 50000 for all of the p values that the function allows. Show the results in a table.

  Write program to will read unspecified number of positive

Write a program which will read the unspecified number of positive numbers from keyboard and determine the sum and average of these numbers.

  Produce the necessary instructions to swap the values

Assume variables x and y are stored in memory locations 100 and 101. Using machine language instructions from section 5.2.4, produce the necessary instructions to swap the values of x and y.

  Provide a complete program that performs substitution cipher

Provide a complete program that performs a simple substitution cipher. The program should take plain text and a shift value and produce the encrypted text. Then it should take encrypted text and a shift value and produce the plain text once again.

  Example on message-passing style

Write a procedure that produces independent first-in-first-out queue objects, using a message-passing style.

  Formulate a linear programming model for given problem

A company produces two products that are processed on two assembly lines. Assembly line 1 has 100 available hours, and assembly 2 has 42 available hours. Formulate a linear programming model for this problem

  Write the program to model simple calculator

Write the program to model the simple calculator. Each data line must consist of next operation to be performed from list below and right operand.

  Create class to include fields for length-width in inches

Create a class name Tape that includes fields for length and width in inches and properties for each field. Also include a ToString () method that returns a string constructed from the return value

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd