question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What area all values for Slovak when value for Ukranian is пес, собака? | create table table_25008327_8 (slovak varchar, ukrainian varchar, PRIMARY KEY (slovak)) | select slovak from table_25008327_8 where ukrainian = "пес, собака" |
Find the names of programs that are never broadcasted in the morning. | create table broadcast (program_id varchar, time_of_day varchar, PRIMARY KEY (program_id)); create table program (name varchar, program_id varchar, PRIMARY KEY (name)); create table program (name varchar, PRIMARY KEY (name)) | select name from program except select t1.name from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = "morning" |
When the torsion spring diameter is 38.4cm what would be the length or weight of the missile | create table table_21012786_2 (length_weight_of_missile varchar, diameter_of_torsion_spring varchar, PRIMARY KEY (length_weight_of_missile)) | select length_weight_of_missile from table_21012786_2 where diameter_of_torsion_spring = "38.4cm" |
What is the name of the student who has the highest total credits in the History department. | create table student (name varchar, dept_name varchar, tot_cred varchar, PRIMARY KEY (name)) | select name from student where dept_name = 'history' order by tot_cred desc limit 1 |
Find the first and last name of students who are not in the largest major. | create table student (fname varchar, lname varchar, major varchar, PRIMARY KEY (fname)) | select fname, lname from student where major <> (select major from student group by major order by count(*) limit 1) |
Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012? | create table table_29789_3 (country varchar, _percentage_change varchar, PRIMARY KEY (country)) | select country from table_29789_3 where _percentage_change = "5.7" |
What is the ioc code when the country is listed as Singapore? | create table table_2879165_1 (ioc_code varchar, country varchar, PRIMARY KEY (ioc_code)) | select ioc_code from table_2879165_1 where country = "singapore" |
What team had a capacity of 102.3%? | create table table_28884858_2 (team varchar, capacity_percentage varchar, PRIMARY KEY (team)) | select team from table_28884858_2 where capacity_percentage = "102.3%" |
What is the numeral where the English name is Florin? | create table table_1682865_1 (numeral varchar, english_name varchar, PRIMARY KEY (numeral)) | select numeral from table_1682865_1 where english_name = "florin" |
How many catagories for denominations does Austria have? | create table table_2592308_1 (denominations__gold_weight_ varchar, country varchar, PRIMARY KEY (denominations__gold_weight_)) | select count(denominations__gold_weight_) from table_2592308_1 where country = "austria" |
Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How | create table table_16201038_4 (missouri_vs varchar, at_opponents_venue varchar, PRIMARY KEY (missouri_vs)) | select missouri_vs from table_16201038_4 where at_opponents_venue = "ui, 4-1" |
What is the title of the episode wtih 10.34 million U.S viewers? | create table table_10749143_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title)) | select title from table_10749143_2 where us_viewers__millions_ = "10.34" |
How many percentages of Left Bloc correspond to a 32.1% Social Democratic? | create table table_1463383_1 (left_bloc varchar, social_democratic varchar, PRIMARY KEY (left_bloc)) | select count(left_bloc) from table_1463383_1 where social_democratic = "32.1%" |
Name the guest for 1.64m ratings | create table table_29135051_2 (guest_s_ varchar, ratings varchar, PRIMARY KEY (guest_s_)) | select guest_s_ from table_29135051_2 where ratings = "1.64m" |
What University has the acrronym of USF | create table table_1160660_1 (university_name varchar, acronym varchar, PRIMARY KEY (university_name)) | select university_name from table_1160660_1 where acronym = "usf" |
Which tourist attractions does the visitor with detail 'Vincent' visit? | create table visits (tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (tourist_attraction_id)); create table visitors (tourist_id varchar, tourist_details varchar, PRIMARY KEY (tourist_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name)) | select t1.name from tourist_attractions as t1 join visits as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join visitors as t3 on t2.tourist_id = t3.tourist_id where t3.tourist_details = "vincent" |
What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'? | create table airport (id varchar, country varchar, name varchar, PRIMARY KEY (id)); create table flight (pilot varchar, airport_id varchar, PRIMARY KEY (pilot)) | select distinct t2.pilot from airport as t1 join flight as t2 on t1.id = t2.airport_id where t1.country = 'united states' or t1.name = 'billund airport' |
Show names of shops and the carriers of devices they have in stock. | create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (device_id varchar, shop_id varchar, PRIMARY KEY (device_id)); create table device (carrier varchar, device_id varchar, PRIMARY KEY (carrier)) | select t3.shop_name, t2.carrier from stock as t1 join device as t2 on t1.device_id = t2.device_id join shop as t3 on t1.shop_id = t3.shop_id |
How many different teams had an average start of 12.9? | create table table_2182562_2 (team_s_ varchar, avg_start varchar, PRIMARY KEY (team_s_)) | select count(team_s_) from table_2182562_2 where avg_start = "12.9" |
How many available features are there in total? | create table other_available_features (id varchar, PRIMARY KEY (id)) | select count(*) from other_available_features |
How many calendar items do we have? | create table ref_calendar (id varchar, PRIMARY KEY (id)) | select count(*) from ref_calendar |
What is every value for rushing yards per game if sacks if 25? | create table table_27487336_1 (rushing_yards_per_game varchar, sacks varchar, PRIMARY KEY (rushing_yards_per_game)) | select rushing_yards_per_game from table_27487336_1 where sacks = "25" |
When Lansing's fare is $433.59, what is the Detroit fare? | create table table_1637981_7 (detroit__dtw_ varchar, lansing__lan_ varchar, PRIMARY KEY (detroit__dtw_)) | select detroit__dtw_ from table_1637981_7 where lansing__lan_ = "$433.59" |
When the % of boundary by water is 63% what is the overall number of zip code prefix(es)? | create table table_14253123_1 (zip_code_prefix_es_ varchar, _percentage_of_boundary_by_water varchar, PRIMARY KEY (zip_code_prefix_es_)) | select count(zip_code_prefix_es_) from table_14253123_1 where _percentage_of_boundary_by_water = "63%" |
Which conflicts took place in Yemen? | create table table_1921_1 (conflict varchar, location varchar, PRIMARY KEY (conflict)) | select conflict from table_1921_1 where location = "yemen" |
Name the number of processors for nec sx-4 vector processor | create table table_27765443_2 (no_of_processors varchar, cpu_type varchar, PRIMARY KEY (no_of_processors)) | select no_of_processors from table_27765443_2 where cpu_type = "nec sx-4 vector processor" |
Find the names of all English songs. | create table song (song_name varchar, languages varchar, PRIMARY KEY (song_name)) | select song_name from song where languages = "english" |
What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? | create table table_23292220_3 (first_broadcast varchar, seans_team varchar, PRIMARY KEY (first_broadcast)) | select first_broadcast from table_23292220_3 where seans_team = "peter serafinowicz and johnny vegas" |
What was the title of the episode having exactly 9.64 million US viewers? | create table table_24910742_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title)) | select title from table_24910742_1 where us_viewers__millions_ = "9.64" |
What is the poor law union when the townland is bohonagh? | create table table_30121075_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union)) | select poor_law_union from table_30121075_1 where townland = "bohonagh" |
what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1 | create table table_10023387_1 (singles_w_l varchar, doubles_w_l varchar, total_w_l varchar, PRIMARY KEY (singles_w_l)) | select count(singles_w_l) from table_10023387_1 where doubles_w_l = "0–0" and total_w_l = "3–1" |
What date was BBC One total viewing greater then 11616996.338225884? | create table table_103084_4 (broadcast_date varchar, bbc_one_total_viewing integer, PRIMARY KEY (broadcast_date)) | select broadcast_date from table_103084_4 where bbc_one_total_viewing > 11616996.338225884 |
Subsets and Splits