What structured query language statement scripts are needed


Assignment: Creating a Database

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:

o 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?

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

Use MySQL and IP2 as reference which us attached below.

The project deliverables are as follows:

1. Data Manipulation Tasks

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

2. Report List

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

3. SQL (4 to 5 pages)

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

b. Include the database manipulation scripts (DML) that will be used to INSERT, DELETE, and UPDATE data in the proposed database system.

c. Include the SELECT, CROSSTAB, and AGGREGATE FUNCTION statements that will be used to read data from the proposed database system.

d. Provide your analysis as to how this part of the project fulfills the mission and 1 or more goals of the case study organization.

e. Provide the following attachments (in addition to embedding in document):

i. DDL.sql (including CREATE and INSERT statements so that they execute in the correct order [top-down])
ii. DML.sql (including DELETE and UPDATE statements so that they can be executed in any order as selected)
iii. REPORT.sql (including SELECT, CROSSTAB, AGGREGATE FUNCTION statements so that they can be executed in any order as selected)

Format your assignment according to the following formatting requirements:

i) The answer should be typed, using Times New Roman font (size 12), double spaced, with one-inch margins on all sides.

ii) The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

iii) Also include a reference page. The Citations and references must follow APA format. The reference page is not included in the required page length.

Attachment:- Database-System-Development-and-Implementation-Plan.rar

Request for Solution File

Ask an Expert for Answer!!
PL-SQL Programming: What structured query language statement scripts are needed
Reference No:- TGS03047179

Expected delivery within 24 Hours