imdb_movie_average_budgetimdb_movie_average_domestic_earningsimdb_movie_average_worldwide_earningsimdb_movie_by_rating_rangeimdb_movie_distribution_of_metacritic_scoresimdb_movie_domestic_vs_worldwide_earnings_comparisonimdb_movie_earning_domesticimdb_movie_earning_worldwideimdb_movie_genre_popularity_by_age_groupimdb_movie_inputimdb_movie_international_vs_us_votes_comparisonimdb_movie_overviewimdb_movie_profit_comparisonimdb_movie_ratingimdb_movie_runtimeimdb_movie_top_earning_worldwideimdb_movie_top_ratedimdb_movie_totalimdb_movie_votes_comparisonimdb_movie_votes_summaryimdb_moview_earnings_by_genre
Query: imdb_moview_earnings_by_genre
Usage
powerpipe query imdb.query.imdb_moview_earnings_by_genre
SQL
select g.genre, sum(e.Worldwide) as "Total Earnings"from genre g join earning e on g.Movie_id = e.Movie_idgroup by g.genreorder by "Total Earnings" desc;
Dashboards
The query is used in the dashboards: