db_id
stringlengths
4
31
SQL
stringlengths
18
1.45k
input_sequence
stringlengths
148
11k
question
stringlengths
16
325
music_2
select title from songs where title like '% the %'
Question: find all the songs whose name contains the word 'the'. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> S...
find all the songs whose name contains the word 'the'.
music_2
select title from songs where title like '% the %'
Question: what are the names of the songs whose title has the word 'the'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vo...
what are the names of the songs whose title has the word 'the'?
music_2
select distinct instrument from instruments
Question: what are all the instruments used? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Typ...
what are all the instruments used?
music_2
select distinct instrument from instruments
Question: what are the different instruments listed in the database? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals ...
what are the different instruments listed in the database?
music_2
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'
Question: what instrument did the musician with last name 'heilo' use in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Po...
what instrument did the musician with last name 'heilo' use in the song 'le pop'?
music_2
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'
Question: what instruments did the musician with the last name 'heilo' play in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> Album...
what instruments did the musician with the last name 'heilo' play in the song 'le pop'?
music_2
select instrument from instruments group by instrument order by count(*) desc limit 1
Question: what is the most used instrument? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Type...
what is the most used instrument?
music_2
select instrument from instruments group by instrument order by count(*) desc limit 1
Question: what instrument is used the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Type...
what instrument is used the most?
music_2
select count(*) from instruments where instrument = 'drums'
Question: how many songs have used the instrument 'drums'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId,...
how many songs have used the instrument 'drums'?
music_2
select count(*) from instruments where instrument = 'drums'
Question: how many songs use drums as an instrument? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandm...
how many songs use drums as an instrument?
music_2
select instrument from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: what instruments does the the song 'le pop' use? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId,...
what instruments does the the song 'le pop' use?
music_2
select instrument from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: what are the instruments are used in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> ...
what are the instruments are used in the song 'le pop'?
music_2
select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: how many instruments does the song 'le pop' use? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId,...
how many instruments does the song 'le pop' use?
music_2
select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: how many different instruments are used in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Voca...
how many different instruments are used in the song 'le pop'?
music_2
select count(distinct instrument) from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = 'heilo'
Question: how many instrument does the musician with last name 'heilo' use? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. ...
how many instrument does the musician with last name 'heilo' use?
music_2
select count(distinct instrument) from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = 'heilo'
Question: how many different instruments does the musician with the last name 'heilo' use? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Pos...
how many different instruments does the musician with the last name 'heilo' use?
music_2
select instrument from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = 'heilo'
Question: find all the instruments ever used by the musician with last name 'heilo'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position,...
find all the instruments ever used by the musician with last name 'heilo'?
music_2
select instrument from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = 'heilo'
Question: what are all the instruments used by the musician with the last name 'heilo'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Positi...
what are all the instruments used by the musician with the last name 'heilo'?
music_2
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
Question: which song has the most vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Type. ...
which song has the most vocals?
music_2
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
Question: what is the song with the most vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate,...
what is the song with the most vocals?
music_2
select type from vocals group by type order by count(*) desc limit 1
Question: which vocal type is the most frequently appearring type? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals ->...
which vocal type is the most frequently appearring type?
music_2
select type from vocals group by type order by count(*) desc limit 1
Question: what is the type of vocables that appears most frequently? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals ...
what is the type of vocables that appears most frequently?
music_2
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
Question: which vocal type has the band mate with last name 'heilo' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position,...
which vocal type has the band mate with last name 'heilo' played the most?
music_2
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
Question: what is the type of vocals that the band member with the last name 'heilo' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> A...
what is the type of vocals that the band member with the last name 'heilo' played the most?
music_2
select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: what are the vocal types used in song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, ...
what are the vocal types used in song 'le pop'?
music_2
select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: what are the types of vocals used in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> ...
what are the types of vocals used in the song 'le pop'?
music_2
select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'demon kitty rag'
Question: find the number of vocal types used in song 'demon kitty rag'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Voc...
find the number of vocal types used in song 'demon kitty rag'?
music_2
select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'demon kitty rag'
Question: what are the types of vocals used in the song 'demon kitty rag'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. V...
what are the types of vocals used in the song 'demon kitty rag'?
music_2
select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = 'lead'
Question: how many songs have a lead vocal? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Type...
how many songs have a lead vocal?
music_2
select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = 'lead'
Question: how many songs have vocals of type lead? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmat...
how many songs have vocals of type lead?
music_2
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'
Question: which vocal type did the musician with first name 'solveig' played in the song with title 'a bar in amsterdam'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosit...
which vocal type did the musician with first name 'solveig' played in the song with title 'a bar in amsterdam'?
music_2
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'
Question: what are the types of vocals that the musician with the first name 'solveig' played in the song 'a bar in amsterdam'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, Stag...
what are the types of vocals that the musician with the first name 'solveig' played in the song 'a bar in amsterdam'?
music_2
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'
Question: find all the songs that do not have a lead vocal. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId...
find all the songs that do not have a lead vocal.
music_2
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'
Question: what are the names of the songs without a lead vocal? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> So...
what are the names of the songs without a lead vocal?
music_2
select distinct type from vocals
Question: find all the vocal types. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Type. | Join...
find all the vocal types.
music_2
select distinct type from vocals
Question: what are the different types of vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate...
what are the different types of vocals?
music_2
select * from albums where year = 2010
Question: what are the albums produced in year 2010? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandm...
what are the albums produced in year 2010?
music_2
select * from albums where year = 2010
Question: what information is there on albums from 2010? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, B...
what information is there on albums from 2010?
music_2
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'
Question: who performed the song named 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate,...
who performed the song named 'le pop'?
music_2
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'
Question: what is the first and last name of artist who performed 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. ...
what is the first and last name of artist who performed 'le pop'?
music_2
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
Question: what is the last name of the musician that have produced the most songs? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, S...
what is the last name of the musician that have produced the most songs?
music_2
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
Question: what is the last name of the artist who sang the most songs? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocal...
what is the last name of the artist who sang the most songs?
music_2
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'
Question: what instrument did the musician with last name 'heilo' use in the song 'badlands'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, ...
what instrument did the musician with last name 'heilo' use in the song 'badlands'?
music_2
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'
Question: what instruments did the musician with the last name 'heilo' play in 'badlands'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Pos...
what instruments did the musician with the last name 'heilo' play in 'badlands'?
music_2
select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'badlands'
Question: how many instruments does the song 'badlands' use? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongI...
how many instruments does the song 'badlands' use?
music_2
select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = 'badlands'
Question: how many different instruments are used in the song 'badlands'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vo...
how many different instruments are used in the song 'badlands'?
music_2
select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'badlands'
Question: what are the vocal types used in song 'badlands'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId...
what are the vocal types used in song 'badlands'?
music_2
select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'badlands'
Question: what types of vocals are used in the song 'badlands'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> So...
what types of vocals are used in the song 'badlands'?
music_2
select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: find the number of vocal types used in song 'le pop' | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> Son...
find the number of vocal types used in song 'le pop'
music_2
select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = 'le pop'
Question: how many vocal types are used in the song 'le pop'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> Song...
how many vocal types are used in the song 'le pop'?
music_2
select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = 'shared'
Question: how many songs have a shared vocal? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate, Ty...
how many songs have a shared vocal?
music_2
select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = 'shared'
Question: how many different songs have shared vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Ban...
how many different songs have shared vocals?
music_2
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'
Question: find all the songs that do not have a back vocal. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId...
find all the songs that do not have a back vocal.
music_2
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'
Question: what are the different names of all songs without back vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Voc...
what are the different names of all songs without back vocals?
music_2
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
Question: which vocal type has the band mate with first name 'solveig' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Positi...
which vocal type has the band mate with first name 'solveig' played the most?
music_2
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
Question: what are the types of vocals that the band member with the first name 'solveig' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists...
what are the types of vocals that the band member with the first name 'solveig' played the most?
music_2
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'
Question: which vocal type did the musician with last name 'heilo' played in the song with title 'der kapitan'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Track...
which vocal type did the musician with last name 'heilo' played in the song with title 'der kapitan'?
music_2
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'
Question: what are the types of vocals that the musician with the last name 'heilo' played in 'der kapitan'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklis...
what are the types of vocals that the musician with the last name 'heilo' played in 'der kapitan'?
music_2
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
Question: find the first name of the band mate that has performed in most songs. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, Son...
find the first name of the band mate that has performed in most songs.
music_2
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
Question: what is the first name of the band mate who perfomed in the most songs? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, So...
what is the first name of the band mate who perfomed in the most songs?
music_2
select type from vocals as t1 join band as t2 on t1.bandmate = t2.id where firstname = 'marianne' group by type order by count(*) desc limit 1
Question: which vocal type has the band mate with first name 'marianne' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Posit...
which vocal type has the band mate with first name 'marianne' played the most?
music_2
select type from vocals as t1 join band as t2 on t1.bandmate = t2.id where firstname = 'marianne' group by type order by count(*) desc limit 1
Question: what is the vocal type of the band mate whose first name is 'marianne' played the most? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> Album...
what is the vocal type of the band mate whose first name is 'marianne' played the most?
music_2
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 = 'der kapitan' and t1.stageposition = 'back'
Question: who is performing in the back stage position for the song 'der kapitan'? show the first name and last name. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition....
who is performing in the back stage position for the song 'der kapitan'? show the first name and last name.
music_2
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 = 'der kapitan' and t1.stageposition = 'back'
Question: what is the first and last name of the artist who performed back stage for the song 'der kapitan'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklis...
what is the first and last name of the artist who performed back stage for the song 'der kapitan'?
music_2
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'
Question: find the name of songs that does not have a back vocal. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> ...
find the name of songs that does not have a back vocal.
music_2
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'
Question: what are the names of the songs that do not have back vocals? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Voca...
what are the names of the songs that do not have back vocals?
music_2
select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.title = 'a kiss before you go: live in hamburg'
Question: what are the songs in album 'a kiss before you go: live in hamburg'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongI...
what are the songs in album 'a kiss before you go: live in hamburg'?
music_2
select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.title = 'a kiss before you go: live in hamburg'
Question: what are the song titles on the album 'a kiss before you go: live in hamburg'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Posit...
what are the song titles on the album 'a kiss before you go: live in hamburg'?
music_2
select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.label = 'universal music group'
Question: what are all the songs in albums under label 'universal music group'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, Song...
what are all the songs in albums under label 'universal music group'?
music_2
select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.label = 'universal music group'
Question: what are the names of all the songs whose album is under the label of 'universal music group'? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -...
what are the names of all the songs whose album is under the label of 'universal music group'?
music_2
select count(distinct t3.title) from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.type = 'studio'
Question: find the number of songs in all the studio albums. | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongI...
find the number of songs in all the studio albums.
music_2
select count(distinct t3.title) from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.type = 'studio'
Question: how many songs appear in studio albums? | Tables: Songs -> SongId, Title. Albums -> AId, Title, Year, Label, Type. Band -> Id, Firstname, Lastname. Instruments -> SongId, BandmateId, Instrument. Performance -> SongId, Bandmate, StagePosition. Tracklists -> AlbumId, Position, SongId. Vocals -> SongId, Bandmate...
how many songs appear in studio albums?
manufactory_1
select founder from manufacturers where name = 'sony'
Question: who is the founder of sony? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
who is the founder of sony?
manufactory_1
select founder from manufacturers where name = 'sony'
Question: return the founder of sony. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
return the founder of sony.
manufactory_1
select headquarter from manufacturers where founder = 'james'
Question: where is the headquarter of the company founded by james? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
where is the headquarter of the company founded by james?
manufactory_1
select headquarter from manufacturers where founder = 'james'
Question: what is the headquarter of the company whose founder is james? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what is the headquarter of the company whose founder is james?
manufactory_1
select name , headquarter from manufacturers order by revenue desc
Question: find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first.
manufactory_1
select name , headquarter from manufacturers order by revenue desc
Question: what are the names and headquarters of all manufacturers, ordered by revenue descending? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the names and headquarters of all manufacturers, ordered by revenue descending?
manufactory_1
select avg(revenue) , max(revenue) , sum(revenue) from manufacturers
Question: what are the average, maximum and total revenues of all companies? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the average, maximum and total revenues of all companies?
manufactory_1
select avg(revenue) , max(revenue) , sum(revenue) from manufacturers
Question: return the average, maximum, and total revenues across all manufacturers. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
return the average, maximum, and total revenues across all manufacturers.
manufactory_1
select count(*) from manufacturers where founder = 'andy'
Question: how many companies were created by andy? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
how many companies were created by andy?
manufactory_1
select count(*) from manufacturers where founder = 'andy'
Question: return the number of companies created by andy. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
return the number of companies created by andy.
manufactory_1
select sum(revenue) from manufacturers where headquarter = 'austin'
Question: find the total revenue created by the companies whose headquarter is located at austin. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the total revenue created by the companies whose headquarter is located at austin.
manufactory_1
select sum(revenue) from manufacturers where headquarter = 'austin'
Question: what is the sum of revenue from companies with headquarters in austin? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what is the sum of revenue from companies with headquarters in austin?
manufactory_1
select distinct headquarter from manufacturers
Question: what are the different cities listed? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the different cities listed?
manufactory_1
select distinct headquarter from manufacturers
Question: give the distinct headquarters of manufacturers. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
give the distinct headquarters of manufacturers.
manufactory_1
select count(*) from manufacturers where headquarter = 'tokyo' or headquarter = 'beijing'
Question: find the number of manufactures that are based in tokyo or beijing. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the number of manufactures that are based in tokyo or beijing.
manufactory_1
select count(*) from manufacturers where headquarter = 'tokyo' or headquarter = 'beijing'
Question: how many manufacturers have headquarters in either tokyo or beijing? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
how many manufacturers have headquarters in either tokyo or beijing?
manufactory_1
select founder from manufacturers where name like 's%'
Question: find the founder of the company whose name begins with the letter 's'. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the founder of the company whose name begins with the letter 's'.
manufactory_1
select founder from manufacturers where name like 's%'
Question: who is the founders of companies whose first letter is s? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
who is the founders of companies whose first letter is s?
manufactory_1
select name from manufacturers where revenue between 100 and 150
Question: find the name of companies whose revenue is between 100 and 150. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the name of companies whose revenue is between 100 and 150.
manufactory_1
select name from manufacturers where revenue between 100 and 150
Question: what are the names of companies with revenue between 100 and 150? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the names of companies with revenue between 100 and 150?
manufactory_1
select sum(revenue) from manufacturers where headquarter = 'tokyo' or headquarter = 'taiwan'
Question: what is the total revenue of all companies whose main office is at tokyo or taiwan? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what is the total revenue of all companies whose main office is at tokyo or taiwan?
manufactory_1
select sum(revenue) from manufacturers where headquarter = 'tokyo' or headquarter = 'taiwan'
Question: return the total revenue of companies with headquarters in tokyo or taiwan. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
return the total revenue of companies with headquarters in tokyo or taiwan.
manufactory_1
select t1.name from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code where t2.name = 'creative labs' intersect select t1.name from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code where t2.name = 'sony'
Question: find the name of product that is produced by both companies creative labs and sony. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the name of product that is produced by both companies creative labs and sony.
manufactory_1
select t1.name from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code where t2.name = 'creative labs' intersect select t1.name from products as t1 join manufacturers as t2 on t1.manufacturer = t2.code where t2.name = 'sony'
Question: what are the names of products produced by both creative labs and sony? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the names of products produced by both creative labs and sony?
manufactory_1
select name , headquarter , founder from manufacturers order by revenue desc limit 1
Question: find the name, headquarter and founder of the manufacturer that has the highest revenue. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the name, headquarter and founder of the manufacturer that has the highest revenue.
manufactory_1
select name , headquarter , founder from manufacturers order by revenue desc limit 1
Question: what are the names, headquarters and founders of the company with the highest revenue? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the names, headquarters and founders of the company with the highest revenue?
manufactory_1
select name , headquarter , revenue from manufacturers order by revenue desc
Question: find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order. | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
find the name, headquarter and revenue of all manufacturers sorted by their revenue in the descending order.
manufactory_1
select name , headquarter , revenue from manufacturers order by revenue desc
Question: what are the names, headquarters and revenues for manufacturers, sorted by revenue descending? | Tables: Manufacturers -> Code, Name, Headquarter, Founder, Revenue. Products -> Code, Name, Price, Manufacturer. | Joins: Products.Manufacturer = Manufacturers.Code,
what are the names, headquarters and revenues for manufacturers, sorted by revenue descending?