db_id
stringclasses
146 values
question
stringlengths
3
224
query
stringlengths
18
577
query_format
stringlengths
18
577
answer
stringlengths
13
874k
coffee_shop
What are the average score and average staff number of all shops?
SELECT avg(num_of_staff) , avg(score) FROM shop
SELECT avg(num_of_staff) , avg(score) FROM shop
[{'avg(num_of_staff)': 65.1, 'avg(score)': 33.6}]
coffee_shop
Find the id and address of the shops whose score is below the average score.
SELECT shop_id , address FROM shop WHERE score < (SELECT avg(score) FROM shop)
SELECT shop_id , address FROM shop WHERE score < (SELECT avg(score) FROM shop)
[{'Shop_ID': 4, 'Address': '909 Walnut Street'}, {'Shop_ID': 5, 'Address': '414 E. 12th Street'}, {'Shop_ID': 6, 'Address': '1201 Walnut Street'}, {'Shop_ID': 8, 'Address': '909 Main Street'}, {'Shop_ID': 9, 'Address': '1100 Main Street'}, {'Shop_ID': 10, 'Address': '324 E. 11th Street'}]
coffee_shop
Find the address and staff number of the shops that do not have any happy hour.
SELECT address , num_of_staff FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM happy_hour)
SELECT address , num_of_staff FROM shop WHERE shop_id NOT IN (SELECT shop_id FROM happy_hour)
[{'Address': '909 Walnut Street', 'Num_of_staff': '27'}, {'Address': '1201 Walnut Street', 'Num_of_staff': '34'}, {'Address': '2345 McGee Street', 'Num_of_staff': '425'}, {'Address': '909 Main Street', 'Num_of_staff': '28'}, {'Address': '1100 Main Street', 'Num_of_staff': '23'}]
coffee_shop
What are the id and address of the shops which have a happy hour in May?
SELECT t1.address , t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = 'May'
SELECT t1.address , t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = 'May'
[{'Address': '1200 Main Street', 'Shop_ID': 1}, {'Address': '1200 Main Street', 'Shop_ID': 1}, {'Address': '1330 Baltimore Street', 'Shop_ID': 3}]
coffee_shop
which shop has happy hour most frequently? List its id and number of happy hours.
SELECT shop_id , count(*) FROM happy_hour GROUP BY shop_id ORDER BY count(*) DESC LIMIT 1
SELECT shop_id , count(*) FROM happy_hour GROUP BY shop_id ORDER BY count(*) DESC LIMIT 1
[{'Shop_ID': 1, 'count(*)': 4}]
coffee_shop
Which month has the most happy hours?
SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY count(*) DESC LIMIT 1
SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY count(*) DESC LIMIT 1
[{'Month': 'May'}]
coffee_shop
Which months have more than 2 happy hours?
SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING count(*) > 2
SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING count(*) > 2
[{'Month': 'April'}, {'Month': 'May'}]
chinook_1
How many albums are there?
SELECT count(*) FROM ALBUM
SELECT count(*) FROM ALBUM
[{'count(*)': 347}]
chinook_1
Find the number of albums.
SELECT count(*) FROM ALBUM
SELECT count(*) FROM ALBUM
[{'count(*)': 347}]
chinook_1
List the names of all music genres.
SELECT Name FROM GENRE
SELECT Name FROM GENRE
[{'Name': 'Rock'}, {'Name': 'Jazz'}, {'Name': 'Metal'}, {'Name': 'Alternative & Punk'}, {'Name': 'Rock And Roll'}, {'Name': 'Blues'}, {'Name': 'Latin'}, {'Name': 'Reggae'}, {'Name': 'Pop'}, {'Name': 'Soundtrack'}, {'Name': 'Bossa Nova'}, {'Name': 'Easy Listening'}, {'Name': 'Heavy Metal'}, {'Name': 'R&B/Soul'}, {'Name': 'Electronica/Dance'}, {'Name': 'World'}, {'Name': 'Hip Hop/Rap'}, {'Name': 'Science Fiction'}, {'Name': 'TV Shows'}, {'Name': 'Sci Fi & Fantasy'}, {'Name': 'Drama'}, {'Name': 'Comedy'}, {'Name': 'Alternative'}, {'Name': 'Classical'}, {'Name': 'Opera'}]
chinook_1
What are the names of different music genres?
SELECT Name FROM GENRE
SELECT Name FROM GENRE
[{'Name': 'Rock'}, {'Name': 'Jazz'}, {'Name': 'Metal'}, {'Name': 'Alternative & Punk'}, {'Name': 'Rock And Roll'}, {'Name': 'Blues'}, {'Name': 'Latin'}, {'Name': 'Reggae'}, {'Name': 'Pop'}, {'Name': 'Soundtrack'}, {'Name': 'Bossa Nova'}, {'Name': 'Easy Listening'}, {'Name': 'Heavy Metal'}, {'Name': 'R&B/Soul'}, {'Name': 'Electronica/Dance'}, {'Name': 'World'}, {'Name': 'Hip Hop/Rap'}, {'Name': 'Science Fiction'}, {'Name': 'TV Shows'}, {'Name': 'Sci Fi & Fantasy'}, {'Name': 'Drama'}, {'Name': 'Comedy'}, {'Name': 'Alternative'}, {'Name': 'Classical'}, {'Name': 'Opera'}]
chinook_1
Find all the customer information in state NY.
SELECT * FROM CUSTOMER WHERE State = "NY"
SELECT * FROM CUSTOMER WHERE State = "NY"
[{'CustomerId': 18, 'FirstName': 'Michelle', 'LastName': 'Brooks', 'Company': None, 'Address': '627 Broadway', 'City': 'New York', 'State': 'NY', 'Country': 'USA', 'PostalCode': '10012-2612', 'Phone': '+1 (212) 221-3546', 'Fax': '+1 (212) 221-4679', 'Email': '[email protected]', 'SupportRepId': 3}]
chinook_1
What is all the customer information for customers in NY state?
SELECT * FROM CUSTOMER WHERE State = "NY"
SELECT * FROM CUSTOMER WHERE State = "NY"
[{'CustomerId': 18, 'FirstName': 'Michelle', 'LastName': 'Brooks', 'Company': None, 'Address': '627 Broadway', 'City': 'New York', 'State': 'NY', 'Country': 'USA', 'PostalCode': '10012-2612', 'Phone': '+1 (212) 221-3546', 'Fax': '+1 (212) 221-4679', 'Email': '[email protected]', 'SupportRepId': 3}]
chinook_1
What are the first names and last names of the employees who live in Calgary city.
SELECT FirstName , LastName FROM EMPLOYEE WHERE City = "Calgary"
SELECT FirstName , LastName FROM EMPLOYEE WHERE City = "Calgary"
[{'FirstName': 'Nancy', 'LastName': 'Edwards'}, {'FirstName': 'Jane', 'LastName': 'Peacock'}, {'FirstName': 'Margaret', 'LastName': 'Park'}, {'FirstName': 'Steve', 'LastName': 'Johnson'}, {'FirstName': 'Michael', 'LastName': 'Mitchell'}]
chinook_1
Find the full names of employees living in the city of Calgary.
SELECT FirstName , LastName FROM EMPLOYEE WHERE City = "Calgary"
SELECT FirstName , LastName FROM EMPLOYEE WHERE City = "Calgary"
[{'FirstName': 'Nancy', 'LastName': 'Edwards'}, {'FirstName': 'Jane', 'LastName': 'Peacock'}, {'FirstName': 'Margaret', 'LastName': 'Park'}, {'FirstName': 'Steve', 'LastName': 'Johnson'}, {'FirstName': 'Michael', 'LastName': 'Mitchell'}]
chinook_1
What are the distinct billing countries of the invoices?
SELECT distinct(BillingCountry) FROM INVOICE
SELECT distinct(BillingCountry) FROM INVOICE
[{'BillingCountry': 'Germany'}, {'BillingCountry': 'Norway'}, {'BillingCountry': 'Belgium'}, {'BillingCountry': 'Canada'}, {'BillingCountry': 'USA'}, {'BillingCountry': 'France'}, {'BillingCountry': 'Ireland'}, {'BillingCountry': 'United Kingdom'}, {'BillingCountry': 'Australia'}, {'BillingCountry': 'Chile'}, {'BillingCountry': 'India'}, {'BillingCountry': 'Brazil'}, {'BillingCountry': 'Portugal'}, {'BillingCountry': 'Netherlands'}, {'BillingCountry': 'Spain'}, {'BillingCountry': 'Sweden'}, {'BillingCountry': 'Czech Republic'}, {'BillingCountry': 'Finland'}, {'BillingCountry': 'Denmark'}, {'BillingCountry': 'Italy'}, {'BillingCountry': 'Poland'}, {'BillingCountry': 'Austria'}, {'BillingCountry': 'Hungary'}, {'BillingCountry': 'Argentina'}]
chinook_1
Find the different billing countries for all invoices.
SELECT distinct(BillingCountry) FROM INVOICE
SELECT distinct(BillingCountry) FROM INVOICE
[{'BillingCountry': 'Germany'}, {'BillingCountry': 'Norway'}, {'BillingCountry': 'Belgium'}, {'BillingCountry': 'Canada'}, {'BillingCountry': 'USA'}, {'BillingCountry': 'France'}, {'BillingCountry': 'Ireland'}, {'BillingCountry': 'United Kingdom'}, {'BillingCountry': 'Australia'}, {'BillingCountry': 'Chile'}, {'BillingCountry': 'India'}, {'BillingCountry': 'Brazil'}, {'BillingCountry': 'Portugal'}, {'BillingCountry': 'Netherlands'}, {'BillingCountry': 'Spain'}, {'BillingCountry': 'Sweden'}, {'BillingCountry': 'Czech Republic'}, {'BillingCountry': 'Finland'}, {'BillingCountry': 'Denmark'}, {'BillingCountry': 'Italy'}, {'BillingCountry': 'Poland'}, {'BillingCountry': 'Austria'}, {'BillingCountry': 'Hungary'}, {'BillingCountry': 'Argentina'}]
chinook_1
Find the names of all artists that have "a" in their names.
SELECT Name FROM ARTIST WHERE Name LIKE "%a%"
SELECT Name FROM ARTIST WHERE Name LIKE "%a%"
[{'Name': 'AC/DC'}, {'Name': 'Accept'}, {'Name': 'Aerosmith'}, {'Name': 'Alanis Morissette'}, {'Name': 'Alice In Chains'}, {'Name': 'Antônio Carlos Jobim'}, {'Name': 'Apocalyptica'}, {'Name': 'Audioslave'}, {'Name': 'BackBeat'}, {'Name': 'Billy Cobham'}, {'Name': 'Black Label Society'}, {'Name': 'Black Sabbath'}, {'Name': 'Caetano Veloso'}, {'Name': 'Chico Buarque'}, {'Name': 'Chico Science & Nação Zumbi'}, {'Name': 'Cidade Negra'}, {'Name': 'Various Artists'}, {'Name': 'Frank Zappa & Captain Beefheart'}, {'Name': 'Marcos Valle'}, {'Name': 'Milton Nascimento & Bebeto'}, {'Name': 'Azymuth'}, {'Name': 'Baby Consuelo'}, {'Name': 'Ney Matogrosso'}, {'Name': 'Luiz Melodia'}, {'Name': 'Nando Reis'}, {'Name': 'Pedro Luís & A Parede'}, {'Name': 'O Rappa'}, {'Name': 'Ed Motta'}, {'Name': 'Banda Black Rio'}, {'Name': 'Fernanda Porto'}, {'Name': 'Os Cariocas'}, {'Name': 'Elis Regina'}, {'Name': 'Milton Nascimento'}, {'Name': 'A Cor Do Som'}, {'Name': 'Kid Abelha'}, {'Name': 'Sandra De Sá'}, {'Name': 'Hermeto Pascoal'}, {'Name': 'Barão Vermelho'}, {'Name': 'Edson, DJ Marky & DJ Patife Featuring Fernanda Porto'}, {'Name': 'Metallica'}, {'Name': 'Spyro Gyra'}, {'Name': 'Green Day'}, {'Name': 'David Coverdale'}, {'Name': 'Gonzaguinha'}, {'Name': 'Os Mutantes'}, {'Name': 'Santana'}, {'Name': 'Santana Feat. Dave Matthews'}, {'Name': 'Santana Feat. Everlast'}, {'Name': 'Santana Feat. Rob Thomas'}, {'Name': 'Santana Feat. Lauryn Hill & Cee-Lo'}, {'Name': 'Santana Feat. The Project G&B'}, {'Name': 'Santana Feat. Maná'}, {'Name': 'Santana Feat. Eagle-Eye Cherry'}, {'Name': 'Santana Feat. Eric Clapton'}, {'Name': 'Miles Davis'}, {'Name': 'Gene Krupa'}, {'Name': 'Vinícius De Moraes & Baden Powell'}, {'Name': 'Vinícius De Moraes'}, {'Name': 'Vinícius E Odette Lara'}, {'Name': 'Vinicius, Toquinho & Quarteto Em Cy'}, {'Name': 'Creedence Clearwater Revival'}, {'Name': 'Cássia Eller'}, {'Name': 'Def Leppard'}, {'Name': 'Dennis Chambers'}, {'Name': 'Djavan'}, {'Name': 'Eric Clapton'}, {'Name': 'Faith No More'}, {'Name': 'Falamansa'}, {'Name': 'Frank Sinatra'}, {'Name': 'Funk Como Le Gusta'}, {'Name': 'Godsmack'}, {'Name': 'Iron Maiden'}, {'Name': 'James Brown'}, {'Name': 'Jamiroquai'}, {'Name': 'Joe Satriani'}, {'Name': 'Jota Quest'}, {'Name': 'Judas Priest'}, {'Name': 'Legião Urbana'}, {'Name': 'Lenny Kravitz'}, {'Name': 'Lulu Santos'}, {'Name': 'Marillion'}, {'Name': 'Marisa Monte'}, {'Name': 'Marvin Gaye'}, {'Name': 'Men At Work'}, {'Name': 'Motörhead'}, {'Name': 'Motörhead & Girlschool'}, {'Name': 'Mônica Marianno'}, {'Name': 'Nirvana'}, {'Name': 'Os Paralamas Do Sucesso'}, {'Name': 'Page & Plant'}, {'Name': 'Passengers'}, {'Name': "Paul D'Ianno"}, {'Name': 'Pearl Jam'}, {'Name': 'Planet Hemp'}, {'Name': 'R.E.M. Feat. Kate Pearson'}, {'Name': 'R.E.M. Feat. KRS-One'}, {'Name': 'Raimundos'}, {'Name': 'Raul Seixas'}, {'Name': 'Skank'}, {'Name': 'Smashing Pumpkins'}, {'Name': 'Soundgarden'}, {'Name': 'Stevie Ray Vaughan & Double Trouble'}, {'Name': 'System Of A Down'}, {'Name': 'The Black Crowes'}, {'Name': 'The Clash'}, {'Name': 'The Tea Party'}, {'Name': 'Tim Maia'}, {'Name': 'Battlestar Galactica'}, {'Name': 'Van Halen'}, {'Name': 'Whitesnake'}, {'Name': 'Zeca Pagodinho'}, {'Name': 'Dread Zeppelin'}, {'Name': 'Battlestar Galactica (Classic)'}, {'Name': 'Aquaman'}, {'Name': 'Christina Aguilera featuring BigElf'}, {'Name': "Aerosmith & Sierra Leone's Refugee Allstars"}, {'Name': 'Corinne Bailey Rae'}, {'Name': 'Dhani Harrison & Jakob Dylan'}, {'Name': 'Jackson Browne'}, {'Name': 'Avril Lavigne'}, {'Name': 'Black Eyed Peas'}, {'Name': 'Jack Johnson'}, {'Name': 'Ben Harper'}, {'Name': 'Snow Patrol'}, {'Name': 'Matisyahu'}, {'Name': 'The Postal Service'}, {'Name': 'Jaguares'}, {'Name': 'The Flaming Lips'}, {'Name': "Jack's Mannequin & Mick Fleetwood"}, {'Name': 'Regina Spektor'}, {'Name': 'House Of Pain'}, {'Name': 'Nega Gizza'}, {'Name': 'Gustavo & Andres Veiga & Salazar'}, {'Name': 'Charlie Brown Jr.'}, {'Name': 'Pedro Luís E A Parede'}, {'Name': 'Los Hermanos'}, {'Name': 'Mundo Livre S/A'}, {'Name': 'Nação Zumbi'}, {'Name': 'DJ Dolores & Orchestra Santa Massa'}, {'Name': 'Sabotage E Instituto'}, {'Name': 'Stereo Maracana'}, {'Name': 'Cake'}, {'Name': 'Aisha Duo'}, {'Name': 'Habib Koité and Bamada'}, {'Name': 'Karsh Kale'}, {'Name': 'Luciana Souza/Romero Lubambo'}, {'Name': 'Aaron Goldberg'}, {'Name': 'Nicolaus Esterhazy Sinfonia'}, {'Name': 'Alberto Turco & Nova Schola Gregoriana'}, {'Name': 'Richard Marlow & The Choir of Trinity College, Cambridge'}, {'Name': 'Anne-Sophie Mutter, Herbert Von Karajan & Wiener Philharmoniker'}, {'Name': 'Hilary Hahn, Jeffrey Kahane, Los Angeles Chamber Orchestra & Margaret Batjer'}, {'Name': 'Yo-Yo Ma'}, {'Name': 'Scholars Baroque Ensemble'}, {'Name': 'Academy of St. Martin in the Fields & Sir Neville Marriner'}, {'Name': 'Academy of St. Martin in the Fields Chamber Ensemble & Sir Neville Marriner'}, {'Name': 'Berliner Philharmoniker, Claudio Abbado & Sabine Meyer'}, {'Name': 'Royal Philharmonic Orchestra & Sir Thomas Beecham'}, {'Name': 'Orchestre Révolutionnaire et Romantique & John Eliot Gardiner'}, {'Name': 'Britten Sinfonia, Ivor Bolton & Lesley Garrett'}, {'Name': 'Chicago Symphony Chorus, Chicago Symphony Orchestra & Sir Georg Solti'}, {'Name': 'Sir Georg Solti & Wiener Philharmoniker'}, {'Name': 'Academy of St. Martin in the Fields, John Birch, Sir Neville Marriner & Sylvia McNair'}, {'Name': 'London Symphony Orchestra & Sir Charles Mackerras'}, {'Name': 'Barry Wordsworth & BBC Concert Orchestra'}, {'Name': 'Herbert Von Karajan, Mirella Freni & Wiener Philharmoniker'}, {'Name': 'Eugene Ormandy'}, {'Name': 'Luciano Pavarotti'}, {'Name': 'Leonard Bernstein & New York Philharmonic'}, {'Name': 'Boston Symphony Orchestra & Seiji Ozawa'}, {'Name': 'Aaron Copland & London Symphony Orchestra'}, {'Name': 'Ton Koopman'}, {'Name': 'Sergei Prokofiev & Yuri Temirkanov'}, {'Name': 'Chicago Symphony Orchestra & Fritz Reiner'}, {'Name': 'Orchestra of The Age of Enlightenment'}, {'Name': 'Emanuel Ax, Eugene Ormandy & Philadelphia Orchestra'}, {'Name': 'James Levine'}, {'Name': 'Berliner Philharmoniker & Hans Rosbaud'}, {'Name': 'Maurizio Pollini'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & William Bennett'}, {'Name': 'Gustav Mahler'}, {'Name': 'Felix Schmidt, London Symphony Orchestra & Rafael Frühbeck de Burgos'}, {'Name': 'Edo de Waart & San Francisco Symphony'}, {'Name': 'Antal Doráti & London Symphony Orchestra'}, {'Name': 'Choir Of Westminster Abbey & Simon Preston'}, {'Name': 'Michael Tilson Thomas & San Francisco Symphony'}, {'Name': 'Chor der Wiener Staatsoper, Herbert Von Karajan & Wiener Philharmoniker'}, {'Name': 'Berliner Philharmoniker & Herbert Von Karajan'}, {'Name': 'Sir Georg Solti, Sumi Jo & Wiener Philharmoniker'}, {'Name': 'Amy Winehouse'}, {'Name': 'Calexico'}, {'Name': 'Otto Klemperer & Philharmonia Orchestra'}, {'Name': 'Philharmonia Orchestra & Sir Neville Marriner'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & Thurston Dart'}, {'Name': 'Les Arts Florissants & William Christie'}, {'Name': 'The 12 Cellists of The Berlin Philharmonic'}, {'Name': 'Adrian Leaper & Doreen de Feis'}, {'Name': 'Roger Norrington, London Classical Players'}, {'Name': "Charles Dutoit & L'Orchestre Symphonique de Montréal"}, {'Name': 'Equale Brass Ensemble, John Eliot Gardiner & Munich Monteverdi Orchestra and Choir'}, {'Name': "Kent Nagano and Orchestre de l'Opéra de Lyon"}, {'Name': 'Julian Bream'}, {'Name': 'Martin Roscoe'}, {'Name': 'Itzhak Perlman'}, {'Name': 'Michele Campanella'}, {'Name': 'Gerald Moore'}, {'Name': 'Mela Tenenbaum, Pro Musica Prague & Richard Kapp'}, {'Name': 'Emerson String Quartet'}, {'Name': 'C. Monteverdi, Nigel Rogers - Chiaroscuro; London Baroque; London Cornett & Sackbu'}, {'Name': 'Nash Ensemble'}, {'Name': 'Philip Glass Ensemble'}]
chinook_1
What are the names of artist who have the letter 'a' in their names?
SELECT Name FROM ARTIST WHERE Name LIKE "%a%"
SELECT Name FROM ARTIST WHERE Name LIKE "%a%"
[{'Name': 'AC/DC'}, {'Name': 'Accept'}, {'Name': 'Aerosmith'}, {'Name': 'Alanis Morissette'}, {'Name': 'Alice In Chains'}, {'Name': 'Antônio Carlos Jobim'}, {'Name': 'Apocalyptica'}, {'Name': 'Audioslave'}, {'Name': 'BackBeat'}, {'Name': 'Billy Cobham'}, {'Name': 'Black Label Society'}, {'Name': 'Black Sabbath'}, {'Name': 'Caetano Veloso'}, {'Name': 'Chico Buarque'}, {'Name': 'Chico Science & Nação Zumbi'}, {'Name': 'Cidade Negra'}, {'Name': 'Various Artists'}, {'Name': 'Frank Zappa & Captain Beefheart'}, {'Name': 'Marcos Valle'}, {'Name': 'Milton Nascimento & Bebeto'}, {'Name': 'Azymuth'}, {'Name': 'Baby Consuelo'}, {'Name': 'Ney Matogrosso'}, {'Name': 'Luiz Melodia'}, {'Name': 'Nando Reis'}, {'Name': 'Pedro Luís & A Parede'}, {'Name': 'O Rappa'}, {'Name': 'Ed Motta'}, {'Name': 'Banda Black Rio'}, {'Name': 'Fernanda Porto'}, {'Name': 'Os Cariocas'}, {'Name': 'Elis Regina'}, {'Name': 'Milton Nascimento'}, {'Name': 'A Cor Do Som'}, {'Name': 'Kid Abelha'}, {'Name': 'Sandra De Sá'}, {'Name': 'Hermeto Pascoal'}, {'Name': 'Barão Vermelho'}, {'Name': 'Edson, DJ Marky & DJ Patife Featuring Fernanda Porto'}, {'Name': 'Metallica'}, {'Name': 'Spyro Gyra'}, {'Name': 'Green Day'}, {'Name': 'David Coverdale'}, {'Name': 'Gonzaguinha'}, {'Name': 'Os Mutantes'}, {'Name': 'Santana'}, {'Name': 'Santana Feat. Dave Matthews'}, {'Name': 'Santana Feat. Everlast'}, {'Name': 'Santana Feat. Rob Thomas'}, {'Name': 'Santana Feat. Lauryn Hill & Cee-Lo'}, {'Name': 'Santana Feat. The Project G&B'}, {'Name': 'Santana Feat. Maná'}, {'Name': 'Santana Feat. Eagle-Eye Cherry'}, {'Name': 'Santana Feat. Eric Clapton'}, {'Name': 'Miles Davis'}, {'Name': 'Gene Krupa'}, {'Name': 'Vinícius De Moraes & Baden Powell'}, {'Name': 'Vinícius De Moraes'}, {'Name': 'Vinícius E Odette Lara'}, {'Name': 'Vinicius, Toquinho & Quarteto Em Cy'}, {'Name': 'Creedence Clearwater Revival'}, {'Name': 'Cássia Eller'}, {'Name': 'Def Leppard'}, {'Name': 'Dennis Chambers'}, {'Name': 'Djavan'}, {'Name': 'Eric Clapton'}, {'Name': 'Faith No More'}, {'Name': 'Falamansa'}, {'Name': 'Frank Sinatra'}, {'Name': 'Funk Como Le Gusta'}, {'Name': 'Godsmack'}, {'Name': 'Iron Maiden'}, {'Name': 'James Brown'}, {'Name': 'Jamiroquai'}, {'Name': 'Joe Satriani'}, {'Name': 'Jota Quest'}, {'Name': 'Judas Priest'}, {'Name': 'Legião Urbana'}, {'Name': 'Lenny Kravitz'}, {'Name': 'Lulu Santos'}, {'Name': 'Marillion'}, {'Name': 'Marisa Monte'}, {'Name': 'Marvin Gaye'}, {'Name': 'Men At Work'}, {'Name': 'Motörhead'}, {'Name': 'Motörhead & Girlschool'}, {'Name': 'Mônica Marianno'}, {'Name': 'Nirvana'}, {'Name': 'Os Paralamas Do Sucesso'}, {'Name': 'Page & Plant'}, {'Name': 'Passengers'}, {'Name': "Paul D'Ianno"}, {'Name': 'Pearl Jam'}, {'Name': 'Planet Hemp'}, {'Name': 'R.E.M. Feat. Kate Pearson'}, {'Name': 'R.E.M. Feat. KRS-One'}, {'Name': 'Raimundos'}, {'Name': 'Raul Seixas'}, {'Name': 'Skank'}, {'Name': 'Smashing Pumpkins'}, {'Name': 'Soundgarden'}, {'Name': 'Stevie Ray Vaughan & Double Trouble'}, {'Name': 'System Of A Down'}, {'Name': 'The Black Crowes'}, {'Name': 'The Clash'}, {'Name': 'The Tea Party'}, {'Name': 'Tim Maia'}, {'Name': 'Battlestar Galactica'}, {'Name': 'Van Halen'}, {'Name': 'Whitesnake'}, {'Name': 'Zeca Pagodinho'}, {'Name': 'Dread Zeppelin'}, {'Name': 'Battlestar Galactica (Classic)'}, {'Name': 'Aquaman'}, {'Name': 'Christina Aguilera featuring BigElf'}, {'Name': "Aerosmith & Sierra Leone's Refugee Allstars"}, {'Name': 'Corinne Bailey Rae'}, {'Name': 'Dhani Harrison & Jakob Dylan'}, {'Name': 'Jackson Browne'}, {'Name': 'Avril Lavigne'}, {'Name': 'Black Eyed Peas'}, {'Name': 'Jack Johnson'}, {'Name': 'Ben Harper'}, {'Name': 'Snow Patrol'}, {'Name': 'Matisyahu'}, {'Name': 'The Postal Service'}, {'Name': 'Jaguares'}, {'Name': 'The Flaming Lips'}, {'Name': "Jack's Mannequin & Mick Fleetwood"}, {'Name': 'Regina Spektor'}, {'Name': 'House Of Pain'}, {'Name': 'Nega Gizza'}, {'Name': 'Gustavo & Andres Veiga & Salazar'}, {'Name': 'Charlie Brown Jr.'}, {'Name': 'Pedro Luís E A Parede'}, {'Name': 'Los Hermanos'}, {'Name': 'Mundo Livre S/A'}, {'Name': 'Nação Zumbi'}, {'Name': 'DJ Dolores & Orchestra Santa Massa'}, {'Name': 'Sabotage E Instituto'}, {'Name': 'Stereo Maracana'}, {'Name': 'Cake'}, {'Name': 'Aisha Duo'}, {'Name': 'Habib Koité and Bamada'}, {'Name': 'Karsh Kale'}, {'Name': 'Luciana Souza/Romero Lubambo'}, {'Name': 'Aaron Goldberg'}, {'Name': 'Nicolaus Esterhazy Sinfonia'}, {'Name': 'Alberto Turco & Nova Schola Gregoriana'}, {'Name': 'Richard Marlow & The Choir of Trinity College, Cambridge'}, {'Name': 'Anne-Sophie Mutter, Herbert Von Karajan & Wiener Philharmoniker'}, {'Name': 'Hilary Hahn, Jeffrey Kahane, Los Angeles Chamber Orchestra & Margaret Batjer'}, {'Name': 'Yo-Yo Ma'}, {'Name': 'Scholars Baroque Ensemble'}, {'Name': 'Academy of St. Martin in the Fields & Sir Neville Marriner'}, {'Name': 'Academy of St. Martin in the Fields Chamber Ensemble & Sir Neville Marriner'}, {'Name': 'Berliner Philharmoniker, Claudio Abbado & Sabine Meyer'}, {'Name': 'Royal Philharmonic Orchestra & Sir Thomas Beecham'}, {'Name': 'Orchestre Révolutionnaire et Romantique & John Eliot Gardiner'}, {'Name': 'Britten Sinfonia, Ivor Bolton & Lesley Garrett'}, {'Name': 'Chicago Symphony Chorus, Chicago Symphony Orchestra & Sir Georg Solti'}, {'Name': 'Sir Georg Solti & Wiener Philharmoniker'}, {'Name': 'Academy of St. Martin in the Fields, John Birch, Sir Neville Marriner & Sylvia McNair'}, {'Name': 'London Symphony Orchestra & Sir Charles Mackerras'}, {'Name': 'Barry Wordsworth & BBC Concert Orchestra'}, {'Name': 'Herbert Von Karajan, Mirella Freni & Wiener Philharmoniker'}, {'Name': 'Eugene Ormandy'}, {'Name': 'Luciano Pavarotti'}, {'Name': 'Leonard Bernstein & New York Philharmonic'}, {'Name': 'Boston Symphony Orchestra & Seiji Ozawa'}, {'Name': 'Aaron Copland & London Symphony Orchestra'}, {'Name': 'Ton Koopman'}, {'Name': 'Sergei Prokofiev & Yuri Temirkanov'}, {'Name': 'Chicago Symphony Orchestra & Fritz Reiner'}, {'Name': 'Orchestra of The Age of Enlightenment'}, {'Name': 'Emanuel Ax, Eugene Ormandy & Philadelphia Orchestra'}, {'Name': 'James Levine'}, {'Name': 'Berliner Philharmoniker & Hans Rosbaud'}, {'Name': 'Maurizio Pollini'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & William Bennett'}, {'Name': 'Gustav Mahler'}, {'Name': 'Felix Schmidt, London Symphony Orchestra & Rafael Frühbeck de Burgos'}, {'Name': 'Edo de Waart & San Francisco Symphony'}, {'Name': 'Antal Doráti & London Symphony Orchestra'}, {'Name': 'Choir Of Westminster Abbey & Simon Preston'}, {'Name': 'Michael Tilson Thomas & San Francisco Symphony'}, {'Name': 'Chor der Wiener Staatsoper, Herbert Von Karajan & Wiener Philharmoniker'}, {'Name': 'Berliner Philharmoniker & Herbert Von Karajan'}, {'Name': 'Sir Georg Solti, Sumi Jo & Wiener Philharmoniker'}, {'Name': 'Amy Winehouse'}, {'Name': 'Calexico'}, {'Name': 'Otto Klemperer & Philharmonia Orchestra'}, {'Name': 'Philharmonia Orchestra & Sir Neville Marriner'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & Thurston Dart'}, {'Name': 'Les Arts Florissants & William Christie'}, {'Name': 'The 12 Cellists of The Berlin Philharmonic'}, {'Name': 'Adrian Leaper & Doreen de Feis'}, {'Name': 'Roger Norrington, London Classical Players'}, {'Name': "Charles Dutoit & L'Orchestre Symphonique de Montréal"}, {'Name': 'Equale Brass Ensemble, John Eliot Gardiner & Munich Monteverdi Orchestra and Choir'}, {'Name': "Kent Nagano and Orchestre de l'Opéra de Lyon"}, {'Name': 'Julian Bream'}, {'Name': 'Martin Roscoe'}, {'Name': 'Itzhak Perlman'}, {'Name': 'Michele Campanella'}, {'Name': 'Gerald Moore'}, {'Name': 'Mela Tenenbaum, Pro Musica Prague & Richard Kapp'}, {'Name': 'Emerson String Quartet'}, {'Name': 'C. Monteverdi, Nigel Rogers - Chiaroscuro; London Baroque; London Cornett & Sackbu'}, {'Name': 'Nash Ensemble'}, {'Name': 'Philip Glass Ensemble'}]
chinook_1
Find the title of all the albums of the artist "AC/DC".
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
[{'Title': 'For Those About To Rock We Salute You'}, {'Title': 'Let There Be Rock'}]
chinook_1
What are the titles of albums by the artist "AC/DC"?
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
[{'Title': 'For Those About To Rock We Salute You'}, {'Title': 'Let There Be Rock'}]
chinook_1
Hom many albums does the artist "Metallica" have?
SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "Metallica"
SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "Metallica"
[{'COUNT(*)': 10}]
chinook_1
Find the number of albums by the artist "Metallica".
SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "Metallica"
SELECT COUNT(*) FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "Metallica"
[{'COUNT(*)': 10}]
chinook_1
Which artist does the album "Balls to the Wall" belong to?
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
[{'Name': 'Accept'}]
chinook_1
Find the name of the artist who made the album "Balls to the Wall".
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
[{'Name': 'Accept'}]
chinook_1
Which artist has the most albums?
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1
[{'Name': 'Iron Maiden'}]
chinook_1
What is the name of the artist with the greatest number of albums?
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1
[{'Name': 'Iron Maiden'}]
chinook_1
Find the names of all the tracks that contain the word "you".
SELECT Name FROM TRACK WHERE Name LIKE '%you%'
SELECT Name FROM TRACK WHERE Name LIKE '%you%'
[{'Name': 'For Those About To Rock (We Salute You)'}, {'Name': 'Put The Finger On You'}, {'Name': 'You Oughta Know'}, {'Name': 'Right Through You'}, {'Name': 'You Learn'}, {'Name': 'You Oughta Know (Alternate)'}, {'Name': 'We Die Young'}, {'Name': 'Put You Down'}, {'Name': 'I Know Somethin (Bout You)'}, {'Name': 'What You Are'}, {'Name': 'Your Time Has Come'}, {'Name': 'Be Yourself'}, {'Name': 'All For You'}, {'Name': 'Let Me Love You Baby'}, {'Name': 'Keep It To Myself (Aka Keep It To Yourself)'}, {'Name': 'You Shook Me'}, {'Name': "I Can't Quit You Baby"}, {'Name': "I Can't Quit You Baby(2)"}, {'Name': 'You Shook Me(2)'}, {'Name': 'Do You Love Me'}, {'Name': 'I Was Made For Loving You'}, {'Name': "God Gave Rock 'n' Roll To You"}, {'Name': 'Good Riddance (Time Of Your Life)'}, {'Name': "Don't You Cry"}, {'Name': 'Wherever You May Go'}, {'Name': 'You Fool No One'}, {'Name': 'Put Your Lights On'}, {'Name': 'Do You Like The Way'}, {'Name': 'Do You Have Other Loves?'}, {'Name': 'You Fool No One (Alternate Version)'}, {'Name': "Don't Take Your Love From Me"}, {'Name': 'I Put A Spell On You'}, {'Name': 'Have You Ever Seen The Rain?'}, {'Name': 'Born On The Bayou'}, {'Name': 'Before You Accuse Me'}, {'Name': 'You Keep On Moving'}, {'Name': 'Knocking At Your Back Door'}, {'Name': "Cascades : I'm Not Your Lover"}, {'Name': "You Can't Do it Right (With the One You Love)"}, {'Name': 'Have You Ever Needed Someone So Bad'}, {'Name': 'Sunshine Of Your Love'}, {'Name': 'Before You Accuse Me'}, {'Name': "Nobody Knows You When You're Down & Out"}, {'Name': "Surprise! You're Dead!"}, {'Name': 'In Your Honor'}, {'Name': 'Best Of You'}, {'Name': 'Tired Of You'}, {'Name': 'Lonely As You'}, {'Name': 'See You'}, {'Name': 'Walking After You'}, {'Name': 'I Get A Kick Out Of You'}, {'Name': "I've Got You Under My Skin"}, {'Name': 'I Fucking Hate You'}, {'Name': "Homecoming / The Death Of St. Jimmy / East 12th St. / Nobody Likes You / Rock And Roll Girlfriend / We're Coming Home Again"}, {'Name': 'Think About You'}, {'Name': "You're Crazy"}, {'Name': "You Ain't the First"}, {'Name': 'You Could Be Mine'}, {'Name': 'Bring Your Daughter... To The Slaughter'}, {'Name': 'Die With Your Boots On'}, {'Name': 'Bring Your Daughter... To The Slaughter...'}, {'Name': 'Hooks In You'}, {'Name': 'Bring Your Daughter... ...To The Slaughter'}, {'Name': 'Die With Your Boots On'}, {'Name': 'Only the Good Die Young'}, {'Name': 'I Got You (I Feel Good)'}, {'Name': 'When You Gonna Learn (Digeridoo)'}, {'Name': 'Too Young To Die'}, {'Name': 'Blow Your Mind'}, {'Name': 'Are You Gonna Be My Girl'}, {'Name': "Look What You've Done"}, {'Name': 'Get What You Need'}, {'Name': 'Can You See Me'}, {'Name': 'Are You Experienced?'}, {'Name': 'Always With Me, Always With You'}, {'Name': "You've Got Another Thing Comin'"}, {'Name': 'Do You Love Me'}, {'Name': 'See You Tonight'}, {'Name': 'I Still Love You'}, {'Name': 'Every Time I Look At You'}, {'Name': "Since I've Been Loving You"}, {'Name': 'Thank You'}, {'Name': "I Can't Quit You Baby"}, {'Name': "Babe I'm Gonna Leave You"}, {'Name': 'You Shook Me'}, {'Name': 'Your Time Is Gonna Come'}, {'Name': "I Can't Quit You Baby"}, {'Name': 'Thank You'}, {'Name': "Since I've Been Loving You"}, {'Name': 'For Your Life'}, {'Name': 'Are You Gonna Go My Way'}, {'Name': "Can't Get You Off My Mind"}, {'Name': 'I Belong To You'}, {'Name': 'No Good Without You'}, {'Name': "You've Been A Long Time Coming"}, {'Name': 'When I Had Your Love'}, {'Name': "You're What's Happening (In The World Today)"}, {'Name': 'Loving You Is Sweeter Than Ever'}, {'Name': 'Seek And You Shall Find'}, {'Name': "Gonna Keep On Tryin' Till I Win Your Love"}, {'Name': 'You Sure Love To Ball'}, {'Name': 'Better Than You'}, {'Name': "I Don't Wanna Be Kissed (By Anyone But You)"}, {'Name': "I Don't Wanna Be Kissed (By Anyone But You) (Alternate Take)"}, {'Name': 'Shoot You In The Back'}, {'Name': 'Without You'}, {'Name': 'Drain You'}, {'Name': 'Come As You Are'}, {'Name': 'Drain You'}, {'Name': 'I Feel Good (I Got You) - Sossego'}, {'Name': 'When The World Was Young'}, {'Name': 'Heart In Your Hand'}, {'Name': 'Your Blue Room'}, {'Name': 'Save You'}, {'Name': 'You Are'}, {'Name': 'Any Colour You Like'}, {'Name': "You're My Best Friend"}, {'Name': 'We Will Rock You'}, {'Name': 'We Will Rock You'}, {'Name': 'Spread Your Wings'}, {'Name': 'Who Needs You'}, {'Name': 'You Are The Everything'}, {'Name': 'Turn You Inside-Out'}, {'Name': 'If You Have To Ask'}, {'Name': 'I Could Die For You'}, {'Name': 'Throw Away Your Television'}, {'Name': 'The Way You Do To Mer'}, {'Name': "You've Got It"}, {'Name': "If You Don't Know Me By Now"}, {'Name': 'Your Mirror'}, {'Name': 'For Your Babies'}, {'Name': 'Because You Are'}, {'Name': 'Stand Inside Your Love'}, {'Name': 'Let Me Love You Baby'}, {'Name': 'Know Your Rights'}, {'Name': 'I Looked At You'}, {'Name': "Can't Stand Losing You"}, {'Name': 'Every Breath You Take'}, {'Name': 'Wrapped Around Your Finger'}, {'Name': 'You Got Me Rocking'}, {'Name': 'You Got Me Rocking'}, {'Name': 'Who Are You (Single Edit Version)'}, {'Name': 'You Better You Bet'}, {'Name': 'Taking a Break from All Your Worries'}, {'Name': 'Flashes Before Your Eyes'}, {'Name': "Who's Gonna Ride Your Wild Horses"}, {'Name': "Tryin' To Throw Your Arms Around The World"}, {'Name': "Stuck In A Moment You Can't Get Out Of"}, {'Name': "Sometimes You Can't Make It On Your Own"}, {'Name': 'All Because Of You'}, {'Name': 'Crumbs From Your Table'}, {'Name': 'Do You Feel Loved'}, {'Name': 'If You Wear That Velvet Dress'}, {'Name': 'All I Want Is You'}, {'Name': 'With Or Without You'}, {'Name': 'All I Want Is You'}, {'Name': "Daddy's Gonna Pay For Your Crashed Car"}, {'Name': 'I Would Do For You'}, {'Name': 'Wear You To The Ball'}, {'Name': "(I Can't Help) Falling In Love With You"}, {'Name': 'Bring Me Your Cup'}, {'Name': "Can't Stop Loving You"}, {'Name': 'You Really Got Me'}, {'Name': 'Feel Your Love Tonight'}, {'Name': 'Without You'}, {'Name': 'You Got No Right'}, {'Name': "Now You're Gone"}, {'Name': "You're Gonna Break My Hart Again"}, {'Name': 'Fool For Your Loving'}, {'Name': 'Take Your Daughter to Work Day'}, {'Name': 'Your Time Is Gonna Come'}, {'Name': 'The Young Lords'}, {'Name': 'Whatever Gets You Thru the Night'}, {'Name': "I'm Losing You"}, {'Name': 'Rock You Like a Hurricane'}, {'Name': 'No One Like You'}, {'Name': 'Loving You Sunday Morning'}, {'Name': 'Still Loving You'}, {'Name': 'Put Your Head Out'}, {'Name': 'Put On Your Shit Kickers'}, {'Name': "I Guess You're Right"}, {'Name': 'I Ka Barra (Your Work)'}, {'Name': 'Your Savior'}, {'Name': 'Arms Around Your Love'}, {'Name': "She'll Never Be Your Man"}, {'Name': 'Your Soul Today'}, {'Name': 'You Know My Name'}, {'Name': 'The Messiah: Behold, I Tell You a Mystery... The Trumpet Shall Sound'}, {'Name': "You Know I'm No Good"}, {'Name': "You Know I'm No Good (feat. Ghostface Killah)"}, {'Name': 'You Sent Me Flying / Cherry'}, {'Name': 'Help Yourself'}]
chinook_1
What are the names of tracks that contain the the word you in them?
SELECT Name FROM TRACK WHERE Name LIKE '%you%'
SELECT Name FROM TRACK WHERE Name LIKE '%you%'
[{'Name': 'For Those About To Rock (We Salute You)'}, {'Name': 'Put The Finger On You'}, {'Name': 'You Oughta Know'}, {'Name': 'Right Through You'}, {'Name': 'You Learn'}, {'Name': 'You Oughta Know (Alternate)'}, {'Name': 'We Die Young'}, {'Name': 'Put You Down'}, {'Name': 'I Know Somethin (Bout You)'}, {'Name': 'What You Are'}, {'Name': 'Your Time Has Come'}, {'Name': 'Be Yourself'}, {'Name': 'All For You'}, {'Name': 'Let Me Love You Baby'}, {'Name': 'Keep It To Myself (Aka Keep It To Yourself)'}, {'Name': 'You Shook Me'}, {'Name': "I Can't Quit You Baby"}, {'Name': "I Can't Quit You Baby(2)"}, {'Name': 'You Shook Me(2)'}, {'Name': 'Do You Love Me'}, {'Name': 'I Was Made For Loving You'}, {'Name': "God Gave Rock 'n' Roll To You"}, {'Name': 'Good Riddance (Time Of Your Life)'}, {'Name': "Don't You Cry"}, {'Name': 'Wherever You May Go'}, {'Name': 'You Fool No One'}, {'Name': 'Put Your Lights On'}, {'Name': 'Do You Like The Way'}, {'Name': 'Do You Have Other Loves?'}, {'Name': 'You Fool No One (Alternate Version)'}, {'Name': "Don't Take Your Love From Me"}, {'Name': 'I Put A Spell On You'}, {'Name': 'Have You Ever Seen The Rain?'}, {'Name': 'Born On The Bayou'}, {'Name': 'Before You Accuse Me'}, {'Name': 'You Keep On Moving'}, {'Name': 'Knocking At Your Back Door'}, {'Name': "Cascades : I'm Not Your Lover"}, {'Name': "You Can't Do it Right (With the One You Love)"}, {'Name': 'Have You Ever Needed Someone So Bad'}, {'Name': 'Sunshine Of Your Love'}, {'Name': 'Before You Accuse Me'}, {'Name': "Nobody Knows You When You're Down & Out"}, {'Name': "Surprise! You're Dead!"}, {'Name': 'In Your Honor'}, {'Name': 'Best Of You'}, {'Name': 'Tired Of You'}, {'Name': 'Lonely As You'}, {'Name': 'See You'}, {'Name': 'Walking After You'}, {'Name': 'I Get A Kick Out Of You'}, {'Name': "I've Got You Under My Skin"}, {'Name': 'I Fucking Hate You'}, {'Name': "Homecoming / The Death Of St. Jimmy / East 12th St. / Nobody Likes You / Rock And Roll Girlfriend / We're Coming Home Again"}, {'Name': 'Think About You'}, {'Name': "You're Crazy"}, {'Name': "You Ain't the First"}, {'Name': 'You Could Be Mine'}, {'Name': 'Bring Your Daughter... To The Slaughter'}, {'Name': 'Die With Your Boots On'}, {'Name': 'Bring Your Daughter... To The Slaughter...'}, {'Name': 'Hooks In You'}, {'Name': 'Bring Your Daughter... ...To The Slaughter'}, {'Name': 'Die With Your Boots On'}, {'Name': 'Only the Good Die Young'}, {'Name': 'I Got You (I Feel Good)'}, {'Name': 'When You Gonna Learn (Digeridoo)'}, {'Name': 'Too Young To Die'}, {'Name': 'Blow Your Mind'}, {'Name': 'Are You Gonna Be My Girl'}, {'Name': "Look What You've Done"}, {'Name': 'Get What You Need'}, {'Name': 'Can You See Me'}, {'Name': 'Are You Experienced?'}, {'Name': 'Always With Me, Always With You'}, {'Name': "You've Got Another Thing Comin'"}, {'Name': 'Do You Love Me'}, {'Name': 'See You Tonight'}, {'Name': 'I Still Love You'}, {'Name': 'Every Time I Look At You'}, {'Name': "Since I've Been Loving You"}, {'Name': 'Thank You'}, {'Name': "I Can't Quit You Baby"}, {'Name': "Babe I'm Gonna Leave You"}, {'Name': 'You Shook Me'}, {'Name': 'Your Time Is Gonna Come'}, {'Name': "I Can't Quit You Baby"}, {'Name': 'Thank You'}, {'Name': "Since I've Been Loving You"}, {'Name': 'For Your Life'}, {'Name': 'Are You Gonna Go My Way'}, {'Name': "Can't Get You Off My Mind"}, {'Name': 'I Belong To You'}, {'Name': 'No Good Without You'}, {'Name': "You've Been A Long Time Coming"}, {'Name': 'When I Had Your Love'}, {'Name': "You're What's Happening (In The World Today)"}, {'Name': 'Loving You Is Sweeter Than Ever'}, {'Name': 'Seek And You Shall Find'}, {'Name': "Gonna Keep On Tryin' Till I Win Your Love"}, {'Name': 'You Sure Love To Ball'}, {'Name': 'Better Than You'}, {'Name': "I Don't Wanna Be Kissed (By Anyone But You)"}, {'Name': "I Don't Wanna Be Kissed (By Anyone But You) (Alternate Take)"}, {'Name': 'Shoot You In The Back'}, {'Name': 'Without You'}, {'Name': 'Drain You'}, {'Name': 'Come As You Are'}, {'Name': 'Drain You'}, {'Name': 'I Feel Good (I Got You) - Sossego'}, {'Name': 'When The World Was Young'}, {'Name': 'Heart In Your Hand'}, {'Name': 'Your Blue Room'}, {'Name': 'Save You'}, {'Name': 'You Are'}, {'Name': 'Any Colour You Like'}, {'Name': "You're My Best Friend"}, {'Name': 'We Will Rock You'}, {'Name': 'We Will Rock You'}, {'Name': 'Spread Your Wings'}, {'Name': 'Who Needs You'}, {'Name': 'You Are The Everything'}, {'Name': 'Turn You Inside-Out'}, {'Name': 'If You Have To Ask'}, {'Name': 'I Could Die For You'}, {'Name': 'Throw Away Your Television'}, {'Name': 'The Way You Do To Mer'}, {'Name': "You've Got It"}, {'Name': "If You Don't Know Me By Now"}, {'Name': 'Your Mirror'}, {'Name': 'For Your Babies'}, {'Name': 'Because You Are'}, {'Name': 'Stand Inside Your Love'}, {'Name': 'Let Me Love You Baby'}, {'Name': 'Know Your Rights'}, {'Name': 'I Looked At You'}, {'Name': "Can't Stand Losing You"}, {'Name': 'Every Breath You Take'}, {'Name': 'Wrapped Around Your Finger'}, {'Name': 'You Got Me Rocking'}, {'Name': 'You Got Me Rocking'}, {'Name': 'Who Are You (Single Edit Version)'}, {'Name': 'You Better You Bet'}, {'Name': 'Taking a Break from All Your Worries'}, {'Name': 'Flashes Before Your Eyes'}, {'Name': "Who's Gonna Ride Your Wild Horses"}, {'Name': "Tryin' To Throw Your Arms Around The World"}, {'Name': "Stuck In A Moment You Can't Get Out Of"}, {'Name': "Sometimes You Can't Make It On Your Own"}, {'Name': 'All Because Of You'}, {'Name': 'Crumbs From Your Table'}, {'Name': 'Do You Feel Loved'}, {'Name': 'If You Wear That Velvet Dress'}, {'Name': 'All I Want Is You'}, {'Name': 'With Or Without You'}, {'Name': 'All I Want Is You'}, {'Name': "Daddy's Gonna Pay For Your Crashed Car"}, {'Name': 'I Would Do For You'}, {'Name': 'Wear You To The Ball'}, {'Name': "(I Can't Help) Falling In Love With You"}, {'Name': 'Bring Me Your Cup'}, {'Name': "Can't Stop Loving You"}, {'Name': 'You Really Got Me'}, {'Name': 'Feel Your Love Tonight'}, {'Name': 'Without You'}, {'Name': 'You Got No Right'}, {'Name': "Now You're Gone"}, {'Name': "You're Gonna Break My Hart Again"}, {'Name': 'Fool For Your Loving'}, {'Name': 'Take Your Daughter to Work Day'}, {'Name': 'Your Time Is Gonna Come'}, {'Name': 'The Young Lords'}, {'Name': 'Whatever Gets You Thru the Night'}, {'Name': "I'm Losing You"}, {'Name': 'Rock You Like a Hurricane'}, {'Name': 'No One Like You'}, {'Name': 'Loving You Sunday Morning'}, {'Name': 'Still Loving You'}, {'Name': 'Put Your Head Out'}, {'Name': 'Put On Your Shit Kickers'}, {'Name': "I Guess You're Right"}, {'Name': 'I Ka Barra (Your Work)'}, {'Name': 'Your Savior'}, {'Name': 'Arms Around Your Love'}, {'Name': "She'll Never Be Your Man"}, {'Name': 'Your Soul Today'}, {'Name': 'You Know My Name'}, {'Name': 'The Messiah: Behold, I Tell You a Mystery... The Trumpet Shall Sound'}, {'Name': "You Know I'm No Good"}, {'Name': "You Know I'm No Good (feat. Ghostface Killah)"}, {'Name': 'You Sent Me Flying / Cherry'}, {'Name': 'Help Yourself'}]
chinook_1
What is the average unit price of all the tracks?
SELECT AVG(UnitPrice) FROM TRACK
SELECT AVG(UnitPrice) FROM TRACK
[{'AVG(UnitPrice)': 1.0508050242648312}]
chinook_1
Find the average unit price for a track.
SELECT AVG(UnitPrice) FROM TRACK
SELECT AVG(UnitPrice) FROM TRACK
[{'AVG(UnitPrice)': 1.0508050242648312}]
chinook_1
What are the durations of the longest and the shortest tracks in milliseconds?
SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK
SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK
[{'max(Milliseconds)': 5286953, 'min(Milliseconds)': 1071}]
chinook_1
Find the maximum and minimum durations of tracks in milliseconds.
SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK
SELECT max(Milliseconds) , min(Milliseconds) FROM TRACK
[{'max(Milliseconds)': 5286953, 'min(Milliseconds)': 1071}]
chinook_1
Show the album names, ids and the number of tracks for each album.
SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID
SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID
[{'Title': 'For Those About To Rock We Salute You', 'AlbumId': 1, 'COUNT(*)': 10}, {'Title': 'Balls to the Wall', 'AlbumId': 2, 'COUNT(*)': 1}, {'Title': 'Restless and Wild', 'AlbumId': 3, 'COUNT(*)': 3}, {'Title': 'Let There Be Rock', 'AlbumId': 4, 'COUNT(*)': 8}, {'Title': 'Big Ones', 'AlbumId': 5, 'COUNT(*)': 15}, {'Title': 'Jagged Little Pill', 'AlbumId': 6, 'COUNT(*)': 13}, {'Title': 'Facelift', 'AlbumId': 7, 'COUNT(*)': 12}, {'Title': 'Warner 25 Anos', 'AlbumId': 8, 'COUNT(*)': 14}, {'Title': 'Plays Metallica By Four Cellos', 'AlbumId': 9, 'COUNT(*)': 8}, {'Title': 'Audioslave', 'AlbumId': 10, 'COUNT(*)': 14}, {'Title': 'Out Of Exile', 'AlbumId': 11, 'COUNT(*)': 12}, {'Title': 'BackBeat Soundtrack', 'AlbumId': 12, 'COUNT(*)': 12}, {'Title': 'The Best Of Billy Cobham', 'AlbumId': 13, 'COUNT(*)': 8}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 1]', 'AlbumId': 14, 'COUNT(*)': 13}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 2]', 'AlbumId': 15, 'COUNT(*)': 5}, {'Title': 'Black Sabbath', 'AlbumId': 16, 'COUNT(*)': 7}, {'Title': 'Black Sabbath Vol. 4 (Remaster)', 'AlbumId': 17, 'COUNT(*)': 10}, {'Title': 'Body Count', 'AlbumId': 18, 'COUNT(*)': 17}, {'Title': 'Chemical Wedding', 'AlbumId': 19, 'COUNT(*)': 11}, {'Title': 'The Best Of Buddy Guy - The Millenium Collection', 'AlbumId': 20, 'COUNT(*)': 11}, {'Title': 'Prenda Minha', 'AlbumId': 21, 'COUNT(*)': 18}, {'Title': 'Sozinho Remix Ao Vivo', 'AlbumId': 22, 'COUNT(*)': 3}, {'Title': 'Minha Historia', 'AlbumId': 23, 'COUNT(*)': 34}, {'Title': 'Afrociberdelia', 'AlbumId': 24, 'COUNT(*)': 23}, {'Title': 'Da Lama Ao Caos', 'AlbumId': 25, 'COUNT(*)': 13}, {'Title': 'Acústico MTV [Live]', 'AlbumId': 26, 'COUNT(*)': 17}, {'Title': 'Cidade Negra - Hits', 'AlbumId': 27, 'COUNT(*)': 14}, {'Title': 'Na Pista', 'AlbumId': 28, 'COUNT(*)': 10}, {'Title': 'Axé Bahia 2001', 'AlbumId': 29, 'COUNT(*)': 14}, {'Title': 'BBC Sessions [Disc 1] [Live]', 'AlbumId': 30, 'COUNT(*)': 14}, {'Title': 'Bongo Fury', 'AlbumId': 31, 'COUNT(*)': 9}, {'Title': 'Carnaval 2001', 'AlbumId': 32, 'COUNT(*)': 14}, {'Title': 'Chill: Brazil (Disc 1)', 'AlbumId': 33, 'COUNT(*)': 17}, {'Title': 'Chill: Brazil (Disc 2)', 'AlbumId': 34, 'COUNT(*)': 17}, {'Title': 'Garage Inc. (Disc 1)', 'AlbumId': 35, 'COUNT(*)': 11}, {'Title': 'Greatest Hits II', 'AlbumId': 36, 'COUNT(*)': 17}, {'Title': 'Greatest Kiss', 'AlbumId': 37, 'COUNT(*)': 20}, {'Title': 'Heart of the Night', 'AlbumId': 38, 'COUNT(*)': 12}, {'Title': 'International Superhits', 'AlbumId': 39, 'COUNT(*)': 21}, {'Title': 'Into The Light', 'AlbumId': 40, 'COUNT(*)': 12}, {'Title': 'Meus Momentos', 'AlbumId': 41, 'COUNT(*)': 14}, {'Title': 'Minha História', 'AlbumId': 42, 'COUNT(*)': 14}, {'Title': 'MK III The Final Concerts [Disc 1]', 'AlbumId': 43, 'COUNT(*)': 7}, {'Title': 'Physical Graffiti [Disc 1]', 'AlbumId': 44, 'COUNT(*)': 6}, {'Title': 'Sambas De Enredo 2001', 'AlbumId': 45, 'COUNT(*)': 14}, {'Title': 'Supernatural', 'AlbumId': 46, 'COUNT(*)': 13}, {'Title': 'The Best of Ed Motta', 'AlbumId': 47, 'COUNT(*)': 14}, {'Title': 'The Essential Miles Davis [Disc 1]', 'AlbumId': 48, 'COUNT(*)': 13}, {'Title': 'The Essential Miles Davis [Disc 2]', 'AlbumId': 49, 'COUNT(*)': 10}, {'Title': 'The Final Concerts (Disc 2)', 'AlbumId': 50, 'COUNT(*)': 4}, {'Title': "Up An' Atom", 'AlbumId': 51, 'COUNT(*)': 22}, {'Title': 'Vinícius De Moraes - Sem Limite', 'AlbumId': 52, 'COUNT(*)': 15}, {'Title': 'Vozes do MPB', 'AlbumId': 53, 'COUNT(*)': 14}, {'Title': 'Chronicle, Vol. 1', 'AlbumId': 54, 'COUNT(*)': 20}, {'Title': 'Chronicle, Vol. 2', 'AlbumId': 55, 'COUNT(*)': 20}, {'Title': 'Cássia Eller - Coleção Sem Limite [Disc 2]', 'AlbumId': 56, 'COUNT(*)': 15}, {'Title': 'Cássia Eller - Sem Limite [Disc 1]', 'AlbumId': 57, 'COUNT(*)': 15}, {'Title': 'Come Taste The Band', 'AlbumId': 58, 'COUNT(*)': 9}, {'Title': 'Deep Purple In Rock', 'AlbumId': 59, 'COUNT(*)': 7}, {'Title': 'Fireball', 'AlbumId': 60, 'COUNT(*)': 7}, {'Title': "Knocking at Your Back Door: The Best Of Deep Purple in the 80's", 'AlbumId': 61, 'COUNT(*)': 11}, {'Title': 'Machine Head', 'AlbumId': 62, 'COUNT(*)': 7}, {'Title': 'Purpendicular', 'AlbumId': 63, 'COUNT(*)': 12}, {'Title': 'Slaves And Masters', 'AlbumId': 64, 'COUNT(*)': 9}, {'Title': 'Stormbringer', 'AlbumId': 65, 'COUNT(*)': 9}, {'Title': 'The Battle Rages On', 'AlbumId': 66, 'COUNT(*)': 10}, {'Title': "Vault: Def Leppard's Greatest Hits", 'AlbumId': 67, 'COUNT(*)': 16}, {'Title': 'Outbreak', 'AlbumId': 68, 'COUNT(*)': 9}, {'Title': 'Djavan Ao Vivo - Vol. 02', 'AlbumId': 69, 'COUNT(*)': 13}, {'Title': 'Djavan Ao Vivo - Vol. 1', 'AlbumId': 70, 'COUNT(*)': 13}, {'Title': 'Elis Regina-Minha História', 'AlbumId': 71, 'COUNT(*)': 14}, {'Title': 'The Cream Of Clapton', 'AlbumId': 72, 'COUNT(*)': 18}, {'Title': 'Unplugged', 'AlbumId': 73, 'COUNT(*)': 30}, {'Title': 'Album Of The Year', 'AlbumId': 74, 'COUNT(*)': 12}, {'Title': 'Angel Dust', 'AlbumId': 75, 'COUNT(*)': 14}, {'Title': 'King For A Day Fool For A Lifetime', 'AlbumId': 76, 'COUNT(*)': 15}, {'Title': 'The Real Thing', 'AlbumId': 77, 'COUNT(*)': 11}, {'Title': 'Deixa Entrar', 'AlbumId': 78, 'COUNT(*)': 14}, {'Title': 'In Your Honor [Disc 1]', 'AlbumId': 79, 'COUNT(*)': 10}, {'Title': 'In Your Honor [Disc 2]', 'AlbumId': 80, 'COUNT(*)': 10}, {'Title': 'One By One', 'AlbumId': 81, 'COUNT(*)': 11}, {'Title': 'The Colour And The Shape', 'AlbumId': 82, 'COUNT(*)': 13}, {'Title': 'My Way: The Best Of Frank Sinatra [Disc 1]', 'AlbumId': 83, 'COUNT(*)': 24}, {'Title': 'Roda De Funk', 'AlbumId': 84, 'COUNT(*)': 16}, {'Title': 'As Canções de Eu Tu Eles', 'AlbumId': 85, 'COUNT(*)': 14}, {'Title': 'Quanta Gente Veio Ver (Live)', 'AlbumId': 86, 'COUNT(*)': 15}, {'Title': 'Quanta Gente Veio ver--Bônus De Carnaval', 'AlbumId': 87, 'COUNT(*)': 3}, {'Title': 'Faceless', 'AlbumId': 88, 'COUNT(*)': 12}, {'Title': 'American Idiot', 'AlbumId': 89, 'COUNT(*)': 13}, {'Title': 'Appetite for Destruction', 'AlbumId': 90, 'COUNT(*)': 12}, {'Title': 'Use Your Illusion I', 'AlbumId': 91, 'COUNT(*)': 16}, {'Title': 'Use Your Illusion II', 'AlbumId': 92, 'COUNT(*)': 14}, {'Title': 'Blue Moods', 'AlbumId': 93, 'COUNT(*)': 13}, {'Title': 'A Matter of Life and Death', 'AlbumId': 94, 'COUNT(*)': 11}, {'Title': 'A Real Dead One', 'AlbumId': 95, 'COUNT(*)': 12}, {'Title': 'A Real Live One', 'AlbumId': 96, 'COUNT(*)': 11}, {'Title': 'Brave New World', 'AlbumId': 97, 'COUNT(*)': 10}, {'Title': 'Dance Of Death', 'AlbumId': 98, 'COUNT(*)': 11}, {'Title': 'Fear Of The Dark', 'AlbumId': 99, 'COUNT(*)': 12}, {'Title': 'Iron Maiden', 'AlbumId': 100, 'COUNT(*)': 9}, {'Title': 'Killers', 'AlbumId': 101, 'COUNT(*)': 10}, {'Title': 'Live After Death', 'AlbumId': 102, 'COUNT(*)': 18}, {'Title': 'Live At Donington 1992 (Disc 1)', 'AlbumId': 103, 'COUNT(*)': 10}, {'Title': 'Live At Donington 1992 (Disc 2)', 'AlbumId': 104, 'COUNT(*)': 10}, {'Title': 'No Prayer For The Dying', 'AlbumId': 105, 'COUNT(*)': 10}, {'Title': 'Piece Of Mind', 'AlbumId': 106, 'COUNT(*)': 9}, {'Title': 'Powerslave', 'AlbumId': 107, 'COUNT(*)': 8}, {'Title': 'Rock In Rio [CD1]', 'AlbumId': 108, 'COUNT(*)': 10}, {'Title': 'Rock In Rio [CD2]', 'AlbumId': 109, 'COUNT(*)': 9}, {'Title': 'Seventh Son of a Seventh Son', 'AlbumId': 110, 'COUNT(*)': 8}, {'Title': 'Somewhere in Time', 'AlbumId': 111, 'COUNT(*)': 8}, {'Title': 'The Number of The Beast', 'AlbumId': 112, 'COUNT(*)': 8}, {'Title': 'The X Factor', 'AlbumId': 113, 'COUNT(*)': 11}, {'Title': 'Virtual XI', 'AlbumId': 114, 'COUNT(*)': 8}, {'Title': 'Sex Machine', 'AlbumId': 115, 'COUNT(*)': 20}, {'Title': 'Emergency On Planet Earth', 'AlbumId': 116, 'COUNT(*)': 10}, {'Title': 'Synkronized', 'AlbumId': 117, 'COUNT(*)': 11}, {'Title': 'The Return Of The Space Cowboy', 'AlbumId': 118, 'COUNT(*)': 11}, {'Title': 'Get Born', 'AlbumId': 119, 'COUNT(*)': 13}, {'Title': 'Are You Experienced?', 'AlbumId': 120, 'COUNT(*)': 17}, {'Title': 'Surfing with the Alien (Remastered)', 'AlbumId': 121, 'COUNT(*)': 10}, {'Title': 'Jorge Ben Jor 25 Anos', 'AlbumId': 122, 'COUNT(*)': 14}, {'Title': 'Jota Quest-1995', 'AlbumId': 123, 'COUNT(*)': 12}, {'Title': 'Cafezinho', 'AlbumId': 124, 'COUNT(*)': 14}, {'Title': 'Living After Midnight', 'AlbumId': 125, 'COUNT(*)': 16}, {'Title': 'Unplugged [Live]', 'AlbumId': 126, 'COUNT(*)': 15}, {'Title': 'BBC Sessions [Disc 2] [Live]', 'AlbumId': 127, 'COUNT(*)': 10}, {'Title': 'Coda', 'AlbumId': 128, 'COUNT(*)': 8}, {'Title': 'Houses Of The Holy', 'AlbumId': 129, 'COUNT(*)': 8}, {'Title': 'In Through The Out Door', 'AlbumId': 130, 'COUNT(*)': 7}, {'Title': 'IV', 'AlbumId': 131, 'COUNT(*)': 8}, {'Title': 'Led Zeppelin I', 'AlbumId': 132, 'COUNT(*)': 9}, {'Title': 'Led Zeppelin II', 'AlbumId': 133, 'COUNT(*)': 9}, {'Title': 'Led Zeppelin III', 'AlbumId': 134, 'COUNT(*)': 10}, {'Title': 'Physical Graffiti [Disc 2]', 'AlbumId': 135, 'COUNT(*)': 9}, {'Title': 'Presence', 'AlbumId': 136, 'COUNT(*)': 7}, {'Title': 'The Song Remains The Same (Disc 1)', 'AlbumId': 137, 'COUNT(*)': 5}, {'Title': 'The Song Remains The Same (Disc 2)', 'AlbumId': 138, 'COUNT(*)': 4}, {'Title': 'A TempestadeTempestade Ou O Livro Dos Dias', 'AlbumId': 139, 'COUNT(*)': 15}, {'Title': 'Mais Do Mesmo', 'AlbumId': 140, 'COUNT(*)': 16}, {'Title': 'Greatest Hits', 'AlbumId': 141, 'COUNT(*)': 57}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 01', 'AlbumId': 142, 'COUNT(*)': 14}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 02', 'AlbumId': 143, 'COUNT(*)': 14}, {'Title': 'Misplaced Childhood', 'AlbumId': 144, 'COUNT(*)': 10}, {'Title': 'Barulhinho Bom', 'AlbumId': 145, 'COUNT(*)': 18}, {'Title': 'Seek And Shall Find: More Of The Best (1963-1981)', 'AlbumId': 146, 'COUNT(*)': 18}, {'Title': 'The Best Of Men At Work', 'AlbumId': 147, 'COUNT(*)': 10}, {'Title': 'Black Album', 'AlbumId': 148, 'COUNT(*)': 12}, {'Title': 'Garage Inc. (Disc 2)', 'AlbumId': 149, 'COUNT(*)': 16}, {'Title': "Kill 'Em All", 'AlbumId': 150, 'COUNT(*)': 10}, {'Title': 'Load', 'AlbumId': 151, 'COUNT(*)': 14}, {'Title': 'Master Of Puppets', 'AlbumId': 152, 'COUNT(*)': 8}, {'Title': 'ReLoad', 'AlbumId': 153, 'COUNT(*)': 13}, {'Title': 'Ride The Lightning', 'AlbumId': 154, 'COUNT(*)': 8}, {'Title': 'St. Anger', 'AlbumId': 155, 'COUNT(*)': 11}, {'Title': '...And Justice For All', 'AlbumId': 156, 'COUNT(*)': 9}, {'Title': 'Miles Ahead', 'AlbumId': 157, 'COUNT(*)': 14}, {'Title': 'Milton Nascimento Ao Vivo', 'AlbumId': 158, 'COUNT(*)': 13}, {'Title': 'Minas', 'AlbumId': 159, 'COUNT(*)': 13}, {'Title': 'Ace Of Spades', 'AlbumId': 160, 'COUNT(*)': 15}, {'Title': 'Demorou...', 'AlbumId': 161, 'COUNT(*)': 12}, {'Title': 'Motley Crue Greatest Hits', 'AlbumId': 162, 'COUNT(*)': 17}, {'Title': 'From The Muddy Banks Of The Wishkah [Live]', 'AlbumId': 163, 'COUNT(*)': 17}, {'Title': 'Nevermind', 'AlbumId': 164, 'COUNT(*)': 12}, {'Title': 'Compositores', 'AlbumId': 165, 'COUNT(*)': 15}, {'Title': 'Olodum', 'AlbumId': 166, 'COUNT(*)': 14}, {'Title': 'Acústico MTV', 'AlbumId': 167, 'COUNT(*)': 21}, {'Title': 'Arquivo II', 'AlbumId': 168, 'COUNT(*)': 12}, {'Title': 'Arquivo Os Paralamas Do Sucesso', 'AlbumId': 169, 'COUNT(*)': 16}, {'Title': 'Bark at the Moon (Remastered)', 'AlbumId': 170, 'COUNT(*)': 1}, {'Title': 'Blizzard of Ozz', 'AlbumId': 171, 'COUNT(*)': 2}, {'Title': 'Diary of a Madman (Remastered)', 'AlbumId': 172, 'COUNT(*)': 1}, {'Title': 'No More Tears (Remastered)', 'AlbumId': 173, 'COUNT(*)': 2}, {'Title': 'Tribute', 'AlbumId': 174, 'COUNT(*)': 14}, {'Title': 'Walking Into Clarksdale', 'AlbumId': 175, 'COUNT(*)': 12}, {'Title': 'Original Soundtracks 1', 'AlbumId': 176, 'COUNT(*)': 14}, {'Title': 'The Beast Live', 'AlbumId': 177, 'COUNT(*)': 10}, {'Title': 'Live On Two Legs [Live]', 'AlbumId': 178, 'COUNT(*)': 16}, {'Title': 'Pearl Jam', 'AlbumId': 179, 'COUNT(*)': 13}, {'Title': 'Riot Act', 'AlbumId': 180, 'COUNT(*)': 15}, {'Title': 'Ten', 'AlbumId': 181, 'COUNT(*)': 11}, {'Title': 'Vs.', 'AlbumId': 182, 'COUNT(*)': 12}, {'Title': 'Dark Side Of The Moon', 'AlbumId': 183, 'COUNT(*)': 9}, {'Title': 'Os Cães Ladram Mas A Caravana Não Pára', 'AlbumId': 184, 'COUNT(*)': 16}, {'Title': 'Greatest Hits I', 'AlbumId': 185, 'COUNT(*)': 17}, {'Title': 'News Of The World', 'AlbumId': 186, 'COUNT(*)': 11}, {'Title': 'Out Of Time', 'AlbumId': 187, 'COUNT(*)': 11}, {'Title': 'Green', 'AlbumId': 188, 'COUNT(*)': 11}, {'Title': 'New Adventures In Hi-Fi', 'AlbumId': 189, 'COUNT(*)': 14}, {'Title': 'The Best Of R.E.M.: The IRS Years', 'AlbumId': 190, 'COUNT(*)': 16}, {'Title': 'Cesta Básica', 'AlbumId': 191, 'COUNT(*)': 10}, {'Title': 'Raul Seixas', 'AlbumId': 192, 'COUNT(*)': 14}, {'Title': 'Blood Sugar Sex Magik', 'AlbumId': 193, 'COUNT(*)': 17}, {'Title': 'By The Way', 'AlbumId': 194, 'COUNT(*)': 16}, {'Title': 'Californication', 'AlbumId': 195, 'COUNT(*)': 15}, {'Title': 'Retrospective I (1974-1980)', 'AlbumId': 196, 'COUNT(*)': 14}, {'Title': 'Santana - As Years Go By', 'AlbumId': 197, 'COUNT(*)': 8}, {'Title': 'Santana Live', 'AlbumId': 198, 'COUNT(*)': 6}, {'Title': 'Maquinarama', 'AlbumId': 199, 'COUNT(*)': 12}, {'Title': 'O Samba Poconé', 'AlbumId': 200, 'COUNT(*)': 11}, {'Title': 'Judas 0: B-Sides and Rarities', 'AlbumId': 201, 'COUNT(*)': 16}, {'Title': 'Rotten Apples: Greatest Hits', 'AlbumId': 202, 'COUNT(*)': 18}, {'Title': 'A-Sides', 'AlbumId': 203, 'COUNT(*)': 17}, {'Title': 'Morning Dance', 'AlbumId': 204, 'COUNT(*)': 9}, {'Title': 'In Step', 'AlbumId': 205, 'COUNT(*)': 10}, {'Title': 'Core', 'AlbumId': 206, 'COUNT(*)': 12}, {'Title': 'Mezmerize', 'AlbumId': 207, 'COUNT(*)': 11}, {'Title': '[1997] Black Light Syndrome', 'AlbumId': 208, 'COUNT(*)': 7}, {'Title': 'Live [Disc 1]', 'AlbumId': 209, 'COUNT(*)': 10}, {'Title': 'Live [Disc 2]', 'AlbumId': 210, 'COUNT(*)': 9}, {'Title': 'The Singles', 'AlbumId': 211, 'COUNT(*)': 18}, {'Title': 'Beyond Good And Evil', 'AlbumId': 212, 'COUNT(*)': 12}, {'Title': 'Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) [UK]', 'AlbumId': 213, 'COUNT(*)': 18}, {'Title': 'The Doors', 'AlbumId': 214, 'COUNT(*)': 11}, {'Title': 'The Police Greatest Hits', 'AlbumId': 215, 'COUNT(*)': 14}, {'Title': 'Hot Rocks, 1964-1971 (Disc 1)', 'AlbumId': 216, 'COUNT(*)': 12}, {'Title': 'No Security', 'AlbumId': 217, 'COUNT(*)': 14}, {'Title': 'Voodoo Lounge', 'AlbumId': 218, 'COUNT(*)': 15}, {'Title': 'Tangents', 'AlbumId': 219, 'COUNT(*)': 15}, {'Title': 'Transmission', 'AlbumId': 220, 'COUNT(*)': 11}, {'Title': 'My Generation - The Very Best Of The Who', 'AlbumId': 221, 'COUNT(*)': 20}, {'Title': 'Serie Sem Limite (Disc 1)', 'AlbumId': 222, 'COUNT(*)': 15}, {'Title': 'Serie Sem Limite (Disc 2)', 'AlbumId': 223, 'COUNT(*)': 15}, {'Title': 'Acústico', 'AlbumId': 224, 'COUNT(*)': 22}, {'Title': 'Volume Dois', 'AlbumId': 225, 'COUNT(*)': 16}, {'Title': 'Battlestar Galactica: The Story So Far', 'AlbumId': 226, 'COUNT(*)': 1}, {'Title': 'Battlestar Galactica, Season 3', 'AlbumId': 227, 'COUNT(*)': 19}, {'Title': 'Heroes, Season 1', 'AlbumId': 228, 'COUNT(*)': 23}, {'Title': 'Lost, Season 3', 'AlbumId': 229, 'COUNT(*)': 26}, {'Title': 'Lost, Season 1', 'AlbumId': 230, 'COUNT(*)': 25}, {'Title': 'Lost, Season 2', 'AlbumId': 231, 'COUNT(*)': 24}, {'Title': 'Achtung Baby', 'AlbumId': 232, 'COUNT(*)': 12}, {'Title': "All That You Can't Leave Behind", 'AlbumId': 233, 'COUNT(*)': 11}, {'Title': 'B-Sides 1980-1990', 'AlbumId': 234, 'COUNT(*)': 15}, {'Title': 'How To Dismantle An Atomic Bomb', 'AlbumId': 235, 'COUNT(*)': 11}, {'Title': 'Pop', 'AlbumId': 236, 'COUNT(*)': 12}, {'Title': 'Rattle And Hum', 'AlbumId': 237, 'COUNT(*)': 17}, {'Title': 'The Best Of 1980-1990', 'AlbumId': 238, 'COUNT(*)': 14}, {'Title': 'War', 'AlbumId': 239, 'COUNT(*)': 10}, {'Title': 'Zooropa', 'AlbumId': 240, 'COUNT(*)': 10}, {'Title': 'UB40 The Best Of - Volume Two [UK]', 'AlbumId': 241, 'COUNT(*)': 14}, {'Title': 'Diver Down', 'AlbumId': 242, 'COUNT(*)': 12}, {'Title': 'The Best Of Van Halen, Vol. I', 'AlbumId': 243, 'COUNT(*)': 17}, {'Title': 'Van Halen', 'AlbumId': 244, 'COUNT(*)': 11}, {'Title': 'Van Halen III', 'AlbumId': 245, 'COUNT(*)': 12}, {'Title': 'Contraband', 'AlbumId': 246, 'COUNT(*)': 13}, {'Title': 'Vinicius De Moraes', 'AlbumId': 247, 'COUNT(*)': 15}, {'Title': 'Ao Vivo [IMPORT]', 'AlbumId': 248, 'COUNT(*)': 19}, {'Title': 'The Office, Season 1', 'AlbumId': 249, 'COUNT(*)': 6}, {'Title': 'The Office, Season 2', 'AlbumId': 250, 'COUNT(*)': 22}, {'Title': 'The Office, Season 3', 'AlbumId': 251, 'COUNT(*)': 25}, {'Title': 'Un-Led-Ed', 'AlbumId': 252, 'COUNT(*)': 1}, {'Title': 'Battlestar Galactica (Classic), Season 1', 'AlbumId': 253, 'COUNT(*)': 24}, {'Title': 'Aquaman', 'AlbumId': 254, 'COUNT(*)': 1}, {'Title': 'Instant Karma: The Amnesty International Campaign to Save Darfur', 'AlbumId': 255, 'COUNT(*)': 23}, {'Title': 'Speak of the Devil', 'AlbumId': 256, 'COUNT(*)': 12}, {'Title': '20th Century Masters - The Millennium Collection: The Best of Scorpions', 'AlbumId': 257, 'COUNT(*)': 12}, {'Title': 'House of Pain', 'AlbumId': 258, 'COUNT(*)': 19}, {'Title': 'Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro', 'AlbumId': 259, 'COUNT(*)': 17}, {'Title': 'Cake: B-Sides and Rarities', 'AlbumId': 260, 'COUNT(*)': 1}, {'Title': 'LOST, Season 4', 'AlbumId': 261, 'COUNT(*)': 17}, {'Title': 'Quiet Songs', 'AlbumId': 262, 'COUNT(*)': 2}, {'Title': 'Muso Ko', 'AlbumId': 263, 'COUNT(*)': 2}, {'Title': 'Realize', 'AlbumId': 264, 'COUNT(*)': 2}, {'Title': 'Every Kind of Light', 'AlbumId': 265, 'COUNT(*)': 2}, {'Title': 'Duos II', 'AlbumId': 266, 'COUNT(*)': 1}, {'Title': 'Worlds', 'AlbumId': 267, 'COUNT(*)': 1}, {'Title': 'The Best of Beethoven', 'AlbumId': 268, 'COUNT(*)': 1}, {'Title': 'Temple of the Dog', 'AlbumId': 269, 'COUNT(*)': 10}, {'Title': 'Carry On', 'AlbumId': 270, 'COUNT(*)': 14}, {'Title': 'Revelations', 'AlbumId': 271, 'COUNT(*)': 14}, {'Title': 'Adorate Deum: Gregorian Chant from the Proper of the Mass', 'AlbumId': 272, 'COUNT(*)': 1}, {'Title': 'Allegri: Miserere', 'AlbumId': 273, 'COUNT(*)': 1}, {'Title': 'Pachelbel: Canon & Gigue', 'AlbumId': 274, 'COUNT(*)': 1}, {'Title': 'Vivaldi: The Four Seasons', 'AlbumId': 275, 'COUNT(*)': 1}, {'Title': 'Bach: Violin Concertos', 'AlbumId': 276, 'COUNT(*)': 1}, {'Title': 'Bach: Goldberg Variations', 'AlbumId': 277, 'COUNT(*)': 1}, {'Title': 'Bach: The Cello Suites', 'AlbumId': 278, 'COUNT(*)': 1}, {'Title': 'Handel: The Messiah (Highlights)', 'AlbumId': 279, 'COUNT(*)': 1}, {'Title': 'The World of Classical Favourites', 'AlbumId': 280, 'COUNT(*)': 2}, {'Title': 'Sir Neville Marriner: A Celebration', 'AlbumId': 281, 'COUNT(*)': 1}, {'Title': 'Mozart: Wind Concertos', 'AlbumId': 282, 'COUNT(*)': 1}, {'Title': 'Haydn: Symphonies 99 - 104', 'AlbumId': 283, 'COUNT(*)': 1}, {'Title': 'Beethoven: Symhonies Nos. 5 & 6', 'AlbumId': 284, 'COUNT(*)': 1}, {'Title': 'A Soprano Inspired', 'AlbumId': 285, 'COUNT(*)': 1}, {'Title': 'Great Opera Choruses', 'AlbumId': 286, 'COUNT(*)': 1}, {'Title': 'Wagner: Favourite Overtures', 'AlbumId': 287, 'COUNT(*)': 1}, {'Title': 'Fauré: Requiem, Ravel: Pavane & Others', 'AlbumId': 288, 'COUNT(*)': 1}, {'Title': 'Tchaikovsky: The Nutcracker', 'AlbumId': 289, 'COUNT(*)': 1}, {'Title': 'The Last Night of the Proms', 'AlbumId': 290, 'COUNT(*)': 1}, {'Title': 'Puccini: Madama Butterfly - Highlights', 'AlbumId': 291, 'COUNT(*)': 1}, {'Title': 'Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies', 'AlbumId': 292, 'COUNT(*)': 1}, {'Title': "Pavarotti's Opera Made Easy", 'AlbumId': 293, 'COUNT(*)': 1}, {'Title': "Great Performances - Barber's Adagio and Other Romantic Favorites for Strings", 'AlbumId': 294, 'COUNT(*)': 1}, {'Title': 'Carmina Burana', 'AlbumId': 295, 'COUNT(*)': 1}, {'Title': 'A Copland Celebration, Vol. I', 'AlbumId': 296, 'COUNT(*)': 1}, {'Title': 'Bach: Toccata & Fugue in D Minor', 'AlbumId': 297, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Symphony No.1', 'AlbumId': 298, 'COUNT(*)': 1}, {'Title': 'Scheherazade', 'AlbumId': 299, 'COUNT(*)': 1}, {'Title': 'Bach: The Brandenburg Concertos', 'AlbumId': 300, 'COUNT(*)': 1}, {'Title': 'Chopin: Piano Concertos Nos. 1 & 2', 'AlbumId': 301, 'COUNT(*)': 1}, {'Title': 'Mascagni: Cavalleria Rusticana', 'AlbumId': 302, 'COUNT(*)': 1}, {'Title': 'Sibelius: Finlandia', 'AlbumId': 303, 'COUNT(*)': 1}, {'Title': 'Beethoven Piano Sonatas: Moonlight & Pastorale', 'AlbumId': 304, 'COUNT(*)': 1}, {'Title': 'Great Recordings of the Century - Mahler: Das Lied von der Erde', 'AlbumId': 305, 'COUNT(*)': 1}, {'Title': 'Elgar: Cello Concerto & Vaughan Williams: Fantasias', 'AlbumId': 306, 'COUNT(*)': 1}, {'Title': 'Adams, John: The Chairman Dances', 'AlbumId': 307, 'COUNT(*)': 1}, {'Title': "Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory", 'AlbumId': 308, 'COUNT(*)': 1}, {'Title': 'Palestrina: Missa Papae Marcelli & Allegri: Miserere', 'AlbumId': 309, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Romeo & Juliet', 'AlbumId': 310, 'COUNT(*)': 1}, {'Title': 'Strauss: Waltzes', 'AlbumId': 311, 'COUNT(*)': 1}, {'Title': 'Berlioz: Symphonie Fantastique', 'AlbumId': 312, 'COUNT(*)': 1}, {'Title': 'Bizet: Carmen Highlights', 'AlbumId': 313, 'COUNT(*)': 1}, {'Title': 'English Renaissance', 'AlbumId': 314, 'COUNT(*)': 2}, {'Title': 'Handel: Music for the Royal Fireworks (Original Version 1749)', 'AlbumId': 315, 'COUNT(*)': 1}, {'Title': 'Grieg: Peer Gynt Suites & Sibelius: Pelléas et Mélisande', 'AlbumId': 316, 'COUNT(*)': 1}, {'Title': 'Mozart Gala: Famous Arias', 'AlbumId': 317, 'COUNT(*)': 1}, {'Title': 'SCRIABIN: Vers la flamme', 'AlbumId': 318, 'COUNT(*)': 1}, {'Title': 'Armada: Music from the Courts of England and Spain', 'AlbumId': 319, 'COUNT(*)': 1}, {'Title': 'Mozart: Symphonies Nos. 40 & 41', 'AlbumId': 320, 'COUNT(*)': 1}, {'Title': 'Back to Black', 'AlbumId': 321, 'COUNT(*)': 12}, {'Title': 'Frank', 'AlbumId': 322, 'COUNT(*)': 11}, {'Title': 'Carried to Dust (Bonus Track Version)', 'AlbumId': 323, 'COUNT(*)': 1}, {'Title': "Beethoven: Symphony No. 6 'Pastoral' Etc.", 'AlbumId': 324, 'COUNT(*)': 1}, {'Title': 'Bartok: Violin & Viola Concertos', 'AlbumId': 325, 'COUNT(*)': 1}, {'Title': "Mendelssohn: A Midsummer Night's Dream", 'AlbumId': 326, 'COUNT(*)': 1}, {'Title': 'Bach: Orchestral Suites Nos. 1 - 4', 'AlbumId': 327, 'COUNT(*)': 1}, {'Title': 'Charpentier: Divertissements, Airs & Concerts', 'AlbumId': 328, 'COUNT(*)': 1}, {'Title': 'South American Getaway', 'AlbumId': 329, 'COUNT(*)': 1}, {'Title': 'Górecki: Symphony No. 3', 'AlbumId': 330, 'COUNT(*)': 1}, {'Title': 'Purcell: The Fairy Queen', 'AlbumId': 331, 'COUNT(*)': 1}, {'Title': 'The Ultimate Relexation Album', 'AlbumId': 332, 'COUNT(*)': 1}, {'Title': 'Purcell: Music for the Queen Mary', 'AlbumId': 333, 'COUNT(*)': 1}, {'Title': 'Weill: The Seven Deadly Sins', 'AlbumId': 334, 'COUNT(*)': 1}, {'Title': 'J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro', 'AlbumId': 335, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps', 'AlbumId': 336, 'COUNT(*)': 1}, {'Title': 'Szymanowski: Piano Works, Vol. 1', 'AlbumId': 337, 'COUNT(*)': 1}, {'Title': 'Nielsen: The Six Symphonies', 'AlbumId': 338, 'COUNT(*)': 1}, {'Title': "Great Recordings of the Century: Paganini's 24 Caprices", 'AlbumId': 339, 'COUNT(*)': 1}, {'Title': "Liszt - 12 Études D'Execution Transcendante", 'AlbumId': 340, 'COUNT(*)': 1}, {'Title': 'Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder', 'AlbumId': 341, 'COUNT(*)': 1}, {'Title': 'Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3', 'AlbumId': 342, 'COUNT(*)': 1}, {'Title': 'Respighi:Pines of Rome', 'AlbumId': 343, 'COUNT(*)': 1}, {'Title': "Schubert: The Late String Quartets & String Quintet (3 CD's)", 'AlbumId': 344, 'COUNT(*)': 1}, {'Title': "Monteverdi: L'Orfeo", 'AlbumId': 345, 'COUNT(*)': 1}, {'Title': 'Mozart: Chamber Music', 'AlbumId': 346, 'COUNT(*)': 1}, {'Title': 'Koyaanisqatsi (Soundtrack from the Motion Picture)', 'AlbumId': 347, 'COUNT(*)': 1}]
chinook_1
What are the names and ids of the different albums, and how many tracks are on each?
SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID
SELECT T1.Title , T2.AlbumID , COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumID
[{'Title': 'For Those About To Rock We Salute You', 'AlbumId': 1, 'COUNT(*)': 10}, {'Title': 'Balls to the Wall', 'AlbumId': 2, 'COUNT(*)': 1}, {'Title': 'Restless and Wild', 'AlbumId': 3, 'COUNT(*)': 3}, {'Title': 'Let There Be Rock', 'AlbumId': 4, 'COUNT(*)': 8}, {'Title': 'Big Ones', 'AlbumId': 5, 'COUNT(*)': 15}, {'Title': 'Jagged Little Pill', 'AlbumId': 6, 'COUNT(*)': 13}, {'Title': 'Facelift', 'AlbumId': 7, 'COUNT(*)': 12}, {'Title': 'Warner 25 Anos', 'AlbumId': 8, 'COUNT(*)': 14}, {'Title': 'Plays Metallica By Four Cellos', 'AlbumId': 9, 'COUNT(*)': 8}, {'Title': 'Audioslave', 'AlbumId': 10, 'COUNT(*)': 14}, {'Title': 'Out Of Exile', 'AlbumId': 11, 'COUNT(*)': 12}, {'Title': 'BackBeat Soundtrack', 'AlbumId': 12, 'COUNT(*)': 12}, {'Title': 'The Best Of Billy Cobham', 'AlbumId': 13, 'COUNT(*)': 8}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 1]', 'AlbumId': 14, 'COUNT(*)': 13}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 2]', 'AlbumId': 15, 'COUNT(*)': 5}, {'Title': 'Black Sabbath', 'AlbumId': 16, 'COUNT(*)': 7}, {'Title': 'Black Sabbath Vol. 4 (Remaster)', 'AlbumId': 17, 'COUNT(*)': 10}, {'Title': 'Body Count', 'AlbumId': 18, 'COUNT(*)': 17}, {'Title': 'Chemical Wedding', 'AlbumId': 19, 'COUNT(*)': 11}, {'Title': 'The Best Of Buddy Guy - The Millenium Collection', 'AlbumId': 20, 'COUNT(*)': 11}, {'Title': 'Prenda Minha', 'AlbumId': 21, 'COUNT(*)': 18}, {'Title': 'Sozinho Remix Ao Vivo', 'AlbumId': 22, 'COUNT(*)': 3}, {'Title': 'Minha Historia', 'AlbumId': 23, 'COUNT(*)': 34}, {'Title': 'Afrociberdelia', 'AlbumId': 24, 'COUNT(*)': 23}, {'Title': 'Da Lama Ao Caos', 'AlbumId': 25, 'COUNT(*)': 13}, {'Title': 'Acústico MTV [Live]', 'AlbumId': 26, 'COUNT(*)': 17}, {'Title': 'Cidade Negra - Hits', 'AlbumId': 27, 'COUNT(*)': 14}, {'Title': 'Na Pista', 'AlbumId': 28, 'COUNT(*)': 10}, {'Title': 'Axé Bahia 2001', 'AlbumId': 29, 'COUNT(*)': 14}, {'Title': 'BBC Sessions [Disc 1] [Live]', 'AlbumId': 30, 'COUNT(*)': 14}, {'Title': 'Bongo Fury', 'AlbumId': 31, 'COUNT(*)': 9}, {'Title': 'Carnaval 2001', 'AlbumId': 32, 'COUNT(*)': 14}, {'Title': 'Chill: Brazil (Disc 1)', 'AlbumId': 33, 'COUNT(*)': 17}, {'Title': 'Chill: Brazil (Disc 2)', 'AlbumId': 34, 'COUNT(*)': 17}, {'Title': 'Garage Inc. (Disc 1)', 'AlbumId': 35, 'COUNT(*)': 11}, {'Title': 'Greatest Hits II', 'AlbumId': 36, 'COUNT(*)': 17}, {'Title': 'Greatest Kiss', 'AlbumId': 37, 'COUNT(*)': 20}, {'Title': 'Heart of the Night', 'AlbumId': 38, 'COUNT(*)': 12}, {'Title': 'International Superhits', 'AlbumId': 39, 'COUNT(*)': 21}, {'Title': 'Into The Light', 'AlbumId': 40, 'COUNT(*)': 12}, {'Title': 'Meus Momentos', 'AlbumId': 41, 'COUNT(*)': 14}, {'Title': 'Minha História', 'AlbumId': 42, 'COUNT(*)': 14}, {'Title': 'MK III The Final Concerts [Disc 1]', 'AlbumId': 43, 'COUNT(*)': 7}, {'Title': 'Physical Graffiti [Disc 1]', 'AlbumId': 44, 'COUNT(*)': 6}, {'Title': 'Sambas De Enredo 2001', 'AlbumId': 45, 'COUNT(*)': 14}, {'Title': 'Supernatural', 'AlbumId': 46, 'COUNT(*)': 13}, {'Title': 'The Best of Ed Motta', 'AlbumId': 47, 'COUNT(*)': 14}, {'Title': 'The Essential Miles Davis [Disc 1]', 'AlbumId': 48, 'COUNT(*)': 13}, {'Title': 'The Essential Miles Davis [Disc 2]', 'AlbumId': 49, 'COUNT(*)': 10}, {'Title': 'The Final Concerts (Disc 2)', 'AlbumId': 50, 'COUNT(*)': 4}, {'Title': "Up An' Atom", 'AlbumId': 51, 'COUNT(*)': 22}, {'Title': 'Vinícius De Moraes - Sem Limite', 'AlbumId': 52, 'COUNT(*)': 15}, {'Title': 'Vozes do MPB', 'AlbumId': 53, 'COUNT(*)': 14}, {'Title': 'Chronicle, Vol. 1', 'AlbumId': 54, 'COUNT(*)': 20}, {'Title': 'Chronicle, Vol. 2', 'AlbumId': 55, 'COUNT(*)': 20}, {'Title': 'Cássia Eller - Coleção Sem Limite [Disc 2]', 'AlbumId': 56, 'COUNT(*)': 15}, {'Title': 'Cássia Eller - Sem Limite [Disc 1]', 'AlbumId': 57, 'COUNT(*)': 15}, {'Title': 'Come Taste The Band', 'AlbumId': 58, 'COUNT(*)': 9}, {'Title': 'Deep Purple In Rock', 'AlbumId': 59, 'COUNT(*)': 7}, {'Title': 'Fireball', 'AlbumId': 60, 'COUNT(*)': 7}, {'Title': "Knocking at Your Back Door: The Best Of Deep Purple in the 80's", 'AlbumId': 61, 'COUNT(*)': 11}, {'Title': 'Machine Head', 'AlbumId': 62, 'COUNT(*)': 7}, {'Title': 'Purpendicular', 'AlbumId': 63, 'COUNT(*)': 12}, {'Title': 'Slaves And Masters', 'AlbumId': 64, 'COUNT(*)': 9}, {'Title': 'Stormbringer', 'AlbumId': 65, 'COUNT(*)': 9}, {'Title': 'The Battle Rages On', 'AlbumId': 66, 'COUNT(*)': 10}, {'Title': "Vault: Def Leppard's Greatest Hits", 'AlbumId': 67, 'COUNT(*)': 16}, {'Title': 'Outbreak', 'AlbumId': 68, 'COUNT(*)': 9}, {'Title': 'Djavan Ao Vivo - Vol. 02', 'AlbumId': 69, 'COUNT(*)': 13}, {'Title': 'Djavan Ao Vivo - Vol. 1', 'AlbumId': 70, 'COUNT(*)': 13}, {'Title': 'Elis Regina-Minha História', 'AlbumId': 71, 'COUNT(*)': 14}, {'Title': 'The Cream Of Clapton', 'AlbumId': 72, 'COUNT(*)': 18}, {'Title': 'Unplugged', 'AlbumId': 73, 'COUNT(*)': 30}, {'Title': 'Album Of The Year', 'AlbumId': 74, 'COUNT(*)': 12}, {'Title': 'Angel Dust', 'AlbumId': 75, 'COUNT(*)': 14}, {'Title': 'King For A Day Fool For A Lifetime', 'AlbumId': 76, 'COUNT(*)': 15}, {'Title': 'The Real Thing', 'AlbumId': 77, 'COUNT(*)': 11}, {'Title': 'Deixa Entrar', 'AlbumId': 78, 'COUNT(*)': 14}, {'Title': 'In Your Honor [Disc 1]', 'AlbumId': 79, 'COUNT(*)': 10}, {'Title': 'In Your Honor [Disc 2]', 'AlbumId': 80, 'COUNT(*)': 10}, {'Title': 'One By One', 'AlbumId': 81, 'COUNT(*)': 11}, {'Title': 'The Colour And The Shape', 'AlbumId': 82, 'COUNT(*)': 13}, {'Title': 'My Way: The Best Of Frank Sinatra [Disc 1]', 'AlbumId': 83, 'COUNT(*)': 24}, {'Title': 'Roda De Funk', 'AlbumId': 84, 'COUNT(*)': 16}, {'Title': 'As Canções de Eu Tu Eles', 'AlbumId': 85, 'COUNT(*)': 14}, {'Title': 'Quanta Gente Veio Ver (Live)', 'AlbumId': 86, 'COUNT(*)': 15}, {'Title': 'Quanta Gente Veio ver--Bônus De Carnaval', 'AlbumId': 87, 'COUNT(*)': 3}, {'Title': 'Faceless', 'AlbumId': 88, 'COUNT(*)': 12}, {'Title': 'American Idiot', 'AlbumId': 89, 'COUNT(*)': 13}, {'Title': 'Appetite for Destruction', 'AlbumId': 90, 'COUNT(*)': 12}, {'Title': 'Use Your Illusion I', 'AlbumId': 91, 'COUNT(*)': 16}, {'Title': 'Use Your Illusion II', 'AlbumId': 92, 'COUNT(*)': 14}, {'Title': 'Blue Moods', 'AlbumId': 93, 'COUNT(*)': 13}, {'Title': 'A Matter of Life and Death', 'AlbumId': 94, 'COUNT(*)': 11}, {'Title': 'A Real Dead One', 'AlbumId': 95, 'COUNT(*)': 12}, {'Title': 'A Real Live One', 'AlbumId': 96, 'COUNT(*)': 11}, {'Title': 'Brave New World', 'AlbumId': 97, 'COUNT(*)': 10}, {'Title': 'Dance Of Death', 'AlbumId': 98, 'COUNT(*)': 11}, {'Title': 'Fear Of The Dark', 'AlbumId': 99, 'COUNT(*)': 12}, {'Title': 'Iron Maiden', 'AlbumId': 100, 'COUNT(*)': 9}, {'Title': 'Killers', 'AlbumId': 101, 'COUNT(*)': 10}, {'Title': 'Live After Death', 'AlbumId': 102, 'COUNT(*)': 18}, {'Title': 'Live At Donington 1992 (Disc 1)', 'AlbumId': 103, 'COUNT(*)': 10}, {'Title': 'Live At Donington 1992 (Disc 2)', 'AlbumId': 104, 'COUNT(*)': 10}, {'Title': 'No Prayer For The Dying', 'AlbumId': 105, 'COUNT(*)': 10}, {'Title': 'Piece Of Mind', 'AlbumId': 106, 'COUNT(*)': 9}, {'Title': 'Powerslave', 'AlbumId': 107, 'COUNT(*)': 8}, {'Title': 'Rock In Rio [CD1]', 'AlbumId': 108, 'COUNT(*)': 10}, {'Title': 'Rock In Rio [CD2]', 'AlbumId': 109, 'COUNT(*)': 9}, {'Title': 'Seventh Son of a Seventh Son', 'AlbumId': 110, 'COUNT(*)': 8}, {'Title': 'Somewhere in Time', 'AlbumId': 111, 'COUNT(*)': 8}, {'Title': 'The Number of The Beast', 'AlbumId': 112, 'COUNT(*)': 8}, {'Title': 'The X Factor', 'AlbumId': 113, 'COUNT(*)': 11}, {'Title': 'Virtual XI', 'AlbumId': 114, 'COUNT(*)': 8}, {'Title': 'Sex Machine', 'AlbumId': 115, 'COUNT(*)': 20}, {'Title': 'Emergency On Planet Earth', 'AlbumId': 116, 'COUNT(*)': 10}, {'Title': 'Synkronized', 'AlbumId': 117, 'COUNT(*)': 11}, {'Title': 'The Return Of The Space Cowboy', 'AlbumId': 118, 'COUNT(*)': 11}, {'Title': 'Get Born', 'AlbumId': 119, 'COUNT(*)': 13}, {'Title': 'Are You Experienced?', 'AlbumId': 120, 'COUNT(*)': 17}, {'Title': 'Surfing with the Alien (Remastered)', 'AlbumId': 121, 'COUNT(*)': 10}, {'Title': 'Jorge Ben Jor 25 Anos', 'AlbumId': 122, 'COUNT(*)': 14}, {'Title': 'Jota Quest-1995', 'AlbumId': 123, 'COUNT(*)': 12}, {'Title': 'Cafezinho', 'AlbumId': 124, 'COUNT(*)': 14}, {'Title': 'Living After Midnight', 'AlbumId': 125, 'COUNT(*)': 16}, {'Title': 'Unplugged [Live]', 'AlbumId': 126, 'COUNT(*)': 15}, {'Title': 'BBC Sessions [Disc 2] [Live]', 'AlbumId': 127, 'COUNT(*)': 10}, {'Title': 'Coda', 'AlbumId': 128, 'COUNT(*)': 8}, {'Title': 'Houses Of The Holy', 'AlbumId': 129, 'COUNT(*)': 8}, {'Title': 'In Through The Out Door', 'AlbumId': 130, 'COUNT(*)': 7}, {'Title': 'IV', 'AlbumId': 131, 'COUNT(*)': 8}, {'Title': 'Led Zeppelin I', 'AlbumId': 132, 'COUNT(*)': 9}, {'Title': 'Led Zeppelin II', 'AlbumId': 133, 'COUNT(*)': 9}, {'Title': 'Led Zeppelin III', 'AlbumId': 134, 'COUNT(*)': 10}, {'Title': 'Physical Graffiti [Disc 2]', 'AlbumId': 135, 'COUNT(*)': 9}, {'Title': 'Presence', 'AlbumId': 136, 'COUNT(*)': 7}, {'Title': 'The Song Remains The Same (Disc 1)', 'AlbumId': 137, 'COUNT(*)': 5}, {'Title': 'The Song Remains The Same (Disc 2)', 'AlbumId': 138, 'COUNT(*)': 4}, {'Title': 'A TempestadeTempestade Ou O Livro Dos Dias', 'AlbumId': 139, 'COUNT(*)': 15}, {'Title': 'Mais Do Mesmo', 'AlbumId': 140, 'COUNT(*)': 16}, {'Title': 'Greatest Hits', 'AlbumId': 141, 'COUNT(*)': 57}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 01', 'AlbumId': 142, 'COUNT(*)': 14}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 02', 'AlbumId': 143, 'COUNT(*)': 14}, {'Title': 'Misplaced Childhood', 'AlbumId': 144, 'COUNT(*)': 10}, {'Title': 'Barulhinho Bom', 'AlbumId': 145, 'COUNT(*)': 18}, {'Title': 'Seek And Shall Find: More Of The Best (1963-1981)', 'AlbumId': 146, 'COUNT(*)': 18}, {'Title': 'The Best Of Men At Work', 'AlbumId': 147, 'COUNT(*)': 10}, {'Title': 'Black Album', 'AlbumId': 148, 'COUNT(*)': 12}, {'Title': 'Garage Inc. (Disc 2)', 'AlbumId': 149, 'COUNT(*)': 16}, {'Title': "Kill 'Em All", 'AlbumId': 150, 'COUNT(*)': 10}, {'Title': 'Load', 'AlbumId': 151, 'COUNT(*)': 14}, {'Title': 'Master Of Puppets', 'AlbumId': 152, 'COUNT(*)': 8}, {'Title': 'ReLoad', 'AlbumId': 153, 'COUNT(*)': 13}, {'Title': 'Ride The Lightning', 'AlbumId': 154, 'COUNT(*)': 8}, {'Title': 'St. Anger', 'AlbumId': 155, 'COUNT(*)': 11}, {'Title': '...And Justice For All', 'AlbumId': 156, 'COUNT(*)': 9}, {'Title': 'Miles Ahead', 'AlbumId': 157, 'COUNT(*)': 14}, {'Title': 'Milton Nascimento Ao Vivo', 'AlbumId': 158, 'COUNT(*)': 13}, {'Title': 'Minas', 'AlbumId': 159, 'COUNT(*)': 13}, {'Title': 'Ace Of Spades', 'AlbumId': 160, 'COUNT(*)': 15}, {'Title': 'Demorou...', 'AlbumId': 161, 'COUNT(*)': 12}, {'Title': 'Motley Crue Greatest Hits', 'AlbumId': 162, 'COUNT(*)': 17}, {'Title': 'From The Muddy Banks Of The Wishkah [Live]', 'AlbumId': 163, 'COUNT(*)': 17}, {'Title': 'Nevermind', 'AlbumId': 164, 'COUNT(*)': 12}, {'Title': 'Compositores', 'AlbumId': 165, 'COUNT(*)': 15}, {'Title': 'Olodum', 'AlbumId': 166, 'COUNT(*)': 14}, {'Title': 'Acústico MTV', 'AlbumId': 167, 'COUNT(*)': 21}, {'Title': 'Arquivo II', 'AlbumId': 168, 'COUNT(*)': 12}, {'Title': 'Arquivo Os Paralamas Do Sucesso', 'AlbumId': 169, 'COUNT(*)': 16}, {'Title': 'Bark at the Moon (Remastered)', 'AlbumId': 170, 'COUNT(*)': 1}, {'Title': 'Blizzard of Ozz', 'AlbumId': 171, 'COUNT(*)': 2}, {'Title': 'Diary of a Madman (Remastered)', 'AlbumId': 172, 'COUNT(*)': 1}, {'Title': 'No More Tears (Remastered)', 'AlbumId': 173, 'COUNT(*)': 2}, {'Title': 'Tribute', 'AlbumId': 174, 'COUNT(*)': 14}, {'Title': 'Walking Into Clarksdale', 'AlbumId': 175, 'COUNT(*)': 12}, {'Title': 'Original Soundtracks 1', 'AlbumId': 176, 'COUNT(*)': 14}, {'Title': 'The Beast Live', 'AlbumId': 177, 'COUNT(*)': 10}, {'Title': 'Live On Two Legs [Live]', 'AlbumId': 178, 'COUNT(*)': 16}, {'Title': 'Pearl Jam', 'AlbumId': 179, 'COUNT(*)': 13}, {'Title': 'Riot Act', 'AlbumId': 180, 'COUNT(*)': 15}, {'Title': 'Ten', 'AlbumId': 181, 'COUNT(*)': 11}, {'Title': 'Vs.', 'AlbumId': 182, 'COUNT(*)': 12}, {'Title': 'Dark Side Of The Moon', 'AlbumId': 183, 'COUNT(*)': 9}, {'Title': 'Os Cães Ladram Mas A Caravana Não Pára', 'AlbumId': 184, 'COUNT(*)': 16}, {'Title': 'Greatest Hits I', 'AlbumId': 185, 'COUNT(*)': 17}, {'Title': 'News Of The World', 'AlbumId': 186, 'COUNT(*)': 11}, {'Title': 'Out Of Time', 'AlbumId': 187, 'COUNT(*)': 11}, {'Title': 'Green', 'AlbumId': 188, 'COUNT(*)': 11}, {'Title': 'New Adventures In Hi-Fi', 'AlbumId': 189, 'COUNT(*)': 14}, {'Title': 'The Best Of R.E.M.: The IRS Years', 'AlbumId': 190, 'COUNT(*)': 16}, {'Title': 'Cesta Básica', 'AlbumId': 191, 'COUNT(*)': 10}, {'Title': 'Raul Seixas', 'AlbumId': 192, 'COUNT(*)': 14}, {'Title': 'Blood Sugar Sex Magik', 'AlbumId': 193, 'COUNT(*)': 17}, {'Title': 'By The Way', 'AlbumId': 194, 'COUNT(*)': 16}, {'Title': 'Californication', 'AlbumId': 195, 'COUNT(*)': 15}, {'Title': 'Retrospective I (1974-1980)', 'AlbumId': 196, 'COUNT(*)': 14}, {'Title': 'Santana - As Years Go By', 'AlbumId': 197, 'COUNT(*)': 8}, {'Title': 'Santana Live', 'AlbumId': 198, 'COUNT(*)': 6}, {'Title': 'Maquinarama', 'AlbumId': 199, 'COUNT(*)': 12}, {'Title': 'O Samba Poconé', 'AlbumId': 200, 'COUNT(*)': 11}, {'Title': 'Judas 0: B-Sides and Rarities', 'AlbumId': 201, 'COUNT(*)': 16}, {'Title': 'Rotten Apples: Greatest Hits', 'AlbumId': 202, 'COUNT(*)': 18}, {'Title': 'A-Sides', 'AlbumId': 203, 'COUNT(*)': 17}, {'Title': 'Morning Dance', 'AlbumId': 204, 'COUNT(*)': 9}, {'Title': 'In Step', 'AlbumId': 205, 'COUNT(*)': 10}, {'Title': 'Core', 'AlbumId': 206, 'COUNT(*)': 12}, {'Title': 'Mezmerize', 'AlbumId': 207, 'COUNT(*)': 11}, {'Title': '[1997] Black Light Syndrome', 'AlbumId': 208, 'COUNT(*)': 7}, {'Title': 'Live [Disc 1]', 'AlbumId': 209, 'COUNT(*)': 10}, {'Title': 'Live [Disc 2]', 'AlbumId': 210, 'COUNT(*)': 9}, {'Title': 'The Singles', 'AlbumId': 211, 'COUNT(*)': 18}, {'Title': 'Beyond Good And Evil', 'AlbumId': 212, 'COUNT(*)': 12}, {'Title': 'Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) [UK]', 'AlbumId': 213, 'COUNT(*)': 18}, {'Title': 'The Doors', 'AlbumId': 214, 'COUNT(*)': 11}, {'Title': 'The Police Greatest Hits', 'AlbumId': 215, 'COUNT(*)': 14}, {'Title': 'Hot Rocks, 1964-1971 (Disc 1)', 'AlbumId': 216, 'COUNT(*)': 12}, {'Title': 'No Security', 'AlbumId': 217, 'COUNT(*)': 14}, {'Title': 'Voodoo Lounge', 'AlbumId': 218, 'COUNT(*)': 15}, {'Title': 'Tangents', 'AlbumId': 219, 'COUNT(*)': 15}, {'Title': 'Transmission', 'AlbumId': 220, 'COUNT(*)': 11}, {'Title': 'My Generation - The Very Best Of The Who', 'AlbumId': 221, 'COUNT(*)': 20}, {'Title': 'Serie Sem Limite (Disc 1)', 'AlbumId': 222, 'COUNT(*)': 15}, {'Title': 'Serie Sem Limite (Disc 2)', 'AlbumId': 223, 'COUNT(*)': 15}, {'Title': 'Acústico', 'AlbumId': 224, 'COUNT(*)': 22}, {'Title': 'Volume Dois', 'AlbumId': 225, 'COUNT(*)': 16}, {'Title': 'Battlestar Galactica: The Story So Far', 'AlbumId': 226, 'COUNT(*)': 1}, {'Title': 'Battlestar Galactica, Season 3', 'AlbumId': 227, 'COUNT(*)': 19}, {'Title': 'Heroes, Season 1', 'AlbumId': 228, 'COUNT(*)': 23}, {'Title': 'Lost, Season 3', 'AlbumId': 229, 'COUNT(*)': 26}, {'Title': 'Lost, Season 1', 'AlbumId': 230, 'COUNT(*)': 25}, {'Title': 'Lost, Season 2', 'AlbumId': 231, 'COUNT(*)': 24}, {'Title': 'Achtung Baby', 'AlbumId': 232, 'COUNT(*)': 12}, {'Title': "All That You Can't Leave Behind", 'AlbumId': 233, 'COUNT(*)': 11}, {'Title': 'B-Sides 1980-1990', 'AlbumId': 234, 'COUNT(*)': 15}, {'Title': 'How To Dismantle An Atomic Bomb', 'AlbumId': 235, 'COUNT(*)': 11}, {'Title': 'Pop', 'AlbumId': 236, 'COUNT(*)': 12}, {'Title': 'Rattle And Hum', 'AlbumId': 237, 'COUNT(*)': 17}, {'Title': 'The Best Of 1980-1990', 'AlbumId': 238, 'COUNT(*)': 14}, {'Title': 'War', 'AlbumId': 239, 'COUNT(*)': 10}, {'Title': 'Zooropa', 'AlbumId': 240, 'COUNT(*)': 10}, {'Title': 'UB40 The Best Of - Volume Two [UK]', 'AlbumId': 241, 'COUNT(*)': 14}, {'Title': 'Diver Down', 'AlbumId': 242, 'COUNT(*)': 12}, {'Title': 'The Best Of Van Halen, Vol. I', 'AlbumId': 243, 'COUNT(*)': 17}, {'Title': 'Van Halen', 'AlbumId': 244, 'COUNT(*)': 11}, {'Title': 'Van Halen III', 'AlbumId': 245, 'COUNT(*)': 12}, {'Title': 'Contraband', 'AlbumId': 246, 'COUNT(*)': 13}, {'Title': 'Vinicius De Moraes', 'AlbumId': 247, 'COUNT(*)': 15}, {'Title': 'Ao Vivo [IMPORT]', 'AlbumId': 248, 'COUNT(*)': 19}, {'Title': 'The Office, Season 1', 'AlbumId': 249, 'COUNT(*)': 6}, {'Title': 'The Office, Season 2', 'AlbumId': 250, 'COUNT(*)': 22}, {'Title': 'The Office, Season 3', 'AlbumId': 251, 'COUNT(*)': 25}, {'Title': 'Un-Led-Ed', 'AlbumId': 252, 'COUNT(*)': 1}, {'Title': 'Battlestar Galactica (Classic), Season 1', 'AlbumId': 253, 'COUNT(*)': 24}, {'Title': 'Aquaman', 'AlbumId': 254, 'COUNT(*)': 1}, {'Title': 'Instant Karma: The Amnesty International Campaign to Save Darfur', 'AlbumId': 255, 'COUNT(*)': 23}, {'Title': 'Speak of the Devil', 'AlbumId': 256, 'COUNT(*)': 12}, {'Title': '20th Century Masters - The Millennium Collection: The Best of Scorpions', 'AlbumId': 257, 'COUNT(*)': 12}, {'Title': 'House of Pain', 'AlbumId': 258, 'COUNT(*)': 19}, {'Title': 'Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro', 'AlbumId': 259, 'COUNT(*)': 17}, {'Title': 'Cake: B-Sides and Rarities', 'AlbumId': 260, 'COUNT(*)': 1}, {'Title': 'LOST, Season 4', 'AlbumId': 261, 'COUNT(*)': 17}, {'Title': 'Quiet Songs', 'AlbumId': 262, 'COUNT(*)': 2}, {'Title': 'Muso Ko', 'AlbumId': 263, 'COUNT(*)': 2}, {'Title': 'Realize', 'AlbumId': 264, 'COUNT(*)': 2}, {'Title': 'Every Kind of Light', 'AlbumId': 265, 'COUNT(*)': 2}, {'Title': 'Duos II', 'AlbumId': 266, 'COUNT(*)': 1}, {'Title': 'Worlds', 'AlbumId': 267, 'COUNT(*)': 1}, {'Title': 'The Best of Beethoven', 'AlbumId': 268, 'COUNT(*)': 1}, {'Title': 'Temple of the Dog', 'AlbumId': 269, 'COUNT(*)': 10}, {'Title': 'Carry On', 'AlbumId': 270, 'COUNT(*)': 14}, {'Title': 'Revelations', 'AlbumId': 271, 'COUNT(*)': 14}, {'Title': 'Adorate Deum: Gregorian Chant from the Proper of the Mass', 'AlbumId': 272, 'COUNT(*)': 1}, {'Title': 'Allegri: Miserere', 'AlbumId': 273, 'COUNT(*)': 1}, {'Title': 'Pachelbel: Canon & Gigue', 'AlbumId': 274, 'COUNT(*)': 1}, {'Title': 'Vivaldi: The Four Seasons', 'AlbumId': 275, 'COUNT(*)': 1}, {'Title': 'Bach: Violin Concertos', 'AlbumId': 276, 'COUNT(*)': 1}, {'Title': 'Bach: Goldberg Variations', 'AlbumId': 277, 'COUNT(*)': 1}, {'Title': 'Bach: The Cello Suites', 'AlbumId': 278, 'COUNT(*)': 1}, {'Title': 'Handel: The Messiah (Highlights)', 'AlbumId': 279, 'COUNT(*)': 1}, {'Title': 'The World of Classical Favourites', 'AlbumId': 280, 'COUNT(*)': 2}, {'Title': 'Sir Neville Marriner: A Celebration', 'AlbumId': 281, 'COUNT(*)': 1}, {'Title': 'Mozart: Wind Concertos', 'AlbumId': 282, 'COUNT(*)': 1}, {'Title': 'Haydn: Symphonies 99 - 104', 'AlbumId': 283, 'COUNT(*)': 1}, {'Title': 'Beethoven: Symhonies Nos. 5 & 6', 'AlbumId': 284, 'COUNT(*)': 1}, {'Title': 'A Soprano Inspired', 'AlbumId': 285, 'COUNT(*)': 1}, {'Title': 'Great Opera Choruses', 'AlbumId': 286, 'COUNT(*)': 1}, {'Title': 'Wagner: Favourite Overtures', 'AlbumId': 287, 'COUNT(*)': 1}, {'Title': 'Fauré: Requiem, Ravel: Pavane & Others', 'AlbumId': 288, 'COUNT(*)': 1}, {'Title': 'Tchaikovsky: The Nutcracker', 'AlbumId': 289, 'COUNT(*)': 1}, {'Title': 'The Last Night of the Proms', 'AlbumId': 290, 'COUNT(*)': 1}, {'Title': 'Puccini: Madama Butterfly - Highlights', 'AlbumId': 291, 'COUNT(*)': 1}, {'Title': 'Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies', 'AlbumId': 292, 'COUNT(*)': 1}, {'Title': "Pavarotti's Opera Made Easy", 'AlbumId': 293, 'COUNT(*)': 1}, {'Title': "Great Performances - Barber's Adagio and Other Romantic Favorites for Strings", 'AlbumId': 294, 'COUNT(*)': 1}, {'Title': 'Carmina Burana', 'AlbumId': 295, 'COUNT(*)': 1}, {'Title': 'A Copland Celebration, Vol. I', 'AlbumId': 296, 'COUNT(*)': 1}, {'Title': 'Bach: Toccata & Fugue in D Minor', 'AlbumId': 297, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Symphony No.1', 'AlbumId': 298, 'COUNT(*)': 1}, {'Title': 'Scheherazade', 'AlbumId': 299, 'COUNT(*)': 1}, {'Title': 'Bach: The Brandenburg Concertos', 'AlbumId': 300, 'COUNT(*)': 1}, {'Title': 'Chopin: Piano Concertos Nos. 1 & 2', 'AlbumId': 301, 'COUNT(*)': 1}, {'Title': 'Mascagni: Cavalleria Rusticana', 'AlbumId': 302, 'COUNT(*)': 1}, {'Title': 'Sibelius: Finlandia', 'AlbumId': 303, 'COUNT(*)': 1}, {'Title': 'Beethoven Piano Sonatas: Moonlight & Pastorale', 'AlbumId': 304, 'COUNT(*)': 1}, {'Title': 'Great Recordings of the Century - Mahler: Das Lied von der Erde', 'AlbumId': 305, 'COUNT(*)': 1}, {'Title': 'Elgar: Cello Concerto & Vaughan Williams: Fantasias', 'AlbumId': 306, 'COUNT(*)': 1}, {'Title': 'Adams, John: The Chairman Dances', 'AlbumId': 307, 'COUNT(*)': 1}, {'Title': "Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory", 'AlbumId': 308, 'COUNT(*)': 1}, {'Title': 'Palestrina: Missa Papae Marcelli & Allegri: Miserere', 'AlbumId': 309, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Romeo & Juliet', 'AlbumId': 310, 'COUNT(*)': 1}, {'Title': 'Strauss: Waltzes', 'AlbumId': 311, 'COUNT(*)': 1}, {'Title': 'Berlioz: Symphonie Fantastique', 'AlbumId': 312, 'COUNT(*)': 1}, {'Title': 'Bizet: Carmen Highlights', 'AlbumId': 313, 'COUNT(*)': 1}, {'Title': 'English Renaissance', 'AlbumId': 314, 'COUNT(*)': 2}, {'Title': 'Handel: Music for the Royal Fireworks (Original Version 1749)', 'AlbumId': 315, 'COUNT(*)': 1}, {'Title': 'Grieg: Peer Gynt Suites & Sibelius: Pelléas et Mélisande', 'AlbumId': 316, 'COUNT(*)': 1}, {'Title': 'Mozart Gala: Famous Arias', 'AlbumId': 317, 'COUNT(*)': 1}, {'Title': 'SCRIABIN: Vers la flamme', 'AlbumId': 318, 'COUNT(*)': 1}, {'Title': 'Armada: Music from the Courts of England and Spain', 'AlbumId': 319, 'COUNT(*)': 1}, {'Title': 'Mozart: Symphonies Nos. 40 & 41', 'AlbumId': 320, 'COUNT(*)': 1}, {'Title': 'Back to Black', 'AlbumId': 321, 'COUNT(*)': 12}, {'Title': 'Frank', 'AlbumId': 322, 'COUNT(*)': 11}, {'Title': 'Carried to Dust (Bonus Track Version)', 'AlbumId': 323, 'COUNT(*)': 1}, {'Title': "Beethoven: Symphony No. 6 'Pastoral' Etc.", 'AlbumId': 324, 'COUNT(*)': 1}, {'Title': 'Bartok: Violin & Viola Concertos', 'AlbumId': 325, 'COUNT(*)': 1}, {'Title': "Mendelssohn: A Midsummer Night's Dream", 'AlbumId': 326, 'COUNT(*)': 1}, {'Title': 'Bach: Orchestral Suites Nos. 1 - 4', 'AlbumId': 327, 'COUNT(*)': 1}, {'Title': 'Charpentier: Divertissements, Airs & Concerts', 'AlbumId': 328, 'COUNT(*)': 1}, {'Title': 'South American Getaway', 'AlbumId': 329, 'COUNT(*)': 1}, {'Title': 'Górecki: Symphony No. 3', 'AlbumId': 330, 'COUNT(*)': 1}, {'Title': 'Purcell: The Fairy Queen', 'AlbumId': 331, 'COUNT(*)': 1}, {'Title': 'The Ultimate Relexation Album', 'AlbumId': 332, 'COUNT(*)': 1}, {'Title': 'Purcell: Music for the Queen Mary', 'AlbumId': 333, 'COUNT(*)': 1}, {'Title': 'Weill: The Seven Deadly Sins', 'AlbumId': 334, 'COUNT(*)': 1}, {'Title': 'J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro', 'AlbumId': 335, 'COUNT(*)': 1}, {'Title': 'Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps', 'AlbumId': 336, 'COUNT(*)': 1}, {'Title': 'Szymanowski: Piano Works, Vol. 1', 'AlbumId': 337, 'COUNT(*)': 1}, {'Title': 'Nielsen: The Six Symphonies', 'AlbumId': 338, 'COUNT(*)': 1}, {'Title': "Great Recordings of the Century: Paganini's 24 Caprices", 'AlbumId': 339, 'COUNT(*)': 1}, {'Title': "Liszt - 12 Études D'Execution Transcendante", 'AlbumId': 340, 'COUNT(*)': 1}, {'Title': 'Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder', 'AlbumId': 341, 'COUNT(*)': 1}, {'Title': 'Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3', 'AlbumId': 342, 'COUNT(*)': 1}, {'Title': 'Respighi:Pines of Rome', 'AlbumId': 343, 'COUNT(*)': 1}, {'Title': "Schubert: The Late String Quartets & String Quintet (3 CD's)", 'AlbumId': 344, 'COUNT(*)': 1}, {'Title': "Monteverdi: L'Orfeo", 'AlbumId': 345, 'COUNT(*)': 1}, {'Title': 'Mozart: Chamber Music', 'AlbumId': 346, 'COUNT(*)': 1}, {'Title': 'Koyaanisqatsi (Soundtrack from the Motion Picture)', 'AlbumId': 347, 'COUNT(*)': 1}]
chinook_1
What is the name of the most common genre in all tracks?
SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1
SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1
[{'Name': 'Rock'}]
chinook_1
Find the name of the genre that is most frequent across all tracks.
SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1
SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId ORDER BY COUNT(*) DESC LIMIT 1
[{'Name': 'Rock'}]
chinook_1
What is the least common media type in all tracks?
SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1
SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1
[{'Name': 'Purchased AAC audio file'}]
chinook_1
What is the name of the media type that is least common across all tracks?
SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1
SELECT T1.Name FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId GROUP BY T2.MediaTypeId ORDER BY COUNT(*) ASC LIMIT 1
[{'Name': 'Purchased AAC audio file'}]
chinook_1
Show the album names and ids for albums that contain tracks with unit price bigger than 1.
SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID
SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID
[{'Title': 'Battlestar Galactica: The Story So Far', 'AlbumId': 226}, {'Title': 'Battlestar Galactica, Season 3', 'AlbumId': 227}, {'Title': 'Heroes, Season 1', 'AlbumId': 228}, {'Title': 'Lost, Season 3', 'AlbumId': 229}, {'Title': 'Lost, Season 1', 'AlbumId': 230}, {'Title': 'Lost, Season 2', 'AlbumId': 231}, {'Title': 'The Office, Season 1', 'AlbumId': 249}, {'Title': 'The Office, Season 2', 'AlbumId': 250}, {'Title': 'The Office, Season 3', 'AlbumId': 251}, {'Title': 'Battlestar Galactica (Classic), Season 1', 'AlbumId': 253}, {'Title': 'Aquaman', 'AlbumId': 254}, {'Title': 'LOST, Season 4', 'AlbumId': 261}]
chinook_1
What are the titles and ids for albums containing tracks with unit price greater than 1?
SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID
SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID
[{'Title': 'Battlestar Galactica: The Story So Far', 'AlbumId': 226}, {'Title': 'Battlestar Galactica, Season 3', 'AlbumId': 227}, {'Title': 'Heroes, Season 1', 'AlbumId': 228}, {'Title': 'Lost, Season 3', 'AlbumId': 229}, {'Title': 'Lost, Season 1', 'AlbumId': 230}, {'Title': 'Lost, Season 2', 'AlbumId': 231}, {'Title': 'The Office, Season 1', 'AlbumId': 249}, {'Title': 'The Office, Season 2', 'AlbumId': 250}, {'Title': 'The Office, Season 3', 'AlbumId': 251}, {'Title': 'Battlestar Galactica (Classic), Season 1', 'AlbumId': 253}, {'Title': 'Aquaman', 'AlbumId': 254}, {'Title': 'LOST, Season 4', 'AlbumId': 261}]
chinook_1
How many tracks belong to rock genre?
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
[{'COUNT(*)': 1297}]
chinook_1
Count the number of tracks that are part of the rock genre.
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
[{'COUNT(*)': 1297}]
chinook_1
What is the average unit price of tracks that belong to Jazz genre?
SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"
SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"
[{'AVG(UnitPrice)': 0.9899999999999978}]
chinook_1
Find the average unit price of jazz tracks.
SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"
SELECT AVG(UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Jazz"
[{'AVG(UnitPrice)': 0.9899999999999978}]
chinook_1
What is the first name and last name of the customer that has email "[email protected]"?
SELECT FirstName , LastName FROM CUSTOMER WHERE Email = "[email protected]"
SELECT FirstName , LastName FROM CUSTOMER WHERE Email = "[email protected]"
[{'FirstName': 'Luís', 'LastName': 'Gonçalves'}]
chinook_1
Find the full name of the customer with the email "[email protected]".
SELECT FirstName , LastName FROM CUSTOMER WHERE Email = "[email protected]"
SELECT FirstName , LastName FROM CUSTOMER WHERE Email = "[email protected]"
[{'FirstName': 'Luís', 'LastName': 'Gonçalves'}]
chinook_1
How many customers have email that contains "gmail.com"?
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
[{'COUNT(*)': 8}]
chinook_1
Count the number of customers that have an email containing "gmail.com".
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
[{'COUNT(*)': 8}]
chinook_1
What is the first name and last name employee helps the customer with first name Leonie?
SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
[{'FirstName': 'Steve', 'LastName': 'Johnson'}]
chinook_1
Find the full names of employees who help customers with the first name Leonie.
SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
[{'FirstName': 'Steve', 'LastName': 'Johnson'}]
chinook_1
What city does the employee who helps the customer with postal code 70174 live in?
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174"
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174"
[{'City': 'Calgary'}]
chinook_1
Find the cities corresponding to employees who help customers with the postal code 70174.
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174"
SELECT T2.City FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.PostalCode = "70174"
[{'City': 'Calgary'}]
chinook_1
How many distinct cities does the employees live in?
SELECT COUNT(DISTINCT city) FROM EMPLOYEE
SELECT COUNT(DISTINCT city) FROM EMPLOYEE
[{'COUNT(DISTINCT city)': 3}]
chinook_1
Find the number of different cities that employees live in.
SELECT COUNT(DISTINCT city) FROM EMPLOYEE
SELECT COUNT(DISTINCT city) FROM EMPLOYEE
[{'COUNT(DISTINCT city)': 3}]
chinook_1
Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber"
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber"
[{'InvoiceDate': '2009-12-08 00:00:00'}, {'InvoiceDate': '2010-01-18 00:00:00'}, {'InvoiceDate': '2010-09-18 00:00:00'}, {'InvoiceDate': '2012-04-24 00:00:00'}, {'InvoiceDate': '2012-07-27 00:00:00'}, {'InvoiceDate': '2012-10-29 00:00:00'}, {'InvoiceDate': '2013-06-19 00:00:00'}]
chinook_1
What are the invoice dates for customers with the first name Astrid and the last name Gruber?
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber"
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber"
[{'InvoiceDate': '2009-12-08 00:00:00'}, {'InvoiceDate': '2010-01-18 00:00:00'}, {'InvoiceDate': '2010-09-18 00:00:00'}, {'InvoiceDate': '2012-04-24 00:00:00'}, {'InvoiceDate': '2012-07-27 00:00:00'}, {'InvoiceDate': '2012-10-29 00:00:00'}, {'InvoiceDate': '2013-06-19 00:00:00'}]
chinook_1
Find all the customer last names that do not have invoice totals larger than 20.
SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20
SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20
[{'LastName': 'Almeida'}, {'LastName': 'Barnett'}, {'LastName': 'Bernard'}, {'LastName': 'Brooks'}, {'LastName': 'Brown'}, {'LastName': 'Chase'}, {'LastName': 'Dubois'}, {'LastName': 'Fernandes'}, {'LastName': 'Francis'}, {'LastName': 'Girard'}, {'LastName': 'Gonçalves'}, {'LastName': 'Gordon'}, {'LastName': 'Goyer'}, {'LastName': 'Gray'}, {'LastName': 'Gruber'}, {'LastName': 'Gutiérrez'}, {'LastName': 'Hansen'}, {'LastName': 'Harris'}, {'LastName': 'Hughes'}, {'LastName': 'Hämäläinen'}, {'LastName': 'Johansson'}, {'LastName': 'Jones'}, {'LastName': 'Köhler'}, {'LastName': 'Leacock'}, {'LastName': 'Lefebvre'}, {'LastName': 'Mancini'}, {'LastName': 'Martins'}, {'LastName': 'Mercier'}, {'LastName': 'Miller'}, {'LastName': 'Mitchell'}, {'LastName': 'Murray'}, {'LastName': 'Muñoz'}, {'LastName': 'Nielsen'}, {'LastName': 'Pareek'}, {'LastName': 'Peeters'}, {'LastName': 'Peterson'}, {'LastName': 'Philips'}, {'LastName': 'Ralston'}, {'LastName': 'Ramos'}, {'LastName': 'Rocha'}, {'LastName': 'Rojas'}, {'LastName': 'Sampaio'}, {'LastName': 'Schneider'}, {'LastName': 'Schröder'}, {'LastName': 'Silk'}, {'LastName': 'Smith'}, {'LastName': 'Srivastava'}, {'LastName': 'Stevens'}, {'LastName': 'Sullivan'}, {'LastName': 'Taylor'}, {'LastName': 'Tremblay'}, {'LastName': 'Van der Berg'}, {'LastName': 'Wichterlová'}, {'LastName': 'Wójcik'}, {'LastName': 'Zimmermann'}]
chinook_1
What are the last names of customers without invoice totals exceeding 20?
SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20
SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20
[{'LastName': 'Almeida'}, {'LastName': 'Barnett'}, {'LastName': 'Bernard'}, {'LastName': 'Brooks'}, {'LastName': 'Brown'}, {'LastName': 'Chase'}, {'LastName': 'Dubois'}, {'LastName': 'Fernandes'}, {'LastName': 'Francis'}, {'LastName': 'Girard'}, {'LastName': 'Gonçalves'}, {'LastName': 'Gordon'}, {'LastName': 'Goyer'}, {'LastName': 'Gray'}, {'LastName': 'Gruber'}, {'LastName': 'Gutiérrez'}, {'LastName': 'Hansen'}, {'LastName': 'Harris'}, {'LastName': 'Hughes'}, {'LastName': 'Hämäläinen'}, {'LastName': 'Johansson'}, {'LastName': 'Jones'}, {'LastName': 'Köhler'}, {'LastName': 'Leacock'}, {'LastName': 'Lefebvre'}, {'LastName': 'Mancini'}, {'LastName': 'Martins'}, {'LastName': 'Mercier'}, {'LastName': 'Miller'}, {'LastName': 'Mitchell'}, {'LastName': 'Murray'}, {'LastName': 'Muñoz'}, {'LastName': 'Nielsen'}, {'LastName': 'Pareek'}, {'LastName': 'Peeters'}, {'LastName': 'Peterson'}, {'LastName': 'Philips'}, {'LastName': 'Ralston'}, {'LastName': 'Ramos'}, {'LastName': 'Rocha'}, {'LastName': 'Rojas'}, {'LastName': 'Sampaio'}, {'LastName': 'Schneider'}, {'LastName': 'Schröder'}, {'LastName': 'Silk'}, {'LastName': 'Smith'}, {'LastName': 'Srivastava'}, {'LastName': 'Stevens'}, {'LastName': 'Sullivan'}, {'LastName': 'Taylor'}, {'LastName': 'Tremblay'}, {'LastName': 'Van der Berg'}, {'LastName': 'Wichterlová'}, {'LastName': 'Wójcik'}, {'LastName': 'Zimmermann'}]
chinook_1
Find the first names of all customers that live in Brazil and have an invoice.
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
[{'FirstName': 'Luís'}, {'FirstName': 'Eduardo'}, {'FirstName': 'Alexandre'}, {'FirstName': 'Roberto'}, {'FirstName': 'Fernanda'}]
chinook_1
What are the different first names for customers from Brazil who have also had an invoice?
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil"
[{'FirstName': 'Luís'}, {'FirstName': 'Eduardo'}, {'FirstName': 'Alexandre'}, {'FirstName': 'Roberto'}, {'FirstName': 'Fernanda'}]
chinook_1
Find the address of all customers that live in Germany and have invoice.
SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"
SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"
[{'Address': 'Theodor-Heuss-Straße 34'}, {'Address': 'Tauentzienstraße 8'}, {'Address': 'Berger Straße 10'}, {'Address': 'Barbarossastraße 19'}]
chinook_1
What are the addresses of customers living in Germany who have had an invoice?
SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"
SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"
[{'Address': 'Theodor-Heuss-Straße 34'}, {'Address': 'Tauentzienstraße 8'}, {'Address': 'Berger Straße 10'}, {'Address': 'Barbarossastraße 19'}]
chinook_1
List the phone numbers of all employees.
SELECT Phone FROM EMPLOYEE
SELECT Phone FROM EMPLOYEE
[{'Phone': '+1 (780) 428-9482'}, {'Phone': '+1 (403) 262-3443'}, {'Phone': '+1 (403) 262-3443'}, {'Phone': '+1 (403) 263-4423'}, {'Phone': '1 (780) 836-9987'}, {'Phone': '+1 (403) 246-9887'}, {'Phone': '+1 (403) 456-9986'}, {'Phone': '+1 (403) 467-3351'}]
chinook_1
What are the phone numbers for each employee?
SELECT Phone FROM EMPLOYEE
SELECT Phone FROM EMPLOYEE
[{'Phone': '+1 (780) 428-9482'}, {'Phone': '+1 (403) 262-3443'}, {'Phone': '+1 (403) 262-3443'}, {'Phone': '+1 (403) 263-4423'}, {'Phone': '1 (780) 836-9987'}, {'Phone': '+1 (403) 246-9887'}, {'Phone': '+1 (403) 456-9986'}, {'Phone': '+1 (403) 467-3351'}]
chinook_1
How many tracks are in the AAC audio file media type?
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
[{'COUNT(*)': 11}]
chinook_1
Count the number of tracks that are of the media type "AAC audio file".
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
[{'COUNT(*)': 11}]
chinook_1
What is the average duration in milliseconds of tracks that belong to Latin or Pop genre?
SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop"
SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop"
[{'AVG(Milliseconds)': 232566.4274322169}]
chinook_1
Find the average millisecond length of Latin and Pop tracks.
SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop"
SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop"
[{'AVG(Milliseconds)': 232566.4274322169}]
chinook_1
Please show the employee first names and ids of employees who serve at least 10 customers.
SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
[{'FirstName': 'Luís', 'SupportRepId': 3}, {'FirstName': 'Bjørn', 'SupportRepId': 4}, {'FirstName': 'Leonie', 'SupportRepId': 5}]
chinook_1
What are the first names and support rep ids for employees serving 10 or more customers?
SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
SELECT T1.FirstName , T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
[{'FirstName': 'Luís', 'SupportRepId': 3}, {'FirstName': 'Bjørn', 'SupportRepId': 4}, {'FirstName': 'Leonie', 'SupportRepId': 5}]
chinook_1
Please show the employee last names that serves no more than 20 customers.
SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20
SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20
[{'LastName': 'Hansen'}, {'LastName': 'Köhler'}]
chinook_1
What are the last names of employees who serve at most 20 customers?
SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20
SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20
[{'LastName': 'Hansen'}, {'LastName': 'Köhler'}]
chinook_1
Please list all album titles in alphabetical order.
SELECT Title FROM ALBUM ORDER BY Title
SELECT Title FROM ALBUM ORDER BY Title
[{'Title': '...And Justice For All'}, {'Title': '20th Century Masters - The Millennium Collection: The Best of Scorpions'}, {'Title': 'A Copland Celebration, Vol. I'}, {'Title': 'A Matter of Life and Death'}, {'Title': 'A Real Dead One'}, {'Title': 'A Real Live One'}, {'Title': 'A Soprano Inspired'}, {'Title': 'A TempestadeTempestade Ou O Livro Dos Dias'}, {'Title': 'A-Sides'}, {'Title': 'Ace Of Spades'}, {'Title': 'Achtung Baby'}, {'Title': 'Acústico'}, {'Title': 'Acústico MTV'}, {'Title': 'Acústico MTV [Live]'}, {'Title': 'Adams, John: The Chairman Dances'}, {'Title': 'Adorate Deum: Gregorian Chant from the Proper of the Mass'}, {'Title': 'Afrociberdelia'}, {'Title': 'Album Of The Year'}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 1]'}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 2]'}, {'Title': "All That You Can't Leave Behind"}, {'Title': 'Allegri: Miserere'}, {'Title': 'American Idiot'}, {'Title': 'Angel Dust'}, {'Title': 'Ao Vivo [IMPORT]'}, {'Title': 'Appetite for Destruction'}, {'Title': 'Aquaman'}, {'Title': 'Are You Experienced?'}, {'Title': 'Armada: Music from the Courts of England and Spain'}, {'Title': 'Arquivo II'}, {'Title': 'Arquivo Os Paralamas Do Sucesso'}, {'Title': 'As Canções de Eu Tu Eles'}, {'Title': 'Audioslave'}, {'Title': 'Axé Bahia 2001'}, {'Title': 'B-Sides 1980-1990'}, {'Title': 'BBC Sessions [Disc 1] [Live]'}, {'Title': 'BBC Sessions [Disc 2] [Live]'}, {'Title': 'Bach: Goldberg Variations'}, {'Title': 'Bach: Orchestral Suites Nos. 1 - 4'}, {'Title': 'Bach: The Brandenburg Concertos'}, {'Title': 'Bach: The Cello Suites'}, {'Title': 'Bach: Toccata & Fugue in D Minor'}, {'Title': 'Bach: Violin Concertos'}, {'Title': 'Back to Black'}, {'Title': 'BackBeat Soundtrack'}, {'Title': 'Balls to the Wall'}, {'Title': 'Bark at the Moon (Remastered)'}, {'Title': 'Bartok: Violin & Viola Concertos'}, {'Title': 'Barulhinho Bom'}, {'Title': 'Battlestar Galactica (Classic), Season 1'}, {'Title': 'Battlestar Galactica, Season 3'}, {'Title': 'Battlestar Galactica: The Story So Far'}, {'Title': 'Beethoven Piano Sonatas: Moonlight & Pastorale'}, {'Title': 'Beethoven: Symhonies Nos. 5 & 6'}, {'Title': "Beethoven: Symphony No. 6 'Pastoral' Etc."}, {'Title': 'Berlioz: Symphonie Fantastique'}, {'Title': 'Beyond Good And Evil'}, {'Title': 'Big Ones'}, {'Title': 'Bizet: Carmen Highlights'}, {'Title': 'Black Album'}, {'Title': 'Black Sabbath'}, {'Title': 'Black Sabbath Vol. 4 (Remaster)'}, {'Title': 'Blizzard of Ozz'}, {'Title': 'Blood Sugar Sex Magik'}, {'Title': 'Blue Moods'}, {'Title': 'Body Count'}, {'Title': 'Bongo Fury'}, {'Title': 'Brave New World'}, {'Title': 'By The Way'}, {'Title': 'Cafezinho'}, {'Title': 'Cake: B-Sides and Rarities'}, {'Title': 'Californication'}, {'Title': 'Carmina Burana'}, {'Title': 'Carnaval 2001'}, {'Title': 'Carried to Dust (Bonus Track Version)'}, {'Title': 'Carry On'}, {'Title': 'Cesta Básica'}, {'Title': 'Charpentier: Divertissements, Airs & Concerts'}, {'Title': 'Chemical Wedding'}, {'Title': 'Chill: Brazil (Disc 1)'}, {'Title': 'Chill: Brazil (Disc 2)'}, {'Title': 'Chopin: Piano Concertos Nos. 1 & 2'}, {'Title': 'Chronicle, Vol. 1'}, {'Title': 'Chronicle, Vol. 2'}, {'Title': 'Cidade Negra - Hits'}, {'Title': 'Coda'}, {'Title': 'Come Taste The Band'}, {'Title': 'Compositores'}, {'Title': 'Contraband'}, {'Title': 'Core'}, {'Title': 'Cássia Eller - Coleção Sem Limite [Disc 2]'}, {'Title': 'Cássia Eller - Sem Limite [Disc 1]'}, {'Title': 'Da Lama Ao Caos'}, {'Title': 'Dance Of Death'}, {'Title': 'Dark Side Of The Moon'}, {'Title': 'Deep Purple In Rock'}, {'Title': 'Deixa Entrar'}, {'Title': 'Demorou...'}, {'Title': 'Diary of a Madman (Remastered)'}, {'Title': 'Diver Down'}, {'Title': 'Djavan Ao Vivo - Vol. 02'}, {'Title': 'Djavan Ao Vivo - Vol. 1'}, {'Title': 'Duos II'}, {'Title': 'Elgar: Cello Concerto & Vaughan Williams: Fantasias'}, {'Title': 'Elis Regina-Minha História'}, {'Title': 'Emergency On Planet Earth'}, {'Title': 'English Renaissance'}, {'Title': 'Every Kind of Light'}, {'Title': 'Faceless'}, {'Title': 'Facelift'}, {'Title': 'Fauré: Requiem, Ravel: Pavane & Others'}, {'Title': 'Fear Of The Dark'}, {'Title': 'Fireball'}, {'Title': 'For Those About To Rock We Salute You'}, {'Title': 'Frank'}, {'Title': 'From The Muddy Banks Of The Wishkah [Live]'}, {'Title': 'Garage Inc. (Disc 1)'}, {'Title': 'Garage Inc. (Disc 2)'}, {'Title': 'Get Born'}, {'Title': 'Great Opera Choruses'}, {'Title': "Great Performances - Barber's Adagio and Other Romantic Favorites for Strings"}, {'Title': 'Great Recordings of the Century - Mahler: Das Lied von der Erde'}, {'Title': 'Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder'}, {'Title': "Great Recordings of the Century: Paganini's 24 Caprices"}, {'Title': 'Greatest Hits'}, {'Title': 'Greatest Hits I'}, {'Title': 'Greatest Hits II'}, {'Title': 'Greatest Kiss'}, {'Title': 'Green'}, {'Title': 'Grieg: Peer Gynt Suites & Sibelius: Pelléas et Mélisande'}, {'Title': 'Górecki: Symphony No. 3'}, {'Title': 'Handel: Music for the Royal Fireworks (Original Version 1749)'}, {'Title': 'Handel: The Messiah (Highlights)'}, {'Title': 'Haydn: Symphonies 99 - 104'}, {'Title': 'Heart of the Night'}, {'Title': 'Heroes, Season 1'}, {'Title': 'Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies'}, {'Title': 'Hot Rocks, 1964-1971 (Disc 1)'}, {'Title': 'House of Pain'}, {'Title': 'Houses Of The Holy'}, {'Title': 'How To Dismantle An Atomic Bomb'}, {'Title': 'IV'}, {'Title': 'In Step'}, {'Title': 'In Through The Out Door'}, {'Title': 'In Your Honor [Disc 1]'}, {'Title': 'In Your Honor [Disc 2]'}, {'Title': 'Instant Karma: The Amnesty International Campaign to Save Darfur'}, {'Title': 'International Superhits'}, {'Title': 'Into The Light'}, {'Title': 'Iron Maiden'}, {'Title': 'J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro'}, {'Title': 'Jagged Little Pill'}, {'Title': 'Jorge Ben Jor 25 Anos'}, {'Title': 'Jota Quest-1995'}, {'Title': 'Judas 0: B-Sides and Rarities'}, {'Title': "Kill 'Em All"}, {'Title': 'Killers'}, {'Title': 'King For A Day Fool For A Lifetime'}, {'Title': "Knocking at Your Back Door: The Best Of Deep Purple in the 80's"}, {'Title': 'Koyaanisqatsi (Soundtrack from the Motion Picture)'}, {'Title': 'LOST, Season 4'}, {'Title': 'Led Zeppelin I'}, {'Title': 'Led Zeppelin II'}, {'Title': 'Led Zeppelin III'}, {'Title': 'Let There Be Rock'}, {'Title': "Liszt - 12 Études D'Execution Transcendante"}, {'Title': 'Live After Death'}, {'Title': 'Live At Donington 1992 (Disc 1)'}, {'Title': 'Live At Donington 1992 (Disc 2)'}, {'Title': 'Live On Two Legs [Live]'}, {'Title': 'Live [Disc 1]'}, {'Title': 'Live [Disc 2]'}, {'Title': 'Living After Midnight'}, {'Title': 'Load'}, {'Title': 'Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3'}, {'Title': 'Lost, Season 1'}, {'Title': 'Lost, Season 2'}, {'Title': 'Lost, Season 3'}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 01'}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 02'}, {'Title': 'MK III The Final Concerts [Disc 1]'}, {'Title': 'Machine Head'}, {'Title': 'Mais Do Mesmo'}, {'Title': 'Maquinarama'}, {'Title': 'Mascagni: Cavalleria Rusticana'}, {'Title': 'Master Of Puppets'}, {'Title': "Mendelssohn: A Midsummer Night's Dream"}, {'Title': 'Meus Momentos'}, {'Title': 'Mezmerize'}, {'Title': 'Miles Ahead'}, {'Title': 'Milton Nascimento Ao Vivo'}, {'Title': 'Minas'}, {'Title': 'Minha Historia'}, {'Title': 'Minha História'}, {'Title': 'Misplaced Childhood'}, {'Title': "Monteverdi: L'Orfeo"}, {'Title': 'Morning Dance'}, {'Title': 'Motley Crue Greatest Hits'}, {'Title': 'Mozart Gala: Famous Arias'}, {'Title': 'Mozart: Chamber Music'}, {'Title': 'Mozart: Symphonies Nos. 40 & 41'}, {'Title': 'Mozart: Wind Concertos'}, {'Title': 'Muso Ko'}, {'Title': 'My Generation - The Very Best Of The Who'}, {'Title': 'My Way: The Best Of Frank Sinatra [Disc 1]'}, {'Title': 'Na Pista'}, {'Title': 'Nevermind'}, {'Title': 'New Adventures In Hi-Fi'}, {'Title': 'News Of The World'}, {'Title': 'Nielsen: The Six Symphonies'}, {'Title': 'No More Tears (Remastered)'}, {'Title': 'No Prayer For The Dying'}, {'Title': 'No Security'}, {'Title': 'O Samba Poconé'}, {'Title': 'Olodum'}, {'Title': 'One By One'}, {'Title': 'Original Soundtracks 1'}, {'Title': 'Os Cães Ladram Mas A Caravana Não Pára'}, {'Title': 'Out Of Exile'}, {'Title': 'Out Of Time'}, {'Title': 'Outbreak'}, {'Title': 'Pachelbel: Canon & Gigue'}, {'Title': 'Palestrina: Missa Papae Marcelli & Allegri: Miserere'}, {'Title': "Pavarotti's Opera Made Easy"}, {'Title': 'Pearl Jam'}, {'Title': 'Physical Graffiti [Disc 1]'}, {'Title': 'Physical Graffiti [Disc 2]'}, {'Title': 'Piece Of Mind'}, {'Title': 'Plays Metallica By Four Cellos'}, {'Title': 'Pop'}, {'Title': 'Powerslave'}, {'Title': 'Prenda Minha'}, {'Title': 'Presence'}, {'Title': 'Prokofiev: Romeo & Juliet'}, {'Title': 'Prokofiev: Symphony No.1'}, {'Title': 'Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps'}, {'Title': 'Puccini: Madama Butterfly - Highlights'}, {'Title': 'Purcell: Music for the Queen Mary'}, {'Title': 'Purcell: The Fairy Queen'}, {'Title': 'Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) [UK]'}, {'Title': 'Purpendicular'}, {'Title': 'Quanta Gente Veio Ver (Live)'}, {'Title': 'Quanta Gente Veio ver--Bônus De Carnaval'}, {'Title': 'Quiet Songs'}, {'Title': 'Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro'}, {'Title': 'Rattle And Hum'}, {'Title': 'Raul Seixas'}, {'Title': 'ReLoad'}, {'Title': 'Realize'}, {'Title': 'Respighi:Pines of Rome'}, {'Title': 'Restless and Wild'}, {'Title': 'Retrospective I (1974-1980)'}, {'Title': 'Revelations'}, {'Title': 'Ride The Lightning'}, {'Title': 'Riot Act'}, {'Title': 'Rock In Rio [CD1]'}, {'Title': 'Rock In Rio [CD2]'}, {'Title': 'Roda De Funk'}, {'Title': 'Rotten Apples: Greatest Hits'}, {'Title': 'SCRIABIN: Vers la flamme'}, {'Title': 'Sambas De Enredo 2001'}, {'Title': 'Santana - As Years Go By'}, {'Title': 'Santana Live'}, {'Title': 'Scheherazade'}, {'Title': "Schubert: The Late String Quartets & String Quintet (3 CD's)"}, {'Title': 'Seek And Shall Find: More Of The Best (1963-1981)'}, {'Title': 'Serie Sem Limite (Disc 1)'}, {'Title': 'Serie Sem Limite (Disc 2)'}, {'Title': 'Seventh Son of a Seventh Son'}, {'Title': 'Sex Machine'}, {'Title': 'Sibelius: Finlandia'}, {'Title': 'Sir Neville Marriner: A Celebration'}, {'Title': 'Slaves And Masters'}, {'Title': 'Somewhere in Time'}, {'Title': 'South American Getaway'}, {'Title': 'Sozinho Remix Ao Vivo'}, {'Title': 'Speak of the Devil'}, {'Title': 'St. Anger'}, {'Title': 'Stormbringer'}, {'Title': 'Strauss: Waltzes'}, {'Title': 'Supernatural'}, {'Title': 'Surfing with the Alien (Remastered)'}, {'Title': 'Synkronized'}, {'Title': 'Szymanowski: Piano Works, Vol. 1'}, {'Title': 'Tangents'}, {'Title': "Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory"}, {'Title': 'Tchaikovsky: The Nutcracker'}, {'Title': 'Temple of the Dog'}, {'Title': 'Ten'}, {'Title': 'The Battle Rages On'}, {'Title': 'The Beast Live'}, {'Title': 'The Best Of 1980-1990'}, {'Title': 'The Best Of Billy Cobham'}, {'Title': 'The Best Of Buddy Guy - The Millenium Collection'}, {'Title': 'The Best Of Men At Work'}, {'Title': 'The Best Of R.E.M.: The IRS Years'}, {'Title': 'The Best Of Van Halen, Vol. I'}, {'Title': 'The Best of Beethoven'}, {'Title': 'The Best of Ed Motta'}, {'Title': 'The Colour And The Shape'}, {'Title': 'The Cream Of Clapton'}, {'Title': 'The Doors'}, {'Title': 'The Essential Miles Davis [Disc 1]'}, {'Title': 'The Essential Miles Davis [Disc 2]'}, {'Title': 'The Final Concerts (Disc 2)'}, {'Title': 'The Last Night of the Proms'}, {'Title': 'The Number of The Beast'}, {'Title': 'The Office, Season 1'}, {'Title': 'The Office, Season 2'}, {'Title': 'The Office, Season 3'}, {'Title': 'The Police Greatest Hits'}, {'Title': 'The Real Thing'}, {'Title': 'The Return Of The Space Cowboy'}, {'Title': 'The Singles'}, {'Title': 'The Song Remains The Same (Disc 1)'}, {'Title': 'The Song Remains The Same (Disc 2)'}, {'Title': 'The Ultimate Relexation Album'}, {'Title': 'The World of Classical Favourites'}, {'Title': 'The X Factor'}, {'Title': 'Transmission'}, {'Title': 'Tribute'}, {'Title': 'UB40 The Best Of - Volume Two [UK]'}, {'Title': 'Un-Led-Ed'}, {'Title': 'Unplugged'}, {'Title': 'Unplugged [Live]'}, {'Title': "Up An' Atom"}, {'Title': 'Use Your Illusion I'}, {'Title': 'Use Your Illusion II'}, {'Title': 'Van Halen'}, {'Title': 'Van Halen III'}, {'Title': "Vault: Def Leppard's Greatest Hits"}, {'Title': 'Vinicius De Moraes'}, {'Title': 'Vinícius De Moraes - Sem Limite'}, {'Title': 'Virtual XI'}, {'Title': 'Vivaldi: The Four Seasons'}, {'Title': 'Volume Dois'}, {'Title': 'Voodoo Lounge'}, {'Title': 'Vozes do MPB'}, {'Title': 'Vs.'}, {'Title': 'Wagner: Favourite Overtures'}, {'Title': 'Walking Into Clarksdale'}, {'Title': 'War'}, {'Title': 'Warner 25 Anos'}, {'Title': 'Weill: The Seven Deadly Sins'}, {'Title': 'Worlds'}, {'Title': 'Zooropa'}, {'Title': '[1997] Black Light Syndrome'}]
chinook_1
What are all the album titles, in alphabetical order?
SELECT Title FROM ALBUM ORDER BY Title
SELECT Title FROM ALBUM ORDER BY Title
[{'Title': '...And Justice For All'}, {'Title': '20th Century Masters - The Millennium Collection: The Best of Scorpions'}, {'Title': 'A Copland Celebration, Vol. I'}, {'Title': 'A Matter of Life and Death'}, {'Title': 'A Real Dead One'}, {'Title': 'A Real Live One'}, {'Title': 'A Soprano Inspired'}, {'Title': 'A TempestadeTempestade Ou O Livro Dos Dias'}, {'Title': 'A-Sides'}, {'Title': 'Ace Of Spades'}, {'Title': 'Achtung Baby'}, {'Title': 'Acústico'}, {'Title': 'Acústico MTV'}, {'Title': 'Acústico MTV [Live]'}, {'Title': 'Adams, John: The Chairman Dances'}, {'Title': 'Adorate Deum: Gregorian Chant from the Proper of the Mass'}, {'Title': 'Afrociberdelia'}, {'Title': 'Album Of The Year'}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 1]'}, {'Title': 'Alcohol Fueled Brewtality Live! [Disc 2]'}, {'Title': "All That You Can't Leave Behind"}, {'Title': 'Allegri: Miserere'}, {'Title': 'American Idiot'}, {'Title': 'Angel Dust'}, {'Title': 'Ao Vivo [IMPORT]'}, {'Title': 'Appetite for Destruction'}, {'Title': 'Aquaman'}, {'Title': 'Are You Experienced?'}, {'Title': 'Armada: Music from the Courts of England and Spain'}, {'Title': 'Arquivo II'}, {'Title': 'Arquivo Os Paralamas Do Sucesso'}, {'Title': 'As Canções de Eu Tu Eles'}, {'Title': 'Audioslave'}, {'Title': 'Axé Bahia 2001'}, {'Title': 'B-Sides 1980-1990'}, {'Title': 'BBC Sessions [Disc 1] [Live]'}, {'Title': 'BBC Sessions [Disc 2] [Live]'}, {'Title': 'Bach: Goldberg Variations'}, {'Title': 'Bach: Orchestral Suites Nos. 1 - 4'}, {'Title': 'Bach: The Brandenburg Concertos'}, {'Title': 'Bach: The Cello Suites'}, {'Title': 'Bach: Toccata & Fugue in D Minor'}, {'Title': 'Bach: Violin Concertos'}, {'Title': 'Back to Black'}, {'Title': 'BackBeat Soundtrack'}, {'Title': 'Balls to the Wall'}, {'Title': 'Bark at the Moon (Remastered)'}, {'Title': 'Bartok: Violin & Viola Concertos'}, {'Title': 'Barulhinho Bom'}, {'Title': 'Battlestar Galactica (Classic), Season 1'}, {'Title': 'Battlestar Galactica, Season 3'}, {'Title': 'Battlestar Galactica: The Story So Far'}, {'Title': 'Beethoven Piano Sonatas: Moonlight & Pastorale'}, {'Title': 'Beethoven: Symhonies Nos. 5 & 6'}, {'Title': "Beethoven: Symphony No. 6 'Pastoral' Etc."}, {'Title': 'Berlioz: Symphonie Fantastique'}, {'Title': 'Beyond Good And Evil'}, {'Title': 'Big Ones'}, {'Title': 'Bizet: Carmen Highlights'}, {'Title': 'Black Album'}, {'Title': 'Black Sabbath'}, {'Title': 'Black Sabbath Vol. 4 (Remaster)'}, {'Title': 'Blizzard of Ozz'}, {'Title': 'Blood Sugar Sex Magik'}, {'Title': 'Blue Moods'}, {'Title': 'Body Count'}, {'Title': 'Bongo Fury'}, {'Title': 'Brave New World'}, {'Title': 'By The Way'}, {'Title': 'Cafezinho'}, {'Title': 'Cake: B-Sides and Rarities'}, {'Title': 'Californication'}, {'Title': 'Carmina Burana'}, {'Title': 'Carnaval 2001'}, {'Title': 'Carried to Dust (Bonus Track Version)'}, {'Title': 'Carry On'}, {'Title': 'Cesta Básica'}, {'Title': 'Charpentier: Divertissements, Airs & Concerts'}, {'Title': 'Chemical Wedding'}, {'Title': 'Chill: Brazil (Disc 1)'}, {'Title': 'Chill: Brazil (Disc 2)'}, {'Title': 'Chopin: Piano Concertos Nos. 1 & 2'}, {'Title': 'Chronicle, Vol. 1'}, {'Title': 'Chronicle, Vol. 2'}, {'Title': 'Cidade Negra - Hits'}, {'Title': 'Coda'}, {'Title': 'Come Taste The Band'}, {'Title': 'Compositores'}, {'Title': 'Contraband'}, {'Title': 'Core'}, {'Title': 'Cássia Eller - Coleção Sem Limite [Disc 2]'}, {'Title': 'Cássia Eller - Sem Limite [Disc 1]'}, {'Title': 'Da Lama Ao Caos'}, {'Title': 'Dance Of Death'}, {'Title': 'Dark Side Of The Moon'}, {'Title': 'Deep Purple In Rock'}, {'Title': 'Deixa Entrar'}, {'Title': 'Demorou...'}, {'Title': 'Diary of a Madman (Remastered)'}, {'Title': 'Diver Down'}, {'Title': 'Djavan Ao Vivo - Vol. 02'}, {'Title': 'Djavan Ao Vivo - Vol. 1'}, {'Title': 'Duos II'}, {'Title': 'Elgar: Cello Concerto & Vaughan Williams: Fantasias'}, {'Title': 'Elis Regina-Minha História'}, {'Title': 'Emergency On Planet Earth'}, {'Title': 'English Renaissance'}, {'Title': 'Every Kind of Light'}, {'Title': 'Faceless'}, {'Title': 'Facelift'}, {'Title': 'Fauré: Requiem, Ravel: Pavane & Others'}, {'Title': 'Fear Of The Dark'}, {'Title': 'Fireball'}, {'Title': 'For Those About To Rock We Salute You'}, {'Title': 'Frank'}, {'Title': 'From The Muddy Banks Of The Wishkah [Live]'}, {'Title': 'Garage Inc. (Disc 1)'}, {'Title': 'Garage Inc. (Disc 2)'}, {'Title': 'Get Born'}, {'Title': 'Great Opera Choruses'}, {'Title': "Great Performances - Barber's Adagio and Other Romantic Favorites for Strings"}, {'Title': 'Great Recordings of the Century - Mahler: Das Lied von der Erde'}, {'Title': 'Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder'}, {'Title': "Great Recordings of the Century: Paganini's 24 Caprices"}, {'Title': 'Greatest Hits'}, {'Title': 'Greatest Hits I'}, {'Title': 'Greatest Hits II'}, {'Title': 'Greatest Kiss'}, {'Title': 'Green'}, {'Title': 'Grieg: Peer Gynt Suites & Sibelius: Pelléas et Mélisande'}, {'Title': 'Górecki: Symphony No. 3'}, {'Title': 'Handel: Music for the Royal Fireworks (Original Version 1749)'}, {'Title': 'Handel: The Messiah (Highlights)'}, {'Title': 'Haydn: Symphonies 99 - 104'}, {'Title': 'Heart of the Night'}, {'Title': 'Heroes, Season 1'}, {'Title': 'Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies'}, {'Title': 'Hot Rocks, 1964-1971 (Disc 1)'}, {'Title': 'House of Pain'}, {'Title': 'Houses Of The Holy'}, {'Title': 'How To Dismantle An Atomic Bomb'}, {'Title': 'IV'}, {'Title': 'In Step'}, {'Title': 'In Through The Out Door'}, {'Title': 'In Your Honor [Disc 1]'}, {'Title': 'In Your Honor [Disc 2]'}, {'Title': 'Instant Karma: The Amnesty International Campaign to Save Darfur'}, {'Title': 'International Superhits'}, {'Title': 'Into The Light'}, {'Title': 'Iron Maiden'}, {'Title': 'J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro'}, {'Title': 'Jagged Little Pill'}, {'Title': 'Jorge Ben Jor 25 Anos'}, {'Title': 'Jota Quest-1995'}, {'Title': 'Judas 0: B-Sides and Rarities'}, {'Title': "Kill 'Em All"}, {'Title': 'Killers'}, {'Title': 'King For A Day Fool For A Lifetime'}, {'Title': "Knocking at Your Back Door: The Best Of Deep Purple in the 80's"}, {'Title': 'Koyaanisqatsi (Soundtrack from the Motion Picture)'}, {'Title': 'LOST, Season 4'}, {'Title': 'Led Zeppelin I'}, {'Title': 'Led Zeppelin II'}, {'Title': 'Led Zeppelin III'}, {'Title': 'Let There Be Rock'}, {'Title': "Liszt - 12 Études D'Execution Transcendante"}, {'Title': 'Live After Death'}, {'Title': 'Live At Donington 1992 (Disc 1)'}, {'Title': 'Live At Donington 1992 (Disc 2)'}, {'Title': 'Live On Two Legs [Live]'}, {'Title': 'Live [Disc 1]'}, {'Title': 'Live [Disc 2]'}, {'Title': 'Living After Midnight'}, {'Title': 'Load'}, {'Title': 'Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3'}, {'Title': 'Lost, Season 1'}, {'Title': 'Lost, Season 2'}, {'Title': 'Lost, Season 3'}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 01'}, {'Title': 'Lulu Santos - RCA 100 Anos De Música - Álbum 02'}, {'Title': 'MK III The Final Concerts [Disc 1]'}, {'Title': 'Machine Head'}, {'Title': 'Mais Do Mesmo'}, {'Title': 'Maquinarama'}, {'Title': 'Mascagni: Cavalleria Rusticana'}, {'Title': 'Master Of Puppets'}, {'Title': "Mendelssohn: A Midsummer Night's Dream"}, {'Title': 'Meus Momentos'}, {'Title': 'Mezmerize'}, {'Title': 'Miles Ahead'}, {'Title': 'Milton Nascimento Ao Vivo'}, {'Title': 'Minas'}, {'Title': 'Minha Historia'}, {'Title': 'Minha História'}, {'Title': 'Misplaced Childhood'}, {'Title': "Monteverdi: L'Orfeo"}, {'Title': 'Morning Dance'}, {'Title': 'Motley Crue Greatest Hits'}, {'Title': 'Mozart Gala: Famous Arias'}, {'Title': 'Mozart: Chamber Music'}, {'Title': 'Mozart: Symphonies Nos. 40 & 41'}, {'Title': 'Mozart: Wind Concertos'}, {'Title': 'Muso Ko'}, {'Title': 'My Generation - The Very Best Of The Who'}, {'Title': 'My Way: The Best Of Frank Sinatra [Disc 1]'}, {'Title': 'Na Pista'}, {'Title': 'Nevermind'}, {'Title': 'New Adventures In Hi-Fi'}, {'Title': 'News Of The World'}, {'Title': 'Nielsen: The Six Symphonies'}, {'Title': 'No More Tears (Remastered)'}, {'Title': 'No Prayer For The Dying'}, {'Title': 'No Security'}, {'Title': 'O Samba Poconé'}, {'Title': 'Olodum'}, {'Title': 'One By One'}, {'Title': 'Original Soundtracks 1'}, {'Title': 'Os Cães Ladram Mas A Caravana Não Pára'}, {'Title': 'Out Of Exile'}, {'Title': 'Out Of Time'}, {'Title': 'Outbreak'}, {'Title': 'Pachelbel: Canon & Gigue'}, {'Title': 'Palestrina: Missa Papae Marcelli & Allegri: Miserere'}, {'Title': "Pavarotti's Opera Made Easy"}, {'Title': 'Pearl Jam'}, {'Title': 'Physical Graffiti [Disc 1]'}, {'Title': 'Physical Graffiti [Disc 2]'}, {'Title': 'Piece Of Mind'}, {'Title': 'Plays Metallica By Four Cellos'}, {'Title': 'Pop'}, {'Title': 'Powerslave'}, {'Title': 'Prenda Minha'}, {'Title': 'Presence'}, {'Title': 'Prokofiev: Romeo & Juliet'}, {'Title': 'Prokofiev: Symphony No.1'}, {'Title': 'Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps'}, {'Title': 'Puccini: Madama Butterfly - Highlights'}, {'Title': 'Purcell: Music for the Queen Mary'}, {'Title': 'Purcell: The Fairy Queen'}, {'Title': 'Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) [UK]'}, {'Title': 'Purpendicular'}, {'Title': 'Quanta Gente Veio Ver (Live)'}, {'Title': 'Quanta Gente Veio ver--Bônus De Carnaval'}, {'Title': 'Quiet Songs'}, {'Title': 'Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro'}, {'Title': 'Rattle And Hum'}, {'Title': 'Raul Seixas'}, {'Title': 'ReLoad'}, {'Title': 'Realize'}, {'Title': 'Respighi:Pines of Rome'}, {'Title': 'Restless and Wild'}, {'Title': 'Retrospective I (1974-1980)'}, {'Title': 'Revelations'}, {'Title': 'Ride The Lightning'}, {'Title': 'Riot Act'}, {'Title': 'Rock In Rio [CD1]'}, {'Title': 'Rock In Rio [CD2]'}, {'Title': 'Roda De Funk'}, {'Title': 'Rotten Apples: Greatest Hits'}, {'Title': 'SCRIABIN: Vers la flamme'}, {'Title': 'Sambas De Enredo 2001'}, {'Title': 'Santana - As Years Go By'}, {'Title': 'Santana Live'}, {'Title': 'Scheherazade'}, {'Title': "Schubert: The Late String Quartets & String Quintet (3 CD's)"}, {'Title': 'Seek And Shall Find: More Of The Best (1963-1981)'}, {'Title': 'Serie Sem Limite (Disc 1)'}, {'Title': 'Serie Sem Limite (Disc 2)'}, {'Title': 'Seventh Son of a Seventh Son'}, {'Title': 'Sex Machine'}, {'Title': 'Sibelius: Finlandia'}, {'Title': 'Sir Neville Marriner: A Celebration'}, {'Title': 'Slaves And Masters'}, {'Title': 'Somewhere in Time'}, {'Title': 'South American Getaway'}, {'Title': 'Sozinho Remix Ao Vivo'}, {'Title': 'Speak of the Devil'}, {'Title': 'St. Anger'}, {'Title': 'Stormbringer'}, {'Title': 'Strauss: Waltzes'}, {'Title': 'Supernatural'}, {'Title': 'Surfing with the Alien (Remastered)'}, {'Title': 'Synkronized'}, {'Title': 'Szymanowski: Piano Works, Vol. 1'}, {'Title': 'Tangents'}, {'Title': "Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory"}, {'Title': 'Tchaikovsky: The Nutcracker'}, {'Title': 'Temple of the Dog'}, {'Title': 'Ten'}, {'Title': 'The Battle Rages On'}, {'Title': 'The Beast Live'}, {'Title': 'The Best Of 1980-1990'}, {'Title': 'The Best Of Billy Cobham'}, {'Title': 'The Best Of Buddy Guy - The Millenium Collection'}, {'Title': 'The Best Of Men At Work'}, {'Title': 'The Best Of R.E.M.: The IRS Years'}, {'Title': 'The Best Of Van Halen, Vol. I'}, {'Title': 'The Best of Beethoven'}, {'Title': 'The Best of Ed Motta'}, {'Title': 'The Colour And The Shape'}, {'Title': 'The Cream Of Clapton'}, {'Title': 'The Doors'}, {'Title': 'The Essential Miles Davis [Disc 1]'}, {'Title': 'The Essential Miles Davis [Disc 2]'}, {'Title': 'The Final Concerts (Disc 2)'}, {'Title': 'The Last Night of the Proms'}, {'Title': 'The Number of The Beast'}, {'Title': 'The Office, Season 1'}, {'Title': 'The Office, Season 2'}, {'Title': 'The Office, Season 3'}, {'Title': 'The Police Greatest Hits'}, {'Title': 'The Real Thing'}, {'Title': 'The Return Of The Space Cowboy'}, {'Title': 'The Singles'}, {'Title': 'The Song Remains The Same (Disc 1)'}, {'Title': 'The Song Remains The Same (Disc 2)'}, {'Title': 'The Ultimate Relexation Album'}, {'Title': 'The World of Classical Favourites'}, {'Title': 'The X Factor'}, {'Title': 'Transmission'}, {'Title': 'Tribute'}, {'Title': 'UB40 The Best Of - Volume Two [UK]'}, {'Title': 'Un-Led-Ed'}, {'Title': 'Unplugged'}, {'Title': 'Unplugged [Live]'}, {'Title': "Up An' Atom"}, {'Title': 'Use Your Illusion I'}, {'Title': 'Use Your Illusion II'}, {'Title': 'Van Halen'}, {'Title': 'Van Halen III'}, {'Title': "Vault: Def Leppard's Greatest Hits"}, {'Title': 'Vinicius De Moraes'}, {'Title': 'Vinícius De Moraes - Sem Limite'}, {'Title': 'Virtual XI'}, {'Title': 'Vivaldi: The Four Seasons'}, {'Title': 'Volume Dois'}, {'Title': 'Voodoo Lounge'}, {'Title': 'Vozes do MPB'}, {'Title': 'Vs.'}, {'Title': 'Wagner: Favourite Overtures'}, {'Title': 'Walking Into Clarksdale'}, {'Title': 'War'}, {'Title': 'Warner 25 Anos'}, {'Title': 'Weill: The Seven Deadly Sins'}, {'Title': 'Worlds'}, {'Title': 'Zooropa'}, {'Title': '[1997] Black Light Syndrome'}]
chinook_1
Please list the name and id of all artists that have at least 3 albums in alphabetical order.
SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name
SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name
[{'Name': 'Audioslave', 'ArtistId': 8}, {'Name': 'Berliner Philharmoniker & Herbert Von Karajan', 'ArtistId': 248}, {'Name': 'Deep Purple', 'ArtistId': 58}, {'Name': 'Eugene Ormandy', 'ArtistId': 226}, {'Name': 'Faith No More', 'ArtistId': 82}, {'Name': 'Foo Fighters', 'ArtistId': 84}, {'Name': 'Gilberto Gil', 'ArtistId': 27}, {'Name': "Guns N' Roses", 'ArtistId': 88}, {'Name': 'Iron Maiden', 'ArtistId': 90}, {'Name': 'Jamiroquai', 'ArtistId': 92}, {'Name': 'Led Zeppelin', 'ArtistId': 22}, {'Name': 'Lost', 'ArtistId': 149}, {'Name': 'Metallica', 'ArtistId': 50}, {'Name': 'Miles Davis', 'ArtistId': 68}, {'Name': 'Os Paralamas Do Sucesso', 'ArtistId': 113}, {'Name': 'Ozzy Osbourne', 'ArtistId': 114}, {'Name': 'Pearl Jam', 'ArtistId': 118}, {'Name': 'Queen', 'ArtistId': 51}, {'Name': 'R.E.M.', 'ArtistId': 124}, {'Name': 'Red Hot Chili Peppers', 'ArtistId': 127}, {'Name': 'Santana', 'ArtistId': 59}, {'Name': 'The Office', 'ArtistId': 156}, {'Name': 'The Rolling Stones', 'ArtistId': 142}, {'Name': 'U2', 'ArtistId': 150}, {'Name': 'Van Halen', 'ArtistId': 152}, {'Name': 'Various Artists', 'ArtistId': 21}]
chinook_1
What are the names and ids of artists with 3 or more albums, listed in alphabetical order?
SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name
SELECT T2.Name , T1.ArtistId FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistID GROUP BY T1.ArtistId HAVING COUNT(*) >= 3 ORDER BY T2.Name
[{'Name': 'Audioslave', 'ArtistId': 8}, {'Name': 'Berliner Philharmoniker & Herbert Von Karajan', 'ArtistId': 248}, {'Name': 'Deep Purple', 'ArtistId': 58}, {'Name': 'Eugene Ormandy', 'ArtistId': 226}, {'Name': 'Faith No More', 'ArtistId': 82}, {'Name': 'Foo Fighters', 'ArtistId': 84}, {'Name': 'Gilberto Gil', 'ArtistId': 27}, {'Name': "Guns N' Roses", 'ArtistId': 88}, {'Name': 'Iron Maiden', 'ArtistId': 90}, {'Name': 'Jamiroquai', 'ArtistId': 92}, {'Name': 'Led Zeppelin', 'ArtistId': 22}, {'Name': 'Lost', 'ArtistId': 149}, {'Name': 'Metallica', 'ArtistId': 50}, {'Name': 'Miles Davis', 'ArtistId': 68}, {'Name': 'Os Paralamas Do Sucesso', 'ArtistId': 113}, {'Name': 'Ozzy Osbourne', 'ArtistId': 114}, {'Name': 'Pearl Jam', 'ArtistId': 118}, {'Name': 'Queen', 'ArtistId': 51}, {'Name': 'R.E.M.', 'ArtistId': 124}, {'Name': 'Red Hot Chili Peppers', 'ArtistId': 127}, {'Name': 'Santana', 'ArtistId': 59}, {'Name': 'The Office', 'ArtistId': 156}, {'Name': 'The Rolling Stones', 'ArtistId': 142}, {'Name': 'U2', 'ArtistId': 150}, {'Name': 'Van Halen', 'ArtistId': 152}, {'Name': 'Various Artists', 'ArtistId': 21}]
chinook_1
Find the names of artists that do not have any albums.
SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
[{'Name': 'A Cor Do Som'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & William Bennett'}, {'Name': "Aerosmith & Sierra Leone's Refugee Allstars"}, {'Name': 'Avril Lavigne'}, {'Name': 'Azymuth'}, {'Name': 'Baby Consuelo'}, {'Name': 'Banda Black Rio'}, {'Name': 'Barão Vermelho'}, {'Name': 'Bebel Gilberto'}, {'Name': 'Ben Harper'}, {'Name': 'Big & Rich'}, {'Name': 'Black Eyed Peas'}, {'Name': 'Charlie Brown Jr.'}, {'Name': 'Christina Aguilera featuring BigElf'}, {'Name': 'Corinne Bailey Rae'}, {'Name': 'DJ Dolores & Orchestra Santa Massa'}, {'Name': 'Dhani Harrison & Jakob Dylan'}, {'Name': 'Edson, DJ Marky & DJ Patife Featuring Fernanda Porto'}, {'Name': 'Fernanda Porto'}, {'Name': 'Gustavo & Andres Veiga & Salazar'}, {'Name': 'Hermeto Pascoal'}, {'Name': 'Instituto'}, {'Name': 'Jack Johnson'}, {'Name': "Jack's Mannequin & Mick Fleetwood"}, {'Name': 'Jackson Browne'}, {'Name': 'Jaguares'}, {'Name': 'Jorge Vercilo'}, {'Name': 'João Gilberto'}, {'Name': 'Kid Abelha'}, {'Name': 'Los Hermanos'}, {'Name': 'Los Lonely Boys'}, {'Name': 'Luiz Melodia'}, {'Name': 'Matisyahu'}, {'Name': 'Milton Nascimento & Bebeto'}, {'Name': 'Motörhead & Girlschool'}, {'Name': 'Mundo Livre S/A'}, {'Name': 'Nando Reis'}, {'Name': 'Nação Zumbi'}, {'Name': 'Nega Gizza'}, {'Name': 'Ney Matogrosso'}, {'Name': 'Os Cariocas'}, {'Name': 'Otto'}, {'Name': 'Pedro Luís & A Parede'}, {'Name': 'Pedro Luís E A Parede'}, {'Name': 'Peter Tosh'}, {'Name': 'R.E.M. Feat. KRS-One'}, {'Name': 'Regina Spektor'}, {'Name': 'Rodox'}, {'Name': 'Sabotage E Instituto'}, {'Name': 'Sandra De Sá'}, {'Name': 'Santana Feat. Dave Matthews'}, {'Name': 'Santana Feat. Eagle-Eye Cherry'}, {'Name': 'Santana Feat. Eric Clapton'}, {'Name': 'Santana Feat. Everlast'}, {'Name': 'Santana Feat. Lauryn Hill & Cee-Lo'}, {'Name': 'Santana Feat. Maná'}, {'Name': 'Santana Feat. Rob Thomas'}, {'Name': 'Santana Feat. The Project G&B'}, {'Name': 'Seu Jorge'}, {'Name': 'Simply Red'}, {'Name': 'Snow Patrol'}, {'Name': 'Stereo Maracana'}, {'Name': 'The Flaming Lips'}, {'Name': 'The Postal Service'}, {'Name': 'Vinicius, Toquinho & Quarteto Em Cy'}, {'Name': 'Vinícius De Moraes & Baden Powell'}, {'Name': 'Vinícius E Odette Lara'}, {'Name': 'Vinícius E Qurteto Em Cy'}, {'Name': 'Whitesnake'}, {'Name': 'Xis'}, {'Name': "Youssou N'Dour"}]
chinook_1
What are the names of artists who have not released any albums?
SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
[{'Name': 'A Cor Do Som'}, {'Name': 'Academy of St. Martin in the Fields, Sir Neville Marriner & William Bennett'}, {'Name': "Aerosmith & Sierra Leone's Refugee Allstars"}, {'Name': 'Avril Lavigne'}, {'Name': 'Azymuth'}, {'Name': 'Baby Consuelo'}, {'Name': 'Banda Black Rio'}, {'Name': 'Barão Vermelho'}, {'Name': 'Bebel Gilberto'}, {'Name': 'Ben Harper'}, {'Name': 'Big & Rich'}, {'Name': 'Black Eyed Peas'}, {'Name': 'Charlie Brown Jr.'}, {'Name': 'Christina Aguilera featuring BigElf'}, {'Name': 'Corinne Bailey Rae'}, {'Name': 'DJ Dolores & Orchestra Santa Massa'}, {'Name': 'Dhani Harrison & Jakob Dylan'}, {'Name': 'Edson, DJ Marky & DJ Patife Featuring Fernanda Porto'}, {'Name': 'Fernanda Porto'}, {'Name': 'Gustavo & Andres Veiga & Salazar'}, {'Name': 'Hermeto Pascoal'}, {'Name': 'Instituto'}, {'Name': 'Jack Johnson'}, {'Name': "Jack's Mannequin & Mick Fleetwood"}, {'Name': 'Jackson Browne'}, {'Name': 'Jaguares'}, {'Name': 'Jorge Vercilo'}, {'Name': 'João Gilberto'}, {'Name': 'Kid Abelha'}, {'Name': 'Los Hermanos'}, {'Name': 'Los Lonely Boys'}, {'Name': 'Luiz Melodia'}, {'Name': 'Matisyahu'}, {'Name': 'Milton Nascimento & Bebeto'}, {'Name': 'Motörhead & Girlschool'}, {'Name': 'Mundo Livre S/A'}, {'Name': 'Nando Reis'}, {'Name': 'Nação Zumbi'}, {'Name': 'Nega Gizza'}, {'Name': 'Ney Matogrosso'}, {'Name': 'Os Cariocas'}, {'Name': 'Otto'}, {'Name': 'Pedro Luís & A Parede'}, {'Name': 'Pedro Luís E A Parede'}, {'Name': 'Peter Tosh'}, {'Name': 'R.E.M. Feat. KRS-One'}, {'Name': 'Regina Spektor'}, {'Name': 'Rodox'}, {'Name': 'Sabotage E Instituto'}, {'Name': 'Sandra De Sá'}, {'Name': 'Santana Feat. Dave Matthews'}, {'Name': 'Santana Feat. Eagle-Eye Cherry'}, {'Name': 'Santana Feat. Eric Clapton'}, {'Name': 'Santana Feat. Everlast'}, {'Name': 'Santana Feat. Lauryn Hill & Cee-Lo'}, {'Name': 'Santana Feat. Maná'}, {'Name': 'Santana Feat. Rob Thomas'}, {'Name': 'Santana Feat. The Project G&B'}, {'Name': 'Seu Jorge'}, {'Name': 'Simply Red'}, {'Name': 'Snow Patrol'}, {'Name': 'Stereo Maracana'}, {'Name': 'The Flaming Lips'}, {'Name': 'The Postal Service'}, {'Name': 'Vinicius, Toquinho & Quarteto Em Cy'}, {'Name': 'Vinícius De Moraes & Baden Powell'}, {'Name': 'Vinícius E Odette Lara'}, {'Name': 'Vinícius E Qurteto Em Cy'}, {'Name': 'Whitesnake'}, {'Name': 'Xis'}, {'Name': "Youssou N'Dour"}]
chinook_1
What is the average unit price of rock tracks?
SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
[{'AVG(T2.UnitPrice)': 0.9900000000000079}]
chinook_1
Find the average unit price of tracks from the Rock genre.
SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
SELECT AVG(T2.UnitPrice) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
[{'AVG(T2.UnitPrice)': 0.9900000000000079}]
chinook_1
What are the duration of the longest and shortest pop tracks in milliseconds?
SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop"
SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop"
[{'max(Milliseconds)': 663426, 'min(Milliseconds)': 129666}]
chinook_1
Find the maximum and minimum millisecond lengths of pop tracks.
SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop"
SELECT max(Milliseconds) , min(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop"
[{'max(Milliseconds)': 663426, 'min(Milliseconds)': 129666}]
chinook_1
What are the birth dates of employees living in Edmonton?
SELECT BirthDate FROM EMPLOYEE WHERE City = "Edmonton"
SELECT BirthDate FROM EMPLOYEE WHERE City = "Edmonton"
[{'BirthDate': '1962-02-18 00:00:00'}]
chinook_1
Find the birth dates corresponding to employees who live in the city of Edmonton.
SELECT BirthDate FROM EMPLOYEE WHERE City = "Edmonton"
SELECT BirthDate FROM EMPLOYEE WHERE City = "Edmonton"
[{'BirthDate': '1962-02-18 00:00:00'}]
chinook_1
What are the distinct unit prices of all tracks?
SELECT distinct(UnitPrice) FROM TRACK
SELECT distinct(UnitPrice) FROM TRACK
[{'UnitPrice': 0.99}, {'UnitPrice': 1.99}]
chinook_1
Find the distinct unit prices for tracks.
SELECT distinct(UnitPrice) FROM TRACK
SELECT distinct(UnitPrice) FROM TRACK
[{'UnitPrice': 0.99}, {'UnitPrice': 1.99}]
chinook_1
How many artists do not have any album?
SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)
SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)
[{'count(*)': 71}]
chinook_1
Cound the number of artists who have not released an album.
SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)
SELECT count(*) FROM ARTIST WHERE artistid NOT IN(SELECT artistid FROM ALBUM)
[{'count(*)': 71}]
chinook_1
What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
[{'Title': 'Greatest Hits'}]
chinook_1
Find the titles of albums that contain tracks of both the Reggae and Rock genres.
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
[{'Title': 'Greatest Hits'}]
insurance_fnol
Find all the phone numbers.
SELECT customer_phone FROM available_policies
SELECT customer_phone FROM available_policies
[{'Customer_Phone': '+16(2)5838999222'}, {'Customer_Phone': '242.763.9214'}, {'Customer_Phone': '1-416-503-7735x94204'}, {'Customer_Phone': '(777)537-7792'}, {'Customer_Phone': '1-446-940-9907x257'}, {'Customer_Phone': '(379)862-8274x12620'}, {'Customer_Phone': '+85(6)1302858396'}, {'Customer_Phone': '1-797-927-3585x9321'}, {'Customer_Phone': '991.642.6485x822'}, {'Customer_Phone': '813.178.8211x557'}, {'Customer_Phone': '889-572-0609x552'}, {'Customer_Phone': '1-138-841-3073'}, {'Customer_Phone': '1-381-132-0127x3801'}, {'Customer_Phone': '00481937923'}, {'Customer_Phone': '405.090.8654x021'}]
insurance_fnol
What are all the phone numbers?
SELECT customer_phone FROM available_policies
SELECT customer_phone FROM available_policies
[{'Customer_Phone': '+16(2)5838999222'}, {'Customer_Phone': '242.763.9214'}, {'Customer_Phone': '1-416-503-7735x94204'}, {'Customer_Phone': '(777)537-7792'}, {'Customer_Phone': '1-446-940-9907x257'}, {'Customer_Phone': '(379)862-8274x12620'}, {'Customer_Phone': '+85(6)1302858396'}, {'Customer_Phone': '1-797-927-3585x9321'}, {'Customer_Phone': '991.642.6485x822'}, {'Customer_Phone': '813.178.8211x557'}, {'Customer_Phone': '889-572-0609x552'}, {'Customer_Phone': '1-138-841-3073'}, {'Customer_Phone': '1-381-132-0127x3801'}, {'Customer_Phone': '00481937923'}, {'Customer_Phone': '405.090.8654x021'}]
insurance_fnol
What are the customer phone numbers under the policy "Life Insurance"?
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
[{'Customer_Phone': '+16(2)5838999222'}, {'Customer_Phone': '991.642.6485x822'}, {'Customer_Phone': '889-572-0609x552'}, {'Customer_Phone': '1-138-841-3073'}]
insurance_fnol
What are the phone numbers of customers using the policy with the code "Life Insurance"?
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance"
[{'Customer_Phone': '+16(2)5838999222'}, {'Customer_Phone': '991.642.6485x822'}, {'Customer_Phone': '889-572-0609x552'}, {'Customer_Phone': '1-138-841-3073'}]
insurance_fnol
Which policy type has the most records in the database?
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1
[{'policy_type_code': 'Property Insurance'}]
insurance_fnol
Which policy type appears most frequently in the available policies?
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1
[{'policy_type_code': 'Property Insurance'}]
insurance_fnol
What are all the customer phone numbers under the most popular policy type?
SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)
SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)
[{'Customer_Phone': '242.763.9214'}, {'Customer_Phone': '1-416-503-7735x94204'}, {'Customer_Phone': '(777)537-7792'}, {'Customer_Phone': '813.178.8211x557'}, {'Customer_Phone': '405.090.8654x021'}]
insurance_fnol
Find the phone numbers of customers using the most common policy type among the available policies.
SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)
SELECT customer_phone FROM available_policies WHERE policy_type_code = (SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1)
[{'Customer_Phone': '242.763.9214'}, {'Customer_Phone': '1-416-503-7735x94204'}, {'Customer_Phone': '(777)537-7792'}, {'Customer_Phone': '813.178.8211x557'}, {'Customer_Phone': '405.090.8654x021'}]
insurance_fnol
Find the policy type used by more than 4 customers.
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING count(*) > 4
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING count(*) > 4
[{'policy_type_code': 'Mortgage Insurance'}, {'policy_type_code': 'Property Insurance'}]