9/10/24, 3:52 Final paper Advanced Data Management -
PM D326
Sheryl Potter
Advanced Data Management - D326
Performance Assessment
DATE: April 8, 2024
Business Report
A.
This business report will show which film categories are most rented and
earn the most. This knowledge will be useful because it will help to know
which categories could be increased for customers inclined to rent
specific categories more often and give them a variety of their sought-after
categories. This in turn will benefit the business with more profit.
A1.
The following fields will be used in the detailed report:
- category_id
- film_genre
- film_id
- customer_id
- rental_id
- amount
The following fields will be used in the summary report:
-name
-amount
A2.
The types of data fields used for the report are:
about:bl 1/
, 9/10/24, 3:52 Final paper Advanced Data Management -
PM D326
- category_id INT –This column holds individual category IDs from the
category table so they can be counted and stored in the detailed
table.
- name (as film_genre) VARCHAR(25) –This column has the name of each of
the categories as a string to use in the detailed table and the summary table.
- film_id INT –This column holds the individual film IDs from the
film_category table to use in the detailed table to join tables together.
- customer_id INT –This column holds the customer IDs of the customers who
order rentals to be able to track payments. It is found in the rental_table and
payment table and will be used in the detailed table.
- rental_id INT –This column holds individual rental IDs from the rental table
to join tables and which will be used in the detailed table.
- amount NUMERIC (5,2) –This column holds the monetary amount, shown in
numeric, that a customer pays for rentals and is found in the payment table
and will be used in the detailed and summary tables.
A3.
For the detailed table and summary report, data will be provided from the
category, film, and payment tables.
A4.
One field in the detailed table section that will require a custom
transformation with a user-defined function is below. It should be
transformed to be more readable and understandable not only in the detailed
table but also in the summary table.
Change name column in the category table to film_genre.
--Custom transformation
SELECT name
AS “film_genre”
FROM category;
A5.
The detailed table section will show what each category is making from
payments from the rentals, how many of each category are being rented,
about:bl 2/
PM D326
Sheryl Potter
Advanced Data Management - D326
Performance Assessment
DATE: April 8, 2024
Business Report
A.
This business report will show which film categories are most rented and
earn the most. This knowledge will be useful because it will help to know
which categories could be increased for customers inclined to rent
specific categories more often and give them a variety of their sought-after
categories. This in turn will benefit the business with more profit.
A1.
The following fields will be used in the detailed report:
- category_id
- film_genre
- film_id
- customer_id
- rental_id
- amount
The following fields will be used in the summary report:
-name
-amount
A2.
The types of data fields used for the report are:
about:bl 1/
, 9/10/24, 3:52 Final paper Advanced Data Management -
PM D326
- category_id INT –This column holds individual category IDs from the
category table so they can be counted and stored in the detailed
table.
- name (as film_genre) VARCHAR(25) –This column has the name of each of
the categories as a string to use in the detailed table and the summary table.
- film_id INT –This column holds the individual film IDs from the
film_category table to use in the detailed table to join tables together.
- customer_id INT –This column holds the customer IDs of the customers who
order rentals to be able to track payments. It is found in the rental_table and
payment table and will be used in the detailed table.
- rental_id INT –This column holds individual rental IDs from the rental table
to join tables and which will be used in the detailed table.
- amount NUMERIC (5,2) –This column holds the monetary amount, shown in
numeric, that a customer pays for rentals and is found in the payment table
and will be used in the detailed and summary tables.
A3.
For the detailed table and summary report, data will be provided from the
category, film, and payment tables.
A4.
One field in the detailed table section that will require a custom
transformation with a user-defined function is below. It should be
transformed to be more readable and understandable not only in the detailed
table but also in the summary table.
Change name column in the category table to film_genre.
--Custom transformation
SELECT name
AS “film_genre”
FROM category;
A5.
The detailed table section will show what each category is making from
payments from the rentals, how many of each category are being rented,
about:bl 2/