Professional Documents
Culture Documents
This answers the total amount and the total customers per stores
And the factors that resulted that data. The factors are the ratings of the films, the top actors that is
portraying a character in the film and the genre of the films.
Schema:
The data repository that I use the postgresql. I extract the data from the database with cleanliness and
use it for analysis and visualization in Microsoft excel. There at times that I also prepare the data after it
is being extracted from the database and uses some excel functions like index and match for nesting. I
used it for the last table that I query in the database to visualize it more clearly, and understandable.
What is the total revenue or amount and the total customers per stores?
Query:
Table:
Graph:
15340418
63993022.82
Sum of total_customers
Sum of total_amount
18064660
76320623.4
What is the full name of the top 10 actors with highest amount of revenue and customers?
Uma Wood $2,252,635.14
533186
Renee Ball $2,387,120.82
565018
Meryl Gibson $1,983,663.78
469522
Jim Mostel $1,950,042.36
461564
Jayne Silverstone $2,017,285.20
477480 Total Amount
1
How much is the amount earned per genre? And how many customers per genre?
$10,000,000.00 2500000
$9,000,000.00
$8,000,000.00 2000000
$7,000,000.00
$6,000,000.00 1500000
$5,000,000.00
$4,000,000.00 1000000
$3,000,000.00 Sum of total_amount
$2,000,000.00 500000 Sum of total_customers
$1,000,000.00
$- Comedy 0
Documentary
Animation
Children
Family
Action
Foreign
Horror
Music
Sci-Fi
Classics
Drama
Travel
Games
New
1
$6,000,000.00 1400000
$5,000,000.00 1200000
1000000
$4,000,000.00
800000
$3,000,000.00
600000
$2,000,000.00 Sum of total_amount
400000 Sum of total_customers
$1,000,000.00 200000
$- 0
Comedy
Documentary
Animation
Children
Family
Action
Foreign
Horror
Music
Classics
Drama
Sports
Sci-Fi
Travel
Games
New