100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

WGU D191 VDM Task 1 – Automating Data Integration

Puntuación
-
Vendido
-
Páginas
17
Grado
A+
Subido en
28-01-2026
Escrito en
2025/2026

WGU D191 VDM Task 1 – Automating Data Integration

Institución
WGU D191 VDM
Grado
WGU D191 VDM

Vista previa del contenido

Advanced Data Management (D191) – Automating
Data Integration – Task 1

,SECTION A
In this business report, I will identify the top three most watched movies along with the revenue
generated by each of those movies. This could be useful to see the most popular movies, how
much revenue each one creates, and if you might want to increase the price based on supply
and demand. This could also tell you if it might be wise to increase your inventory of those
specific movies.

1. Describe the data used for the report.
A. The film id was counted based on the rental id to see how many times each movie
was rented. Then it was grouped by the film id and ordered by count descending.
Then the top three was chosen with the limit three. Then the sum of the payment
amount was found for each.
2. Identify two or more specific tables from the given dataset that will provide the data
necessary for the detailed and the summary sections of the report.
A. The tables that were used to generate this report was: rental, inventory, film and
payment.
3. Identify the specific fields that will be included in the detailed and the summary sections of
the report.
A. The data needed for this report was rental id, inventory id, film id, film title more for
visual, and payment amount. The film id was counted based on the rental id to see
how many times each movie was rented. Then it was grouped by the film id and
ordered by count descending. Then the top three was chosen with the limit three.
Then the sum of the payment amount was found for each.
4. Identify one field in the detailed section that will require a custom transformation and
explain why it should be transformed. For example, you might translate a field with a
value of ‘N’ to ‘No’ and ‘Y’ to ‘Yes’.
A. The transformed data was the payment amount of the summary table. It was
aggregated to find the total amount of revenue generated for each of the top three
movies. But did write a ‘SELECT’ statement that would pull the data and change the
‘amount’ column from a numeric to money using the CASE function for ease of
reading; to distinguish from all the generic numbers within the table.
B. In the detailed section, it is raw data and no reason to transform any data as of yet
in the process. The transformation would take place in the summary section.
5. Explain the different business uses of the detailed and the summary sections of the report.
A. This could be useful to see the most popular movies, how much revenue each one
creates, and if you might want to increase the price based on supply and demand.
This could also tell you if it might be wise to increase your inventory of those
specific movies. Help monitor consumer trends to assist in delivering similar movies
which will improve the customer experience. This could especially be useful to
increase traffic/business.
6. Explain how frequently your report should be refreshed to remain relevant to
stakeholders.
A. This report could possibly be ran once a month to give a good idea of what movies
are popular at that moment in time and the revenue generated. But would expect to
be based on the volume of the store.

SECTION B
Write a SQL code that creates the tables to hold your report sections.

--Create detailed Table

DROP TABLE IF EXISTS detailed;

, CREATE TABLE detailed (
rental_id int,
inventory_id int,
film_id int,
title varchar(90),
amount numeric (7,2)
);

--Verifying detailed table

SELECT * FROM detailed;

--Create the summary Table
DROP TABLE IF EXISTS summary;
CREATE TABLE summary(
rental_cnt int,
film_id int,
title VARCHAR(90),
rental_rev numeric(7,2)
);

SELECT * FROM summary;


SECTION C
Write a SQL query that will extract the raw data needed for the Detailed section of your report
from the source database and verify the data’s accuracy.


--Extract raw data and populate detailed data
INSERT INTO detailed(
rental_id,
inventory_id,
film_id,
title,
amount
)
SELECT
r.rental_id,
i.inventory_id,
f.film_id,
f.title,
CAST(p.amount AS money)
FROM payment p
INNER JOIN rental r ON r.rental_id = p.rental_id
INNER JOIN inventory i ON i.inventory_id = r.inventory_id
INNER JOIN film f ON f.film_id = i.film_id;


SECTION D
Write code for function(s) that perform the transformation(s) you identified in part A4.

--CREATING FUNCTION

Escuela, estudio y materia

Institución
WGU D191 VDM
Grado
WGU D191 VDM

Información del documento

Subido en
28 de enero de 2026
Número de páginas
17
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$20.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
YANCHY Herzing University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1759
Miembro desde
3 año
Número de seguidores
1158
Documentos
23274
Última venta
22 horas hace
Ace Your Exams with Elite Study Resources | ExamEliteHub on Stuvia

I offer genuine and dependable exam papers that are directly obtained from well-known, reputable institutions as a highly regarded professional who specializes in sourcing study materials. These papers are invaluable resources made to help people who want to become nurses and people who work in other fields prepare for exams. Because of my extensive experience and in-depth knowledge of the subject, I take great care to ensure that each exam paper meets the highest quality, accuracy, and relevance standards, making them an essential component of any successful study plan.

Lee mas Leer menos
4.1

446 reseñas

5
252
4
57
3
84
2
18
1
35

Documentos populares

Recientemente visto por ti

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