Manipulate the data in the solution

Assignment Help PL-SQL Programming
Reference no: EM132288463

Question:

The case study retail store has provided a list of reports and data manipulation tasks that are needed in the processing of orders for their customers.

Answer the following:

What structured query language (SQL) statement scripts are needed to create the database schema for the relational database system and manipulate the data in the solution that you are proposing to the company?

How does each of these scripts specifically support the goals and objectives of the company?

Examples are provided here to help with this assignment.

As indicated in Unit 1, it is assumed that Microsoft SQL Server Express Edition (with management tools) was chosen as the database platform. It can be downloaded for free at this Web site.

The project deliverables are as follows:

Data Manipulation Tasks

  • Insert 20 records into each table for testing purposes.
  • Delete an entire order by using the unique identifier for that order.
  • Update the price of a product by using the unique identifier for that product.
  • Add a minimum of 3 of your own data manipulation language (DML) scripts based on the needs and specifications of your retail store.

Report List

  • Total revenue (sales) per month, grouped by customer
  • Total revenue (sales) per month, grouped by product
  • Total count of products, grouped by category
  • Add minimum of 3 of your own report scripts based on the needs and specifications of your retail store (one must be a CROSSTAB)

SQL (4-5 pages)

Include the database definition language (DDL) scripts to CREATE to database schema as described in the entity-relationship (E-R) diagram (Unit 2).

  • Include the database manipulation scripts (DML) that will be used to INSERT, DELETE, and UPDATE data in the proposed database system.
  • Include the SELECT, CROSSTAB, and AGGREGATE FUNCTION statements that will be used to read data from the proposed database system.
  • Provide your analysis as to how this part of the project fulfills the mission and 1 or more goals of the case study organization.
  • Provide the following attachments (in addition to embedding in document): ?DDL.sql (including CREATE and INSERT statements so that they execute in the correct order [top-down])
  • DML.sql (including DELETE and UPDATE statements so that they can be executed in any order as selected)
  • REPORT.sql (including SELECT, CROSSTAB, AGGREGATE FUNCTION statements so that they can be executed in any order as selected)

Note: You will embed each script in the Word document and also provide it as an attachment.

All sources should be cited both in-text and in References using APA format.

Verified Expert

In this assignment, we have discussed the different concept of SQL server and designed the database on it and run all the queries to get the desire output.

Reference no: EM132288463

Questions Cloud

What are the implications of pushing : What are the implications of pushing the use of technology and DNA manipulation
Consider a disk with n cylinders numbered sequentially : Consider a disk with n cylinders numbered sequentially 0, 1, 2,...., n-1. The read/write head is currently on cylinder 800. The queue of requests to be serviced
What level of substance use disorder would you diagnose : What level of Substance Use Disorder (if any) would you diagnose Fran with and why? Which diagnostic criteria does she meet?
Track and sector that holds that block : Each surface has 128 tracks and 64 sectors (blocks) within each track. Sectors of the disk are numbered sequentially from 0 to n-1 starting with surface
Manipulate the data in the solution : Create the database schema for the relational database system and manipulate the data in the solution that you are proposing to the company
Shadow companies outside the united states : Additionally, some of these products, identical to the TransManuCo products, have entered the country from shadow companies outside the United States.
Describe the object without saying what it is : A 2-paragraph summary that describes how you recognize something with which you are familiar. Describe the object without saying what it is and how these.
What logical relationship holds : What logical relationship holds between these two propositions? Explain.
Appropriate places for all classes : Create the .h and .cpp files for one of the classes with the appropriate members (all being private), mutator functions, accessor functions, and constructors.

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Demonstrate use of sql to perform olap operations

DS 715 - Assignment - Demonstrate use of SQL to perform OLAP operations; Estimated time to complete: 40 min reading +45-50 min.

  Assignment related to products table in sql

Write a SELECT statement that returns these columns from the Products table: The ListPrice column, The DiscountPercent column

  Explain the advantage of using mysql transaction

Explain the advantage of using MySQL transaction and its integrity? Please give an example - describe and provide either PHP/MySQL coding evidence or the screenshot evidence of PHP/MySQL coding

  How do you insert a row in a table in sql

What is SQL? How do you create a table in SQL? How do you insert a row in a table in SQL? How do you get data from a table in SQL?

  Display account number and balance for all customers

This assessment item is designed to test your understanding of arrays/arraylists, objects, classes, methods, sorting and searching.

  Shows the shipping and billing addresses

Create a view named CustomerAddresses that shows the shipping and billing addresses for each customer in the MyGuitarShop database.

  Develop a pl-sql anonymous block that displays total sales

Develop a PL/SQL anonymous block that displays the total sales for a zip code for a specific zip code. You may use any of your zip codes you wish.

  Write sql statements for the ten queries

Write SQL statements for the ten queries - find the names of all Tracks that are more than 10 minutes (600,000 ms) long. Result: (name: varchar(255))

  Which of the sollowing is an accurate statement

Which of the subsequent is an accurate statement - When the LOWER function is used in a SELECT clause, it will automatically store the data in lower-case letters in the database table.

  Why a firewall cannot prevent sql injection attack

Why a Firewall cannot prevent SQL Injection attack? Why database monitor and audit are critical to ensure database security?

  Addressed using the perl scripting language

addressed using the Perl Scripting Language.

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