aherntech/sparc huggingface dataset:
Database: match_season
Question sequence:
List all the country names.
For all players, show their country names.
For each country, how many players are there?
SQL query sequence:
SELECT Country_name from country
SELECT T2.player, Country_name  FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name
SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name
Final question: Show the country names and the corresponding number of players.
Final SQL: SELECT Country_name ,  COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country GROUP BY T1.Country_name
Database: match_season
Question sequence:
What are the number of the positions for each type?
Among those, which one is the list popular one?
How about the most popular one?
SQL query sequence:
SELECT POSITION, count(*) FROM match_season GROUP BY POSITION
SELECT POSITION FROM match_season GROUP BY POSITION order by count(*) ASC limit 1
SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1
Final question: Show the most common position of players in match seasons.
Final SQL: SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1
Database: match_season
Question sequence:
What are the number of the players in the match season for each college?
Which ones have the least players, keep the least 5 colleges.
What about the top 3?
SQL query sequence:
SELECT College, count(*) FROM match_season GROUP BY College
SELECT College FROM match_season GROUP BY College order by count(*) asc LIMIT 5
SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3
Final question: Show the top 3 most common colleges of players in match seasons.
Final SQL: SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3
Database: match_season
Question sequence:
How many unique colleges are there in the match season?
Which countries have only one player?
What about at least two?
SQL query sequence:
SELECT count(distinct College) FROM match_season
SELECT College FROM match_season GROUP BY College HAVING count(*) = 1
SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2
Final question: Show the name of colleges that have at least two players.
Final SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2
Database: match_season
Question sequence:
How many distinct colleges are there in the match season?
Which countries have only one player?
What about at least two?
Show the result in descending alphabetical order.
SQL query sequence:
SELECT count(distinct College) FROM match_season
SELECT College FROM match_season GROUP BY College HAVING count(*) = 1
SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2
SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC
Final question: Show the name of colleges that have at least two players in descending alphabetical order.
Final SQL: SELECT College FROM match_season GROUP BY College HAVING count(*)  >=  2 ORDER BY College DESC
Database: match_season
Question sequence:
Show the team names.
Which of them have at least one record in the match season?
Which are not?
SQL query sequence:
SELECT Name FROM team
SELECT Name FROM team WHERE Team_id IN (SELECT Team FROM match_season)
SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)
Final question: What are the names of teams that do no have match season record?
Final SQL: SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season)
Database: match_season
Question sequence:
List the positions from all seasons.
How many are there for each position?
Show the positions and the corresponding country.
Keep the country names that have both forward and defender as position.
SQL query sequence:
SELECT position FROM match_season
SELECT position, count(*) FROM match_season group by position
SELECT T2.position,T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country
SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "Defender"
Final question: What are the names of countries that have both players with position forward and players with position defender?
Final SQL: SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id  =  T2.Country WHERE T2.Position  =  "Defender"
Database: music_1
Question sequence:
Show all the song names and their release date.
How many different releasing dates are there?
From those songs, which ones are released in the most recent year?
SQL query sequence:
SELECT song_name ,  releasedate FROM song
SELECT COUNT(DISTINCT releasedate) FROM song
SELECT song_name ,  releasedate FROM song ORDER BY releasedate DESC LIMIT 1
Final question: What is the name of the song that was released in the most recent year?
Final SQL: SELECT song_name ,  releasedate FROM song ORDER BY releasedate DESC LIMIT 1
Database: music_1
Question sequence:
Order the songs by their file size, from large to small.
What about ordering by duration?
From those results, which one is the top 1, only keep the id of it.
SQL query sequence:
SELECT * FROM files ORDER BY file_size DESC
SELECT * FROM files ORDER BY duration DESC
SELECT f_id FROM files ORDER BY duration DESC LIMIT 1
Final question: What is the id of the longest song?
Final SQL: SELECT f_id FROM files ORDER BY duration DESC LIMIT 1
Database: music_1
Question sequence:
What is the average rating for all the songs?
How many of the songs which rating is above 9?
What are singer names and their countries of these songs?
SQL query sequence:
SELECT avg(rating) FROM song
SELECT count(*) FROM song where rating > 9
SELECT DISTINCT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.rating  >  9
Final question: List the name and country of origin for all singers who have produced songs with rating above 9.
Final SQL: SELECT DISTINCT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.rating  >  9
Database: music_1
Question sequence:
List all the song names by the resolution in ascending order.
How many songs have resolution higher than 800?
What about lower?
What are the file size and format of them?
SQL query sequence:
SELECT song_name FROM song order by resolution desc
SELECT count(song_name) FROM song where resolution > 800
SELECT count(song_name) FROM song where resolution < 800
SELECT DISTINCT T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.resolution  <  800
Final question: List the file size and format for all songs that have resolution lower than 800.
Final SQL: SELECT DISTINCT T1.file_size ,  T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T2.resolution  <  800
Database: music_1
Question sequence:
Which song ids are the top three long ones?
What about the shortest one?
What is the artist name of it?
SQL query sequence:
SELECT f_id FROM files order by duration desc limit 3
SELECT f_id FROM files order by duration asc limit 1
SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id  =  T2.f_id ORDER BY T2.duration LIMIT 1
Final question: What is the name of the artist who produced the shortest song?
Final SQL: SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id  =  T2.f_id ORDER BY T2.duration LIMIT 1
Database: music_1
Question sequence:
What is the maximum rating for all the songs?
Which songs are the top 2 rating ones?
What about top 3?
What are the names and countries of origin for the artists of these songs?
SQL query sequence:
SELECT max(rating) FROM song
SELECT * FROM song order by rating desc limit 2
SELECT * FROM song order by rating desc limit 3
SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.rating DESC LIMIT 3
Final question: What are the names and countries of origin for the artists who produced the top three highly rated songs.
Final SQL: SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.rating DESC LIMIT 3
Database: music_1
Question sequence:
List all the durations of the songs.
How many are there if the duration is only 2 mins to 3 mins?
What about 4 minutes long?
SQL query sequence:
SELECT duration FROM files
SELECT count(*) FROM files WHERE duration LIKE "2:%"
SELECT count(*) FROM files WHERE duration LIKE "4:%"
Final question: How many songs have 4 minute duration?
Final SQL: SELECT count(*) FROM files WHERE duration LIKE "4:%"
Database: music_1
Question sequence:
How many songs are produced by female artists?
What is the maximum rating of these songs?
How about average rating?
SQL query sequence:
SELECT count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female"
SELECT max(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female"
SELECT avg(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female"
Final question: What is the average rating of songs produced by female artists?
Final SQL: SELECT avg(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female"
Database: music_1
Question sequence:
For each format, how many files are there?
So which format is the most common one?
SQL query sequence:
SELECT formats,count(*) FROM files group by formats
SELECT formats FROM files GROUP BY formats ORDER BY COUNT (*) DESC LIMIT 1
Final question: What is the most popular file format?
Final SQL: SELECT formats FROM files GROUP BY formats ORDER BY COUNT (*) DESC LIMIT 1
Database: music_1
Question sequence:
How many distinct countries are there?
How many artists come from India?
Which ones who come from UK and have songs in English?
SQL query sequence:
SELECT COUNT(DISTINCT country) FROM artist
SELECT count(*) FROM artist where country = 'India'
SELECT artist_name FROM artist WHERE country  =  "UK" INTERSECT SELECT artist_name FROM song WHERE languages  =  "english"
Final question: Find the names of the artists who are from UK and have produced English songs.
Final SQL: SELECT artist_name FROM artist WHERE country  =  "UK" INTERSECT SELECT artist_name FROM song WHERE languages  =  "english"
Database: music_1
Question sequence:
List all the durations of the songs.
How many are there if the duration is only 3 mins to 4 mins?
What about the ones which have the format to be mp4?
Show the ids that the song is in mp4 and resolution is lower than 1000.
SQL query sequence:
SELECT duration FROM files
SELECT count(*) FROM files WHERE duration LIKE "3:%"
SELECT count(*) FROM files WHERE formats  =  "mp4"
SELECT f_id FROM files WHERE formats  =  "mp4" INTERSECT SELECT f_id FROM song WHERE resolution  <  1000
Final question: Find the id of songs that are available in mp4 format and have resolution lower than 1000.
Final SQL: SELECT f_id FROM files WHERE formats  =  "mp4" INTERSECT SELECT f_id FROM song WHERE resolution  <  1000
Database: music_1
Question sequence:
How many songs are produced by male artists?
How about female artisits?
Among those songs, which ones are in Bangla?
What are the country of origin for the artists of these songs?
SQL query sequence:
SELECT count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Male"
SELECT count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female"
SELECT count(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female" AND languages  =  "bangla"
SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female" AND T2.languages  =  "bangla"
Final question: What is the country of origin of the artist who is female and produced a song in Bangla?
Final SQL: SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T1.gender  =  "Female" AND T2.languages  =  "bangla"
Database: music_1
Question sequence:
List all the song names by the resolution in ascending order.
How many songs have resolution higher than 900?
What about lower than 800?
Among those results, how may have mp3 format?
What is the average duration of those songs?
SQL query sequence:
SELECT song_name FROM song order by resolution desc
SELECT count(song_name) FROM song where resolution > 900
SELECT count(song_name) FROM song where resolution < 800
SELECT count(*) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" AND T2.resolution   <  800
SELECT avg(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" AND T2.resolution   <  800
Final question: What is the average duration of songs that have mp3 format and resolution below 800?
Final SQL: SELECT avg(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" AND T2.resolution   <  800
Database: music_1
Question sequence:
List all the song names and the resolutions in descending order of resolution.
Which one has the highest resolution?
What about the lowest one?
What is the gender and name of the corresponding artist of that song?
SQL query sequence:
SELECT song_name, resolution FROM song order by resolution desc
SELECT song_name, resolution FROM song order by resolution desc limit 1
SELECT song_name, resolution FROM song order by resolution asc limit 1
SELECT T1.gender ,  T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.resolution LIMIT 1
Final question: Return the gender and name of artist who produced the song with the lowest resolution.
Final SQL: SELECT T1.gender ,  T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name ORDER BY T2.resolution LIMIT 1
Database: music_1
Question sequence:
List all the song names and the resolutions in ascending order of resolution.
Which ones are the top two of the resolution?
What is the average resolution for the English songs?
Which songs have a higher resolution than the English ones?
What about the distinct song names of them?
SQL query sequence:
SELECT song_name, resolution FROM song order by resolution asc
SELECT song_name, resolution FROM song order by resolution desc limit 2
SELECT avg(resolution) FROM song WHERE languages  =  "english"
SELECT song_name FROM song WHERE resolution  >  (SELECT min(resolution) FROM song WHERE languages  =  "english")
SELECT DISTINCT song_name FROM song WHERE resolution  >  (SELECT min(resolution) FROM song WHERE languages  =  "english")
Final question: Find the distinct names of all songs that have a higher resolution than some songs in English.
Final SQL: SELECT DISTINCT song_name FROM song WHERE resolution  >  (SELECT min(resolution) FROM song WHERE languages  =  "english")
Database: music_1
Question sequence:
List all the song names and the ratings.
What is the maximum rating?
Which songs have a lower rating than the average rating?
What about lower rating than that of blues genre ones?
SQL query sequence:
SELECT song_name, rating FROM song
SELECT max(rating) FROM song
SELECT song_name FROM song WHERE rating  < (SELECT avg(rating) FROM song)
SELECT song_name FROM song WHERE rating  <  (SELECT max(rating) FROM song WHERE genre_is  =  "blues")
Final question: What are the names of all songs that have a lower rating than some song of blues genre?
Final SQL: SELECT song_name FROM song WHERE rating  <  (SELECT max(rating) FROM song WHERE genre_is  =  "blues")
Database: music_1
Question sequence:
Show all the names of the song.
How many of them contain the word 'robe'?
How about the word 'love'?
What are the name and country of origin for the artists of these songs?
SQL query sequence:
SELECT song_name FROM song
SELECT count(*) FROM song where song_name LIKE "%robe%"
SELECT count(*) FROM song where song_name LIKE "%love%"
SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.song_name LIKE "%love%"
Final question: What is the name and country of origin of the artist who released a song that has "love" in its title?
Final SQL: SELECT T1.artist_name ,  T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.song_name LIKE "%love%"
Database: music_1
Question sequence:
How many songs are released in January?
Who are the artists of these songs, list the name and gender?
SQL query sequence:
SELECT count(*) FROM song where releasedate LIKE "%JAN%"
SELECT T1.artist_name ,  T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.releasedate LIKE "%Mar%"
Final question: List the name and gender for all artists who released songs in March.
Final SQL: SELECT T1.artist_name ,  T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.releasedate LIKE "%Mar%"
Database: music_1
Question sequence:
How many songs have resolution higher than 1000?
What about higher than 720?
Among those results, how may have mp4 format?
List the ids of these songs.
What about the ids of the songs that in mp4 format or resolution above 720?
SQL query sequence:
SELECT count(song_name) FROM song where resolution > 1000
SELECT count(song_name) FROM song where resolution > 720
SELECT count(*) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp4" AND T2.resolution > 720
SELECT f_id FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp4" AND T2.resolution > 720
SELECT f_id FROM files WHERE formats  =  "mp4" UNION SELECT f_id FROM song WHERE resolution  >  720
Final question: What are the ids of songs that are available in either mp4 format or have resolution above 720?
Final SQL: SELECT f_id FROM files WHERE formats  =  "mp4" UNION SELECT f_id FROM song WHERE resolution  >  720
Database: music_1
Question sequence:
List all the durations of the songs.
How many are there if the duration is 4 mins?
What are the names of those songs?
What about the song names which has 4 minute duration or is in English?
SQL query sequence:
SELECT duration FROM files
SELECT count(*) FROM files WHERE duration LIKE "4:%"
SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE "4:%"
SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE "4:%" UNION SELECT song_name FROM song WHERE languages  =  "english"
Final question: List the names of all songs that have 4 minute duration or are in English.
Final SQL: SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE "4:%" UNION SELECT song_name FROM song WHERE languages  =  "english"
Database: music_1
Question sequence:
How many distinct languages are there for the songs?
Among those languages, which one is the most popular one?
SQL query sequence:
SELECT COUNT(DISTINCT languages) FROM song
SELECT languages FROM song GROUP BY languages ORDER BY count(*) DESC LIMIT 1
Final question: What is the language used most often in the songs?
Final SQL: SELECT languages FROM song GROUP BY languages ORDER BY count(*) DESC LIMIT 1
Database: music_1
Question sequence:
List each language and how many songs for each?
Which one is the most popular language?
What about that for the songs which resolution are above 1000?
How about resolution are above 500?
SQL query sequence:
SELECT languages, count(*) FROM song GROUP BY languages
SELECT languages, count(*) FROM song GROUP BY languages DESC limit 1
SELECT artist_name FROM song WHERE resolution  >  1000 GROUP BY languages ORDER BY count(*) DESC LIMIT 1
SELECT artist_name FROM song WHERE resolution  >  500 GROUP BY languages ORDER BY count(*) DESC LIMIT 1
Final question: What is the language that was used most often in songs with resolution above 500?
Final SQL: SELECT artist_name FROM song WHERE resolution  >  500 GROUP BY languages ORDER BY count(*) DESC LIMIT 1
Database: music_1
Question sequence:
How many artists come from India?
How about UK?
Among those artists, who are male?
SQL query sequence:
SELECT count(*) FROM artist WHERE country  =  "India"
SELECT count(*) FROM artist WHERE country  =  "UK"
SELECT artist_name FROM artist WHERE country  =  "UK" AND gender  =  "Male"
Final question: What are the names of artists who are Male and are from UK?
Final SQL: SELECT artist_name FROM artist WHERE country  =  "UK" AND gender  =  "Male"
Database: music_1
Question sequence:
Which songs have the genre to be blues?
How about folk?
What about the songs has genre to be modern OR the songs are in English?
SQL query sequence:
SELECT song_name FROM song WHERE genre_is  =  "blues"
SELECT song_name FROM song WHERE genre_is  =  "folk"
SELECT song_name FROM song WHERE genre_is  =  "modern" OR languages  =  "english"
Final question: Find the names of songs whose genre is modern or language is English.
Final SQL: SELECT song_name FROM song WHERE genre_is  =  "modern" OR languages  =  "english"
Database: music_1
Question sequence:
How many songs have a resolution below 900?
Among those songs, which ones have mp3 format, show the file size of them.
What are the names of songs which have mp3 format and the resolution is below 1000.
SQL query sequence:
SELECT count(*) FROM song WHERE resolution  <  900
SELECT T1.file_size FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" and T2.resolution < 900
SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" INTERSECT SELECT song_name FROM song WHERE resolution  <  1000
Final question: Return the names of songs for which format is mp3 and resolution is below 1000.
Final SQL: SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.formats  =  "mp3" INTERSECT SELECT song_name FROM song WHERE resolution  <  1000
Database: music_1
Question sequence:
How many UK male artists?
Which British artists have released English songs?
SQL query sequence:
SELECT artist_name FROM artist WHERE country  =  "UK" and gender = 'Male'
SELECT artist_name FROM artist WHERE country  =  "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  "english"
Final question: Return the names of singers who are from UK and released an English song.
Final SQL: SELECT artist_name FROM artist WHERE country  =  "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name  =  T2.artist_name WHERE T2.languages  =  "english"
Database: music_1
Question sequence:
What is the maximum resolution for all the English songs?
What about the average rating and resolution for songs in Bangla?
SQL query sequence:
SELECT max(resolution) FROM song WHERE languages  =  "english"
SELECT avg(rating) ,  avg(resolution) FROM song WHERE languages  =  "bangla"
Final question: What are the average rating and resolution of songs that are in Bangla?
Final SQL: SELECT avg(rating) ,  avg(resolution) FROM song WHERE languages  =  "bangla"
Database: music_1
Question sequence:
List all the durations of the songs.
How many are there when the duration is only 4 mins?
What about that of 3 mins?
How about the maximum and minimum resolutions of these songs?
SQL query sequence:
SELECT duration FROM files
SELECT count(*) FROM files WHERE duration LIKE "4:%"
SELECT count(*) FROM files WHERE duration LIKE "3:%"
SELECT max(T2.resolution) ,  min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE "3:%"
Final question: What are the maximum and minimum resolution of songs whose duration is 3 minutes?
Final SQL: SELECT max(T2.resolution) ,  min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id  =  T2.f_id WHERE T1.duration LIKE "3:%"