Based on the schema below, run any queries you like.
If you are looking for inspiration, check out the list of suggested queries below, or try the guided SQL playground.
artist
along with maxRank
, title
, and whether the artist is a remixer
. artist
. House
or Techno
. Limit your response to 3.
title
of a song followed by “->” followed by the subtitle of the song. Limit your response to 2 rows. The query should only return one column.
price
greater than the average price of the songs of genre House
. Limit your response to 5 songs ordered by title
. The price
should be rounded to 2 decimal places. House
that have price
greater than the average price of the songs of genre House
, along with the average price of genre House
rounded to 2 decimal points. Limit your response to 5 songs ordered by title. genre
and limit your response to 5 rows. Return both the title
of the song and whether the song is recent. Assume that some songs have missing values on their released day; you can ignore those. durationInCharts
greater than the average durationInCharts
(rounded up to 1 decimal point) of songs that have entered the charts before them. genre != -1
), and we would also like to focus on popular genres, that have at least 8 songs. Return the result in decreasing order of the most popular genre, and limit your response to five rows. trackId
of the songs that ranked between \(1^{st}\) and \(50^{th}\) place in the charts. Limit your answer to 4.
durationInCharts
greater than the all the durationInCharts
of songs of genre Breaks
. Order the results by their durationInCharts
in decreasing order.