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

Within the Discussion Board area, write 300-500 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and

Within the Discussion Board area, write 300-500 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Standardization can help promote quality patient care and reduce costs for hospitals. There are many areas containing different people, practices,

The Patient Protection and Affordable Care Act (PPACA) requires that U.S. citizens and legal residents obtain qualifying health coverage. Write a report of

The Patient Protection and Affordable Care Act (PPACA) requires that U.S. citizens and legal residents obtain qualifying health coverage. Write a report of 5–7 pages that explores the individual mandate section of this health reform law and how current legislation impacts this. Complete the following: Explain the individual mandate included in

The United States created Medicaid—a publicly funded healthcare program—to assist people in obtaining healthcare services. Write a paper of 5–7 pages that

The United States created Medicaid—a publicly funded healthcare program—to assist people in obtaining healthcare services. Write a paper of 5–7 pages that explores Medicaid and the Children’s Health Insurance Program (CHIP) and that addresses the following: What legislation introduced Medicaid, and what are the funding sources for the program? What are

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Complete the following for this assignment: Select 1 health issue—such as diabetes, cancer, aging, chronic diseases, or obesity—and describe how current health policy (federal