• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 7 páginas
Examen

D326 - TASK 1 DATA Analysis (Passed) Performance Assessment:Advanced Data Management (CSN1)

Document preview thumbnail
Vista previa 2 fuera de 7 páginas

D326 - TASK 1 DATA Analysis (Passed) Performance Assessment:Advanced Data Management (CSN1)

Vista previa del contenido

9/10/24, 3:55 D326 - TASK 1 DATA Analysis
PM (Passed)




A. Summarize one real-world written business report that can be created
from the DVD Dataset from the “Labs on Demand Assessment
Environment and DVD Database” attachment.

This business report aims to identify the most popular movie categories
among customers each month. It is purposed to provide insights into
customer preferences and trends allowing the business to optimize its
inventory and marketing strategies.


1. Identify the specific fields that will be included in the detailed table and
the summary table of the report.

Variable name Description Will Gging into a Which
detailed/summary database
table table the data
come from
Category_na Movie category Detailed and Summary Category
m e
Category_id Category ID Detailed Category
Film_id Film ID Detailed Film
Film_title Film title Detailed Film
Rental_id Rental ID Detailed Rental
Rental_date Date of rental Detailed Rental
Inventory_id Inventory ID Detailed Inventory
Customer_id Customer ID Detailed Customer
Rental_month Month of rental Summary Rental
date,
transformed
by Summary Rental
Rental_date
Rental_year Year of rental
date , Summary Rental
transformed
by
Rental_date
Number_rental Aggregate column,
count of rental_id


2. Describe the types of data fields used for the report.

The types of data fields used for the report include:

1. Category_name: VARCHAR(25), this field represents categorical data
stored as a string type, identifying the movie category.
2. Category_id: INTEGER, this field represents numerical data stored as a
unique integer type, identifying the category id that refers to the
category name.
3. Film_id: INTEGER, this field represents numerical data stored as a
unique integer type, identifying the film id that refers to the film
name.
4. Film_title: VARCHAR(255), this field represents textual data stored as a
string
type, containing the title of the movie.
5. Rental_id: INTEGER, this field represents numerical data stored as a
unique integer type, identifying the rental id that refers to the
rental record.
6. Rental_date: TIMESTAMP, this field represents date and time data
stored as a timestamp data type, indicating the date and time the
movie was rented.




about:blan 1/
k 7

, 9/10/24, 3:55 D326 - TASK 1 DATA Analysis
PM (Passed)




7. Inventory_id: INTEGER, this field represents numerical data stored as a
unique integer type, identifying the inventory id that refers to the film
id.
8. Customer_id: INTEGER, this field represents numerical data stored as a
unique integer type, identifying the customer who rented the movie.
9. Rental_month: INTEGER, this field represents the date, like the
rental_date but only with the month part, for aggregation by the
months.
10.Rental_year: INTEGER, this field represents the date, like the rental_date but
only with the year part, for aggregation by the years.
11.Number_rental: INTEGER, this field represents numerical data
stored as an integer type, indicating the count number of rentals
for each category in each month, for aggregation.


3. Identify at least two specific tables from the given dataset that will provide
the data necessary for the detailed table section and the summary table
section of the report.

In the detailed table, I would contain attributes including
‘Category_name’, ‘Category_id’, ‘Film_id’, ‘Film_title’, ‘Rental_id’,
‘Rental_date’, ‘Inventory_id’, and ‘Customer_id’.

In the summary table, I would contain attributes including
‘Category_name’, ‘Rental_month’, ‘Rental_year’, and ‘Number_rental’.

The data of those two tables will be drawn from the PostgreSQL database
table which are ‘Category’, ‘Film’, ‘Rental’, Inventory’, ‘Customer’, and
‘Rental’. ‘Category’ provides the data of ‘Category_name’ and
‘Category_id’. ‘Film’ provides the data of ‘Film_id’ and ‘Film_title’. ‘Rental’
provides the data of ‘Rental_id’, ‘Rental_date’, ‘Rental_month’,
‘Rental_year’ and ‘Number_rental’. ‘Inventory’ provides the data of
‘Inventory_id’. ‘Customer’ provides the data of ‘Customer_id’.


4. Identify at least one field in the detailed table section that will require a
custom transformation with a user-defined function and explain why it
should be transformed (e.g., you might translate a field with a value of N
to No and Y to Yes).

Two user-defined function RENTALMONTH and RENTALYEAR will be
defined, which extract the exact month and year from the ‘rental_date’ in
the ‘Rental’ table. It is necessary to be transformed because the data is
used for aggregating the number of rentals for each month of the year.


5. Explain the different business uses of the detailed table section and the
summary table section of the report.

The detailed table section provides a view of individual movie rentals. This
is valuable for business uses including inventory management, detailed
rental data can help business track inventory usage and optimize stock
levels.

The summary table section provides an overview of rental records
aggregated by category and month. This is useful for trend analysis; it
can identify trends and




about:blan 2/
k 7

Información del documento

Subido en
10 de septiembre de 2024
Número de páginas
7
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
2
Seguidores
0
Artículos
964
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes