• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

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

Document preview thumbnail
Preview 2 out of 7 pages

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

Content preview

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

Document information

Uploaded on
September 10, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
2
Followers
0
Items
964
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions