question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph?
create table table_30058355_2 (mon_22_aug varchar, wed_24_aug varchar, PRIMARY KEY (mon_22_aug))
select mon_22_aug from table_30058355_2 where wed_24_aug = "19' 56.16 113.553mph"
What was the stadium in Adelaide, South Australia built for?
create table table_28885977_1 (built_for varchar, location varchar, PRIMARY KEY (built_for))
select built_for from table_28885977_1 where location = "adelaide, south australia"
How many house colours are associated with house names of Hillary?
create table table_1942683_1 (house_colour varchar, house_name varchar, PRIMARY KEY (house_colour))
select count(house_colour) from table_1942683_1 where house_name = "hillary"
How many awards did milagros gutierrez win?
create table table_1825751_14 (other_awards varchar, delegate varchar, PRIMARY KEY (other_awards))
select other_awards from table_1825751_14 where delegate = "milagros gutierrez"
Which vocal type has the band mate with first name "Marianne" played the most?
create table vocals (bandmate varchar, PRIMARY KEY (bandmate)); create table band (id varchar, PRIMARY KEY (id))
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
What is the state of Ted Stevens?
create table table_10644188_3 (state_represented varchar, name varchar, PRIMARY KEY (state_represented))
select state_represented from table_10644188_3 where name = "ted stevens"
How many values of powershell (cmdlet) are valid when unix shell is env, export, set, setenv?
create table table_14465871_1 (powershell__cmdlet_ varchar, unix_shell varchar, PRIMARY KEY (powershell__cmdlet_))
select count(powershell__cmdlet_) from table_14465871_1 where unix_shell = "env, export, set, setenv"
What's the report for the race name, XIII Grand Prix de l'Albigeois?
create table table_1140117_5 (report varchar, race_name varchar, PRIMARY KEY (report))
select report from table_1140117_5 where race_name = "xiii grand prix de l'albigeois"
What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin?
create table table_18712423_3 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_18712423_3 where directed_by = "ian barry" and written_by = "philip dalkin"
Name the most number of contestants
create table table_22951646_1 (number_of_contestants integer, PRIMARY KEY (number_of_contestants))
select max(number_of_contestants) from table_22951646_1
Name the country for gerrard
create table table_22667773_8 (country varchar, name varchar, PRIMARY KEY (country))
select country from table_22667773_8 where name = "gerrard"
What was the doctor for sorted series 6eb/b?
create table table_1620397_5 (doctor varchar, series_sorted varchar, PRIMARY KEY (doctor))
select doctor from table_1620397_5 where series_sorted = "6eb/b"
What is the title of the episode with the original air date October 21, 1998?
create table table_2618152_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))
select title from table_2618152_1 where original_air_date = "october 21, 1998"
Which episode did actor A. J. Buckley last appear in?
create table table_11240028_1 (last_appearance varchar, portrayed_by varchar, PRIMARY KEY (last_appearance))
select last_appearance from table_11240028_1 where portrayed_by = "a. j. buckley"
What is the length (miles) when pico to 7th st/metro center are the endpoints?
create table table_1817879_2 (length__miles_ varchar, endpoints varchar, PRIMARY KEY (length__miles_))
select length__miles_ from table_1817879_2 where endpoints = "pico to 7th st/metro center"
Show the name of the building that has the most company offices.
create table buildings (name varchar, id varchar, PRIMARY KEY (name)); create table companies (id varchar, PRIMARY KEY (id)); create table office_locations (building_id varchar, company_id varchar, PRIMARY KEY (building_id))
select t2.name from office_locations as t1 join buildings as t2 on t1.building_id = t2.id join companies as t3 on t1.company_id = t3.id group by t1.building_id order by count(*) desc limit 1
What was the conference when Arizona State won the regular season?
create table table_22779004_1 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))
select conference from table_22779004_1 where regular_season_winner = "arizona state"
Who was in the pole position for knockhill?
create table table_24547593_1 (pole_position varchar, circuit varchar, PRIMARY KEY (pole_position))
select pole_position from table_24547593_1 where circuit = "knockhill"
When santiago del estero is the hometown who is the contestant?
create table table_18626383_2 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))
select contestant from table_18626383_2 where hometown = "santiago del estero"
What is the Deliblato village known as in Cyrillic?
create table table_2562572_41 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))
select cyrillic_name_other_names from table_2562572_41 where settlement = "deliblato"
When in round of 16 it was did not advance what was it in round of 32?
create table table_18602462_21 (round_of_32 varchar, round_of_16 varchar, PRIMARY KEY (round_of_32))
select round_of_32 from table_18602462_21 where round_of_16 = "did not advance"
Who are the candidates when the incumbent is john pegram?
create table table_2668336_24 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select candidates from table_2668336_24 where incumbent = "john pegram"
who is the the high rebounds with high assbeingts being scottie pippen (9)
create table table_13480122_5 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_13480122_5 where high_assists = "scottie pippen (9)"
Show the number of transaction types.
create table financial_transactions (transaction_type varchar, PRIMARY KEY (transaction_type))
select count(distinct transaction_type) from financial_transactions
How many times has a wrestler from the country of England wrestled in this event?
create table table_2305948_1 (country varchar, PRIMARY KEY (country))
select count(2) from table_2305948_1 where country = "england"
Which award-winning film has a screening number of 50 films 50 televised?
create table table_18220102_1 (award_winning_film varchar, number_of_screening varchar, PRIMARY KEY (award_winning_film))
select award_winning_film from table_18220102_1 where number_of_screening = "50 films 50 televised"
What is the minimum for 2nd runner-up?
create table table_2290097_4 (id varchar, PRIMARY KEY (id))
select min(2 as nd_runner_up) from table_2290097_4
How many strongs transliteration of the english spelling of the work jehojakin?
create table table_1242447_1 (strongs_transliteration varchar, english_spelling varchar, PRIMARY KEY (strongs_transliteration))
select count(strongs_transliteration) from table_1242447_1 where english_spelling = "jehojakin"
What school did the player who was with the grizzles in 2011 attend?
create table table_16494599_3 (school_club_team varchar, years_for_grizzlies varchar, PRIMARY KEY (school_club_team))
select school_club_team from table_16494599_3 where years_for_grizzlies = "2011"
How many episodes in history have a running time of 24:06?
create table table_1498589_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))
select count(archive) from table_1498589_1 where run_time = "24:06"
When vp8 ( webm ) is 4.4, how much is vp9 ( webm )
create table table_26099252_1 (vp9___webm__ varchar, vp8___webm__ varchar, PRIMARY KEY (vp9___webm__))
select vp9___webm__ from table_26099252_1 where vp8___webm__ = "4.4"
What was the prize pool in New Orleans?
create table table_2715355_1 (total_prize_pool varchar, location varchar, PRIMARY KEY (total_prize_pool))
select total_prize_pool from table_2715355_1 where location = "new orleans"
Which authors belong to the institution "Google"? Show the first names and last names.
create table authorship (authid varchar, instid varchar, PRIMARY KEY (authid)); create table authors (fname varchar, lname varchar, authid varchar, PRIMARY KEY (fname)); create table inst (instid varchar, name varchar, PRIMARY KEY (instid))
select distinct t1.fname, t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join inst as t3 on t2.instid = t3.instid where t3.name = "google"
Which semesters do not have any student enrolled? List the semester name.
create table student_enrolment (semester_name varchar, semester_id varchar, PRIMARY KEY (semester_name)); create table semesters (semester_name varchar, semester_id varchar, PRIMARY KEY (semester_name))
select semester_name from semesters where not semester_id in (select semester_id from student_enrolment)
How many releases did the DVD River Cottage forever have?
create table table_1180228_1 (released varchar, dvd_name varchar, PRIMARY KEY (released))
select count(released) from table_1180228_1 where dvd_name = "river cottage forever"
what is ba - running bear where ab - angry boar is os - ox soldier?
create table table_2603017_2 (ba___running_bear varchar, ab___angry_boar varchar, PRIMARY KEY (ba___running_bear))
select ba___running_bear from table_2603017_2 where ab___angry_boar = "os - ox soldier"
Show headquarters with at least two companies in the banking industry.
create table company (headquarters varchar, main_industry varchar, PRIMARY KEY (headquarters))
select headquarters from company where main_industry = 'banking' group by headquarters having count(*) >= 2
What is every registration for the type of T 6 G?
create table table_22180353_1 (registration varchar, type varchar, PRIMARY KEY (registration))
select registration from table_22180353_1 where type = "t 6 g"
Who is the founder of Sony?
create table manufacturers (founder varchar, name varchar, PRIMARY KEY (founder))
select founder from manufacturers where name = 'sony'
what is the party where the candidates are edward boland (d) unopposed?
create table table_1341690_21 (party varchar, candidates varchar, PRIMARY KEY (party))
select party from table_1341690_21 where candidates = "edward boland (d) unopposed"
What is every value for Croats when value for Romanians is 16.65%?
create table table_2374338_2 (croats varchar, romanians varchar, PRIMARY KEY (croats))
select croats from table_2374338_2 where romanians = "16.65%"
What's the tail number of the airplane involved in the accident described as crashed?
create table table_229917_2 (tail_number varchar, brief_description varchar, PRIMARY KEY (tail_number))
select tail_number from table_229917_2 where brief_description = "crashed"
What are the distinct visit dates?
create table visits (visit_date varchar, PRIMARY KEY (visit_date))
select distinct visit_date from visits
What was the title of the episode directed by John T. Kretchmer?
create table table_18481791_2 (title varchar, directed_by varchar, PRIMARY KEY (title))
select title from table_18481791_2 where directed_by = "john t. kretchmer"
Which school has the mascot of the Colonials?
create table table_16403890_1 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))
select institution from table_16403890_1 where team_nickname = "colonials"
How many figures are there for Rank 07-11 when the world ranking is 4?
create table table_167354_2 (rank_07_11 varchar, world_ranking varchar, PRIMARY KEY (rank_07_11))
select count(rank_07_11) from table_167354_2 where world_ranking = "4"
List the name of artworks in ascending alphabetical order.
create table artwork (name varchar, PRIMARY KEY (name))
select name from artwork order by name
Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?
create table table_27833186_1 (rider_names varchar, location varchar, horse_name varchar, PRIMARY KEY (rider_names))
select rider_names from table_27833186_1 where location = "euer valley, ca" and horse_name = "magic sirocco"
list the local authorities and services provided by all stations.
create table station (local_authority varchar, services varchar, PRIMARY KEY (local_authority))
select local_authority, services from station
what are all the uu-usu score with winner is #5 brigham young (2–0)
create table table_13665809_2 (uu_usu_score varchar, winner varchar, PRIMARY KEY (uu_usu_score))
select uu_usu_score from table_13665809_2 where winner = "#5 brigham young (2–0)"
Who did they play against in the game that ended in 2-2?
create table table_13258806_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))
select opponent from table_13258806_2 where record = "2-2"
Show the builder of railways associated with the trains named "Andaman Exp".
create table railway (builder varchar, railway_id varchar, PRIMARY KEY (builder)); create table train (railway_id varchar, name varchar, PRIMARY KEY (railway_id))
select t1.builder from railway as t1 join train as t2 on t1.railway_id = t2.railway_id where t2.name = "andaman exp"
If puma is 12, what is camper?
create table table_26894949_2 (camper integer, puma varchar, PRIMARY KEY (camper))
select min(camper) from table_26894949_2 where puma = "12"
who directed s01e13
create table table_20360535_2 (directed_by varchar, television_order varchar, PRIMARY KEY (directed_by))
select directed_by from table_20360535_2 where television_order = "s01e13"
List every individual's first name, middle name and last name in alphabetical order by last name.
create table individuals (individual_first_name varchar, individual_middle_name varchar, individual_last_name varchar, PRIMARY KEY (individual_first_name))
select individual_first_name, individual_middle_name, individual_last_name from individuals order by individual_last_name
Name the high rebounds for new york
create table table_22669044_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_22669044_9 where team = "new york"
How many residence cities have an English name of Province of Viborg and Nyslott?
create table table_198175_2 (residence_city varchar, english_name varchar, PRIMARY KEY (residence_city))
select count(residence_city) from table_198175_2 where english_name = "province of viborg and nyslott"
How many players are there for mens singles when chen qi ma lin played mens doubles?
create table table_28138035_20 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))
select count(mens_singles) from table_28138035_20 where mens_doubles = "chen qi ma lin"
Name the title that was written by r. scott gemmill
create table table_17356042_1 (title varchar, written_by varchar, PRIMARY KEY (title))
select title from table_17356042_1 where written_by = "r. scott gemmill"
How many scores did Helen Sildna give when Iiris Vesik gave a 3?
create table table_29261215_4 (helen_sildna varchar, iiris_vesik varchar, PRIMARY KEY (helen_sildna))
select count(helen_sildna) from table_29261215_4 where iiris_vesik = 3
Name the pinyin for 657 date
create table table_16162581_1 (pinyin varchar, date__ce_ varchar, PRIMARY KEY (pinyin))
select pinyin from table_16162581_1 where date__ce_ = "657"
if the aramaic is šlām-āʼ, what is the english?
create table table_26919_7 (english varchar, aramaic varchar, PRIMARY KEY (english))
select english from table_26919_7 where aramaic = "šlām-āʼ"
Vsevolod Shilovskiy is from what country?
create table table_10236830_4 (country varchar, actors_name varchar, PRIMARY KEY (country))
select country from table_10236830_4 where actors_name = "vsevolod shilovskiy"
Name the total number of written by for 26 july 2010
create table table_27218002_1 (written_by varchar, originalairdate varchar, PRIMARY KEY (written_by))
select count(written_by) from table_27218002_1 where originalairdate = "26 july 2010"
What are the email addresses of teachers whose address has zip code "918"?
create table addresses (address_id varchar, zip_postcode varchar, PRIMARY KEY (address_id)); create table teachers (email_address varchar, address_id varchar, PRIMARY KEY (email_address))
select t2.email_address from addresses as t1 join teachers as t2 on t1.address_id = t2.address_id where t1.zip_postcode = "918"
What was the area (km²) (per sqmi) of a country with a population density per km² of 8.4/km² (/sqmi)?
create table table_26769_1 (area__km²___per_sqmi_ varchar, population_density_per_km² varchar, PRIMARY KEY (area__km²___per_sqmi_))
select area__km²___per_sqmi_ from table_26769_1 where population_density_per_km² = "8.4/km² (/sqmi)"
What album was the song It's going so badly on?
create table table_23667534_1 (album_s_ varchar, song_s__title varchar, PRIMARY KEY (album_s_))
select album_s_ from table_23667534_1 where song_s__title = "it's going so badly"
What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?
create table table_25216791_3 (january_15_16 varchar, june_10_11 varchar, PRIMARY KEY (january_15_16))
select january_15_16 from table_25216791_3 where june_10_11 = "june 10, 1964"
Name the dar for telenord
create table table_15887683_17 (dar varchar, television_service varchar, PRIMARY KEY (dar))
select dar from table_15887683_17 where television_service = "telenord"
what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?
create table table_26986076_2 (wed_25_aug varchar, mon_23_aug varchar, PRIMARY KEY (wed_25_aug))
select wed_25_aug from table_26986076_2 where mon_23_aug = "26' 57.82 89.957mph"
How many type of governments are in Africa?
create table country (governmentform varchar, continent varchar, PRIMARY KEY (governmentform))
select count(distinct governmentform) from country where continent = "africa"
How many directors were there for the film Course Completed?
create table table_10798928_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))
select count(director) from table_10798928_1 where film_title_used_in_nomination = "course completed"
Name the fluency for transcortical sensory aphasia
create table table_2088_1 (fluency varchar, type_of_aphasia varchar, PRIMARY KEY (fluency))
select fluency from table_2088_1 where type_of_aphasia = "transcortical sensory aphasia"
How many vehicle thefts data were recorded if forcible rape is 1232?
create table table_26060884_2 (vehicle_theft varchar, forcible_rape varchar, PRIMARY KEY (vehicle_theft))
select count(vehicle_theft) from table_26060884_2 where forcible_rape = 1232
How many different payment methods are there?
create table customers (payment_method varchar, PRIMARY KEY (payment_method))
select count(distinct payment_method) from customers
How many s hindu are where buddhists are 955?
create table table_14598_5 (s_hindu varchar, buddhist varchar, PRIMARY KEY (s_hindu))
select s_hindu from table_14598_5 where buddhist = "955"
who directed the movie written by is sib ventress / aydrea ten bosch
create table table_10269427_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
select directed_by from table_10269427_3 where written_by = "sib ventress / aydrea ten bosch"
Find the number of manufactures that are based in Tokyo or Beijing.
create table manufacturers (headquarter varchar, PRIMARY KEY (headquarter))
select count(*) from manufacturers where headquarter = 'tokyo' or headquarter = 'beijing'
What is the role code with the largest number of employees?
create table employees (role_code varchar, PRIMARY KEY (role_code))
select role_code from employees group by role_code order by count(*) desc limit 1
What are the completion dates of all the tests that have result "Fail"?
create table student_tests_taken (registration_id varchar, test_result varchar, PRIMARY KEY (registration_id)); create table student_course_enrolment (date_of_completion varchar, registration_id varchar, PRIMARY KEY (date_of_completion))
select t1.date_of_completion from student_course_enrolment as t1 join student_tests_taken as t2 on t1.registration_id = t2.registration_id where t2.test_result = "fail"
List the number of invoices from the US, grouped by state.
create table invoices (billing_state varchar, billing_country varchar, PRIMARY KEY (billing_state))
select billing_state, count(*) from invoices where billing_country = "usa" group by billing_state
Which role is most common for the staff?
create table project_staff (role_code varchar, PRIMARY KEY (role_code))
select role_code from project_staff group by role_code order by count(*) desc limit 1
What was the manner of departure when the outgoing manager was andrea mandorlini?
create table table_26976615_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))
select manner_of_departure from table_26976615_3 where outgoing_manager = "andrea mandorlini"
If the parallel bars numbers is 61.500, what is the total number for the flood?
create table table_18662026_1 (floor varchar, parallel_bars varchar, PRIMARY KEY (floor))
select count(floor) from table_18662026_1 where parallel_bars = "61.500"
What country has the order number 711871-711880?
create table table_2351952_1 (country varchar, order_number varchar, PRIMARY KEY (country))
select country from table_2351952_1 where order_number = "711871-711880"
What is the sanskrit word if the transcription is wan athit?
create table table_180802_3 (sanskrit_word varchar, transcription varchar, PRIMARY KEY (sanskrit_word))
select sanskrit_word from table_180802_3 where transcription = "wan athit"
What are the locations with an eagles macot?
create table table_13456202_1 (location varchar, mascot varchar, PRIMARY KEY (location))
select location from table_13456202_1 where mascot = "eagles"
When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?
create table table_26609958_1 (groundwater_discharge__million_m_3__ integer, hydrographic_basin varchar, PRIMARY KEY (groundwater_discharge__million_m_3__))
select min(groundwater_discharge__million_m_3__) from table_26609958_1 where hydrographic_basin = "cabarita river"
How many connection catagories are there for Tampa?
create table table_2093995_1 (connections varchar, stations varchar, PRIMARY KEY (connections))
select count(connections) from table_2093995_1 where stations = "tampa"
What party does incumbent Charles Edward Bennett belong to?
create table table_1341598_10 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1341598_10 where incumbent = "charles edward bennett"
What was the name of the entrant with an owner named David Johnson?
create table table_20668268_1 (name varchar, owner varchar, PRIMARY KEY (name))
select name from table_20668268_1 where owner = "david johnson"
What is the id and name of the department store that has both marketing and managing department?
create table department_stores (dept_store_id varchar, store_name varchar, PRIMARY KEY (dept_store_id)); create table departments (dept_store_id varchar, department_name varchar, PRIMARY KEY (dept_store_id))
select t2.dept_store_id, t2.store_name from departments as t1 join department_stores as t2 on t1.dept_store_id = t2.dept_store_id where t1.department_name = "marketing" intersect select t2.dept_store_id, t2.store_name from departments as t1 join department_stores as t2 on t1.dept_store_id = t2.dept_store_id where t1.department_name = "managing"
Who wrote the episode directed by Peter Woeste?
create table table_15284274_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
select written_by from table_15284274_1 where directed_by = "peter woeste"
What is the chambering for the 8339 f bolt ( kgf )?
create table table_26967904_2 (chambering varchar, f_bolt___kgf__ varchar, PRIMARY KEY (chambering))
select chambering from table_26967904_2 where f_bolt___kgf__ = 8339
What is the id and name of the browser that is compatible with the most web accelerators?
create table browser (id varchar, name varchar, PRIMARY KEY (id)); create table accelerator_compatible_browser (browser_id varchar, PRIMARY KEY (browser_id))
select t1.id, t1.name from browser as t1 join accelerator_compatible_browser as t2 on t1.id = t2.browser_id group by t1.id order by count(*) desc limit 1
How many settlements have as their cyrillic name and other names панонија?
create table table_2562572_27 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))
select settlement from table_2562572_27 where cyrillic_name_other_names = "панонија"
Name the minimum for 2500-3000 ft for scotland
create table table_1456056_1 (country varchar, PRIMARY KEY (country))
select min(2500 as _3000ft) from table_1456056_1 where country = "scotland"
Name the party a for m. s. k. sathiyendran runner up
create table table_22754310_1 (party varchar, runner_up_a varchar, PRIMARY KEY (party))
select party as a from table_22754310_1 where runner_up_a = "m. s. k. sathiyendran"
Who has the high points when 53-27 is the record?
create table table_23284271_10 (high_points varchar, record varchar, PRIMARY KEY (high_points))
select high_points from table_23284271_10 where record = "53-27"
How many points per game did he have when he had 1.5 assists per game?
create table table_2761641_1 (points_per_game varchar, assists_per_game varchar, PRIMARY KEY (points_per_game))
select points_per_game from table_2761641_1 where assists_per_game = "1.5"