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.

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?

Review these examples to help you with this assignment.

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.
    • 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.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

To complete this assignment, you will need the attached files and the the Small Merchant Guide to Safe Payments documentation (click link to download) from

To complete this assignment, you will need the attached files and the the Small Merchant Guide to Safe Payments documentation (click link to download) from the Payment Card Industry Data Security Standards (PCI DSS) organization. Please read the instructions carefully and ask questions if anything is unclear.  You must use the attached template to

In preparation for a meeting with upper-level management, you decide to conduct research on the role of statistical forecasting in decision analysis. Write

In preparation for a meeting with upper-level management, you decide to conduct research on the role of statistical forecasting in decision analysis. Write a paper of 5-7 pages (excluding the title and reference pages) discussing the importance of accreditation and credentialing, strategies for quality improvement, and the role of statistics and