Reference no: EM13949169
1. Create a view named CustomerAddresses that shows the shipping and billing addresses for each customer in the MyGuitarShop database. This view should return these columns from the Customers table: CustomerID, EmailAddress, LastName and FirstName. This view should return these columns from the Addresses table: BillLine1, BillLine2, BillCity, BillState, BillZip, ShipLine1, ShipLine2, ShipCity, ShipState, and ShipZip.
2. Write a SELECT statement that returns these columns from the CustomerAddresses view that you created in exercise 1: CustomerID, LastName, FirstName, BillLine1.
3. Write an UPDATE statement that updates the CustomerAddresses view you created in exercise 1 so it sets the first line of the shipping address to "1990 Westwood Blvd." for the customer with an ID of 8.
4. Create a view named OrderItemProducts that returns columns from the Orders, OrderItems, and Products tables.
This view should return these columns from the Orders table: OrderID, OrderDate, TaxAmount, and ShipDate.
This view should return these columns from the OrderItems table: ItemPrice, DiscountAmount, FinalPrice (the discount amount subtracted from the item price), Quantity, and ItemTotal (the calculated total for the item).
This view should return the ProductName column from the Products table.
5. Create a view named ProductSummary that uses the view you created in exercise 4. This view should return some summary information about each product.
Each row should include these columns: ProductName, OrderCount (the number of times the product has been ordered), and OrderTotal (the total sales for the product).
6. Write a SELECT statement that uses the view that you created in exercise 5 to get total sales for the five best selling products.
Attachment:- Guitar Database.docx
Examine the many different types of attacks
: There are many different types of infrastructure attacks. These include, but are not limited to, malware, insertion, buffer overflow, etc. Examine the many different types of attacks and select the two that you believe are the easiest for succes..
|
How would you describe the type of location sites
: Technical: After developing your regression model, check to make sure the technical assumptions are satisfied. Comment on any points that would concern you based on the diagnostics.
|
How employees would interact with these devices
: Speculate how employees would interact with these devices and the type of emotional reaction that customers and employees will experience while placing a beverage, appetizer or entrée order
|
Explain what the circuit does
: 1. The input to the circuit of Figure P12.76 is a square wave having a period of 2 s, maximum value of 5 V, and minimum value of 0 V. Assume all flip-flops are initially in the RESET state.
|
Create a view named customeraddresses
: Write a SELECT statement that returns these columns from the CustomerAddresses view that you created in exercise 1: CustomerID, LastName, FirstName, BillLine1.
|
What is the irr of this project
: What is the NPV of this project, if the discount rate is 8.6%? Should the firm accept this project? What is the IRR of this project? Should the firm accept this project?
|
Dbms for the most effective result
: Different components and models that may be implemented by a DBMS for the most effective result at a particular company. In this assignment
|
Problem regarding the odd-parity system
: 1. Assume that a parity bit is transmitted for every nibble of data. Design two logic circuits that check a nibble of data and its parity bit to determine if there may have been a data transmission error. Assume first an even-parity system, then a..
|
The real value of higher education
: Instructions: Read the article "The Real Value of Higher Education" by former UNC System President , Tom Ross, (handout) and compose a summary/ response essay that refers to, summarizes, analyzes, and responds to this article, which we have rea..
|