Query: spotify_top_genres_by_tracks
Usage
powerpipe query spotify.query.spotify_top_genres_by_tracks
SQL
select rag.genre_id, count(distinct t.id) as "Number of Tracks"from tracks t join r_track_artist rta on t.id = rta.track_id join r_artist_genre rag on rta.artist_id = rag.artist_idgroup by rag.genre_idorder by "Number of Tracks" desclimit 10;
Dashboards
The query is used in the dashboards: