target-benchmark/spider-queries huggingface dataset:
Database: cre_Drama_Workshop_Groups (tables: bookings, drama_workshop_groups)
Question: Which workshop groups have bookings with status code "stop"? Give me the names.
SQL: SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T1.Status_Code  =  "stop"
Database: cre_Drama_Workshop_Groups (tables: clients, bookings)
Question: Show the names of all the clients with no booking.
SQL: SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID  =  T2.Client_ID
Database: cre_Drama_Workshop_Groups (tables: clients, bookings)
Question: What are the names of the clients who do not have any booking?
SQL: SELECT Customer_Name FROM Clients EXCEPT SELECT T2.Customer_Name FROM Bookings AS T1 JOIN Clients AS T2 ON T1.Customer_ID  =  T2.Client_ID
Database: cre_Drama_Workshop_Groups (tables: invoices)
Question: What is the average quantities ordered with payment method code "MasterCard" on invoices?
SQL: SELECT avg(Order_Quantity) FROM Invoices WHERE payment_method_code  =  "MasterCard"
Database: cre_Drama_Workshop_Groups (tables: invoices)
Question: Check the invoices record and compute the average quantities ordered with the payment method "MasterCard".
SQL: SELECT avg(Order_Quantity) FROM Invoices WHERE payment_method_code  =  "MasterCard"
Database: cre_Drama_Workshop_Groups (tables: invoices)
Question: What is the product ID of the most frequently ordered item on invoices?
SQL: SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1
Database: cre_Drama_Workshop_Groups (tables: invoices)
Question: Find the id of the product ordered the most often on invoices.
SQL: SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1
Database: cre_Drama_Workshop_Groups (tables: ref_service_types, services)
Question: What is the description of the service type which offers both the photo product and the film product?
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'film'
Database: cre_Drama_Workshop_Groups (tables: ref_service_types, services)
Question: Give me the description of the service type that offers not only the photo product but also the film product.
SQL: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'photo' INTERSECT SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Name  =  'film'
Database: music_2 (tables: band)
Question: How many bands are there?
SQL: SELECT count(*) FROM Band
Database: music_2 (tables: band)
Question: Find the number of bands.
SQL: SELECT count(*) FROM Band
Database: music_2 (tables: albums)
Question: What are all the labels?
SQL: SELECT DISTINCT label FROM Albums
Database: music_2 (tables: albums)
Question: What are the different album labels listed?
SQL: SELECT DISTINCT label FROM Albums
Database: music_2 (tables: albums)
Question: Find all the albums in 2012.
SQL: SELECT * FROM Albums WHERE YEAR  =  2012
Database: music_2 (tables: albums)
Question: return all columns of the albums created in the year of 2012.
SQL: SELECT * FROM Albums WHERE YEAR  =  2012
Database: music_2 (tables: band, performance)
Question: Find all the stage positions of the musicians with first name "Solveig"
SQL: SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE Firstname  =  "Solveig"
Database: music_2 (tables: band, performance)
Question: What are the different stage positions for all musicians whose first name is "Solveig"?
SQL: SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE Firstname  =  "Solveig"
Database: music_2 (tables: songs)
Question: How many songs are there?
SQL: SELECT count(*) FROM Songs
Database: music_2 (tables: songs)
Question: Count the number of songs.
SQL: SELECT count(*) FROM Songs
Database: music_2 (tables: band, songs, performance)
Question: Find all the songs performed by artist with last name "Heilo"
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.Lastname  =  "Heilo"
Database: music_2 (tables: band, songs, performance)
Question: What are the names of the songs by the artist whose last name is "Heilo"?
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.Lastname  =  "Heilo"
Database: music_2 (tables: songs, performance, band)
Question: Hom many musicians performed in the song "Flash"?
SQL: SELECT count(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id JOIN songs AS T3 ON T3.songid  =  T1.songid WHERE T3.Title  =  "Flash"
Database: music_2 (tables: songs, performance, band)
Question: How many musicians play in the song "Flash"?
SQL: SELECT count(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id JOIN songs AS T3 ON T3.songid  =  T1.songid WHERE T3.Title  =  "Flash"
Database: music_2 (tables: band, songs, performance)
Question: Find all the songs produced by artists with first name "Marianne".
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.firstname  =  "Marianne"
Database: music_2 (tables: band, songs, performance)
Question: What are the names of all songs produced by the artist with the first name "Marianne"?
SQL: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T2.firstname  =  "Marianne"
Database: music_2 (tables: band, songs, performance)
Question: Who performed the song named "Badlands"? Show the first name and the last name.
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Badlands"
Database: music_2 (tables: band, songs, performance)
Question: What are the first and last names of the artist who perfomed the song "Badlands"?
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Badlands"
Database: music_2 (tables: band, songs, performance)
Question: Who is performing in the back stage position for the song "Badlands"? Show the first name and the last name.
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Badlands" AND T1.StagePosition  =  "back"
Database: music_2 (tables: band, songs, performance)
Question: What are the first and last names of the performer who was in the back stage position for the song "Badlands"?
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Badlands" AND T1.StagePosition  =  "back"
Database: music_2 (tables: albums)
Question: How many unique labels are there for albums?
SQL: SELECT count(DISTINCT label) FROM albums
Database: music_2 (tables: albums)
Question: What are the unique labels for the albums?
SQL: SELECT count(DISTINCT label) FROM albums
Database: music_2 (tables: albums)
Question: What is the label that has the most albums?
SQL: SELECT label FROM albums GROUP BY label ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: albums)
Question: What is the label with the most albums?
SQL: SELECT label FROM albums GROUP BY label ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, songs, performance)
Question: What is the last name of the musician that have produced the most number of songs?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, songs, performance)
Question: What is the last name of the musician who was in the most songs?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, performance)
Question: What is the last name of the musician that has been at the back position the most?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE stageposition  =  "back" GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, performance)
Question: What is the last name of the musicians who has played back position the most?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id WHERE stageposition  =  "back" GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: songs)
Question: Find all the songs whose name contains the word "the".
SQL: SELECT title FROM songs WHERE title LIKE '% the %'
Database: music_2 (tables: songs)
Question: What are the names of the songs whose title has the word "the"?
SQL: SELECT title FROM songs WHERE title LIKE '% the %'
Database: music_2 (tables: instruments)
Question: What are all the instruments used?
SQL: SELECT DISTINCT instrument FROM Instruments
Database: music_2 (tables: instruments)
Question: What are the different instruments listed in the database?
SQL: SELECT DISTINCT instrument FROM Instruments
Database: music_2 (tables: band, songs, instruments, performance)
Question: What instrument did the musician with last name "Heilo" use in the song "Le Pop"?
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Le Pop"
Database: music_2 (tables: band, songs, instruments, performance)
Question: What instruments did the musician with the last name "Heilo" play in the song "Le Pop"?
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Le Pop"
Database: music_2 (tables: instruments)
Question: What is the most used instrument?
SQL: SELECT instrument FROM instruments GROUP BY instrument ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: instruments)
Question: What instrument is used the most?
SQL: SELECT instrument FROM instruments GROUP BY instrument ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: instruments)
Question: How many songs have used the instrument "drums"?
SQL: SELECT count(*) FROM instruments WHERE instrument  =  "drums"
Database: music_2 (tables: instruments)
Question: How many songs use drums as an instrument?
SQL: SELECT count(*) FROM instruments WHERE instrument  =  "drums"
Database: music_2 (tables: instruments, songs)
Question: What instruments does the the song "Le Pop" use?
SQL: SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: instruments, songs)
Question: What are the instruments are used in the song "Le Pop"?
SQL: SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: instruments, songs)
Question: How many instruments does the song "Le Pop" use?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: instruments, songs)
Question: How many different instruments are used in the song "Le Pop"?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: instruments, band)
Question: How many instrument does the musician with last name "Heilo" use?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo"
Database: music_2 (tables: instruments, band)
Question: How many different instruments does the musician with the last name "Heilo" use?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo"
Database: music_2 (tables: instruments, band)
Question: Find all the instruments ever used by the musician with last name "Heilo"?
SQL: SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo"
Database: music_2 (tables: instruments, band)
Question: What are all the instruments used by the musician with the last name "Heilo"?
SQL: SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo"
Database: music_2 (tables: songs, vocals)
Question: Which song has the most vocals?
SQL: SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid GROUP BY T1.songid ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: songs, vocals)
Question: What is the song with the most vocals?
SQL: SELECT title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid GROUP BY T1.songid ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: vocals)
Question: Which vocal type is the most frequently appearring type?
SQL: SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: vocals)
Question: What is the type of vocables that appears most frequently?
SQL: SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, vocals)
Question: Which vocal type has the band mate with last name "Heilo" played the most?
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE lastname  =  "Heilo" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, vocals)
Question: What is the type of vocals that the band member with the last name "Heilo" played the most?
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE lastname  =  "Heilo" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: songs, vocals)
Question: What are the vocal types used in song "Le Pop"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: songs, vocals)
Question: What are the types of vocals used in the song "Le Pop"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: songs, vocals)
Question: Find the number of vocal types used in song "Demon Kitty Rag"?
SQL: SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Demon Kitty Rag"
Database: music_2 (tables: songs, vocals)
Question: What are the types of vocals used in the song "Demon Kitty Rag"?
SQL: SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Demon Kitty Rag"
Database: music_2 (tables: songs, vocals)
Question: How many songs have a lead vocal?
SQL: SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  "lead"
Database: music_2 (tables: songs, vocals)
Question: How many songs have vocals of type lead?
SQL: SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  "lead"
Database: music_2 (tables: songs, band, vocals)
Question: Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.firstname  =  "Solveig" AND T2.title  =  "A Bar In Amsterdam"
Database: music_2 (tables: songs, band, vocals)
Question: What are the types of vocals that the musician with the first name "Solveig" played in the song "A Bar in Amsterdam"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.firstname  =  "Solveig" AND T2.title  =  "A Bar In Amsterdam"
Database: music_2 (tables: songs, vocals)
Question: Find all the songs that do not have a lead vocal.
SQL: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  "lead"
Database: music_2 (tables: songs, vocals)
Question: What are the names of the songs without a lead vocal?
SQL: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  "lead"
Database: music_2 (tables: vocals)
Question: Find all the vocal types.
SQL: SELECT DISTINCT TYPE FROM vocals
Database: music_2 (tables: vocals)
Question: What are the different types of vocals?
SQL: SELECT DISTINCT TYPE FROM vocals
Database: music_2 (tables: albums)
Question: What are the albums produced in year 2010?
SQL: SELECT * FROM Albums WHERE YEAR  =  2010
Database: music_2 (tables: albums)
Question: What information is there on albums from 2010?
SQL: SELECT * FROM Albums WHERE YEAR  =  2010
Database: music_2 (tables: band, songs, performance)
Question: Who performed the song named "Le Pop"?
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Le Pop"
Database: music_2 (tables: band, songs, performance)
Question: What is the first and last name of artist who performed "Le Pop"?
SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Le Pop"
Database: music_2 (tables: band, songs, performance)
Question: What is the last name of the musician that have produced the most songs?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, songs, performance)
Question: What is the last name of the artist who sang the most songs?
SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, songs, instruments, performance)
Question: What instrument did the musician with last name "Heilo" use in the song "Badlands"?
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Badlands"
Database: music_2 (tables: band, songs, instruments, performance)
Question: What instruments did the musician with the last name "Heilo" play in "Badlands"?
SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Badlands"
Database: music_2 (tables: instruments, songs)
Question: How many instruments does the song "Badlands" use?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Badlands"
Database: music_2 (tables: instruments, songs)
Question: How many different instruments are used in the song "Badlands"?
SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Badlands"
Database: music_2 (tables: songs, vocals)
Question: What are the vocal types used in song "Badlands"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Badlands"
Database: music_2 (tables: songs, vocals)
Question: What types of vocals are used in the song "Badlands"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Badlands"
Database: music_2 (tables: songs, vocals)
Question: Find the number of vocal types used in song "Le Pop"
SQL: SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: songs, vocals)
Question: How many vocal types are used in the song "Le Pop"?
SQL: SELECT count(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Le Pop"
Database: music_2 (tables: songs, vocals)
Question: How many songs have a shared vocal?
SQL: SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  "shared"
Database: music_2 (tables: songs, vocals)
Question: How many different songs have shared vocals?
SQL: SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  "shared"
Database: music_2 (tables: songs, vocals)
Question: Find all the songs that do not have a back vocal.
SQL: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  "back"
Database: music_2 (tables: songs, vocals)
Question: What are the different names of all songs without back vocals?
SQL: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  "back"
Database: music_2 (tables: band, vocals)
Question: Which vocal type has the band mate with first name "Solveig" played the most?
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  "Solveig" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, vocals)
Question: What are the types of vocals that the band member with the first name "Solveig" played the most?
SQL: SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate  =  T2.id WHERE firstname  =  "Solveig" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: songs, band, vocals)
Question: Which vocal type did the musician with last name "Heilo" played in the song with title "Der Kapitan"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.lastname  =  "Heilo" AND T2.title  =  "Der Kapitan"
Database: music_2 (tables: songs, band, vocals)
Question: What are the types of vocals that the musician with the last name "Heilo" played in "Der Kapitan"?
SQL: SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid JOIN band AS T3 ON T1.bandmate  =  T3.id WHERE T3.lastname  =  "Heilo" AND T2.title  =  "Der Kapitan"
Database: music_2 (tables: band, songs, performance)
Question: Find the first name of the band mate that has performed in most songs.
SQL: SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate  =  t2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY firstname ORDER BY count(*) DESC LIMIT 1
Database: music_2 (tables: band, songs, performance)
Question: What is the first name of the band mate who perfomed in the most songs?
SQL: SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate  =  t2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY firstname ORDER BY count(*) DESC LIMIT 1