context
stringlengths
27
489
question
stringlengths
12
244
answer
stringlengths
18
557
CREATE TABLE table_17802778_1 (team VARCHAR, average_speed__mph_ VARCHAR)
What team(s) enjoyed an average spped (mph) of 138.14?
SELECT team FROM table_17802778_1 WHERE average_speed__mph_ = "138.14"
CREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)
How many laps recorded in 2001?
SELECT laps FROM table_17802778_1 WHERE year = 2001
CREATE TABLE table_17802778_1 (team VARCHAR, year VARCHAR)
What team(s) were in 2003?
SELECT team FROM table_17802778_1 WHERE year = 2003
CREATE TABLE table_17802778_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
What was the average speed (mph) for the racer who finished in 1:45:00?
SELECT average_speed__mph_ FROM table_17802778_1 WHERE race_time = "1:45:00"
CREATE TABLE table_17802778_1 (miles__km_ VARCHAR, race_time VARCHAR)
How many total miles recorded for the racer who finished in 1:05:33?
SELECT miles__km_ FROM table_17802778_1 WHERE race_time = "1:05:33"
CREATE TABLE table_17810099_3 (title VARCHAR, episode__number VARCHAR)
what was the title of the episode 21a?
SELECT title FROM table_17810099_3 WHERE episode__number = "21a"
CREATE TABLE table_17810099_3 (writer_s_ VARCHAR, episode__number VARCHAR)
who wrote episode 14?
SELECT writer_s_ FROM table_17810099_3 WHERE episode__number = "14"
CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR)
Who many votes did E. Greenberg receive in Morris County?
SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris"
CREATE TABLE table_17820556_4 (precincts VARCHAR, g_hager VARCHAR)
How many precincts are in the county where G. Hager received 19 (20%) votes?
SELECT precincts FROM table_17820556_4 WHERE g_hager = "19 (20%)"
CREATE TABLE table_17814458_1 (slope_length VARCHAR, elevation_groundstation VARCHAR)
Name the slope length for 1966 groundstation
SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
CREATE TABLE table_17814458_1 (name_or_route VARCHAR, slope_length VARCHAR)
Name the name or route for slope length being 336
SELECT name_or_route FROM table_17814458_1 WHERE slope_length = 336
CREATE TABLE table_17814458_1 (slope_length INTEGER, type VARCHAR)
Name the slope length for gondola
SELECT MIN(slope_length) FROM table_17814458_1 WHERE type = "gondola"
CREATE TABLE table_17814458_1 (capacity_in_persons_hour INTEGER, construction_year_s_ VARCHAR)
Name the least capacity for persons hour for 1983
SELECT MIN(capacity_in_persons_hour) FROM table_17814458_1 WHERE construction_year_s_ = "1983"
CREATE TABLE table_17814838_1 (new_entries_this_round VARCHAR, round VARCHAR)
How many categories of new entries this round are there for the fourth round proper?
SELECT COUNT(new_entries_this_round) FROM table_17814838_1 WHERE round = "Fourth round Proper"
CREATE TABLE table_178242_7 (runner_up VARCHAR, international_destination VARCHAR)
How many runner-ups were there when the show went to Japan?
SELECT COUNT(runner_up) FROM table_178242_7 WHERE international_destination = "Japan"
CREATE TABLE table_178242_7 (winner VARCHAR, runner_up VARCHAR)
How many won the prize when Regina was the runner-up?
SELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = "Regina"
CREATE TABLE table_178242_7 (season VARCHAR, the_mole VARCHAR)
Which season is it when Milouska was the show's mole ?
SELECT season FROM table_178242_7 WHERE the_mole = "Milouska"
CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)
What were the requirements for the role played by Robert Austin in the original production?
SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
CREATE TABLE table_17827271_1 (actor_in_original_production VARCHAR, actor_required VARCHAR)
What actor played the "female, older" role in the original production?
SELECT actor_in_original_production FROM table_17827271_1 WHERE actor_required = "Female, older"
CREATE TABLE table_17827271_1 (flatspin VARCHAR, actor_in_original_production VARCHAR)
What FlatSpin actor played the same role as Robert Austin?
SELECT flatspin FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_required VARCHAR)
How many RolePlay actors played the role requiring a "male, younger" actor?
SELECT COUNT(roleplay) FROM table_17827271_1 WHERE actor_required = "Male, younger"
CREATE TABLE table_17827271_1 (roleplay VARCHAR, flatspin VARCHAR)
How many RolePlay actors played the same role as FlatSpin's Tracy Taylor?
SELECT COUNT(roleplay) FROM table_17827271_1 WHERE flatspin = "Tracy Taylor"
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)
What RolePlay actor played the same role Alison Pargeter played in the original production?
SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter"
CREATE TABLE table_178381_1 (church_name VARCHAR, location_of_the_church VARCHAR)
What's the name of the church in Stavang?
SELECT church_name FROM table_178381_1 WHERE location_of_the_church = "Stavang"
CREATE TABLE table_178381_1 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)
What's the sub-parish (sokn) of Eikefjord?
SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_the_church = "Eikefjord"
CREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR)
On how many locations is there a church named Askrova Bedehuskapell, built in 1957?
SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = "1957" AND church_name = "Askrova bedehuskapell"
CREATE TABLE table_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
In what parish is the Askrova Bedehuskapell church?
SELECT parish__prestegjeld_ FROM table_178381_1 WHERE church_name = "Askrova bedehuskapell"
CREATE TABLE table_178242_1 (channel VARCHAR, host_s_ VARCHAR)
Which channel has the host Art Rooijakkers?
SELECT channel FROM table_178242_1 WHERE host_s_ = "Art Rooijakkers"
CREATE TABLE table_178242_1 (premiere___aired VARCHAR, channel VARCHAR)
When did the program air on Vier?
SELECT premiere___aired FROM table_178242_1 WHERE channel = "VIER"
CREATE TABLE table_178242_1 (name VARCHAR, channel VARCHAR, premiere___aired VARCHAR)
What is the title that aired from 17 may 2008 – 21 june 2008 on Nederland 3?
SELECT name FROM table_178242_1 WHERE channel = "Nederland 3" AND premiere___aired = "17 May 2008 – 21 June 2008"
CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR)
How many seasons did the show run in Poland?
SELECT seasons FROM table_178242_1 WHERE country___region = "Poland"
CREATE TABLE table_17839_1 (current_stock VARCHAR, avg_trips_per_mile__×1000_ VARCHAR)
When 4744 is the avg. trips per mile (x1000) what is the current stock?
SELECT current_stock FROM table_17839_1 WHERE avg_trips_per_mile__×1000_ = 4744
CREATE TABLE table_17839_1 (future_stock VARCHAR, map_colour VARCHAR)
When green is the map colour what is the future stock?
SELECT future_stock FROM table_17839_1 WHERE map_colour = "Green"
CREATE TABLE table_17839_1 (avg_trips_per_mile__ VARCHAR, map_colour VARCHAR)
When turquoise is the map colour how many avg. trips per mile (×1000) are there?
SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise"
CREATE TABLE table_17839_1 (length VARCHAR, map_colour VARCHAR)
When turquoise is the map colour what is the length?
SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise"
CREATE TABLE table_1784514_1 (year_established INTEGER)
What is the latest year a division was established?
SELECT MAX(year_established) FROM table_1784514_1
CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)
How many powiats have mstsislaw as a capital?
SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw"
CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"
CREATE TABLE table_1784514_1 (year_established INTEGER, number_of_powiats VARCHAR)
What is the latest year established that had 5 powiats?
SELECT MAX(year_established) FROM table_1784514_1 WHERE number_of_powiats = "5 powiats"
CREATE TABLE table_178398_1 (parish__prestegjeld_ VARCHAR, sub_parish__sogn_ VARCHAR)
In what parish is the sub-parish fortun?
SELECT parish__prestegjeld_ FROM table_178398_1 WHERE sub_parish__sogn_ = "Fortun"
CREATE TABLE table_178398_1 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR)
What is the sub-parish of the church located in Fortun?
SELECT sub_parish__sogn_ FROM table_178398_1 WHERE location_of_the_church = "Fortun"
CREATE TABLE table_178398_1 (year_built INTEGER, location_of_the_church VARCHAR)
What is the year that the oldest church was built in Jostedal?
SELECT MIN(year_built) FROM table_178398_1 WHERE location_of_the_church = "Jostedal"
CREATE TABLE table_178398_1 (parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR)
What parishes are in Solvorn?
SELECT parish__prestegjeld_ FROM table_178398_1 WHERE location_of_the_church = "Solvorn"
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
Name the number of parish for vilnes kyrkje
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
Name the parish for 1908
SELECT parish__prestegjeld_ FROM table_178399_1 WHERE year_built = 1908
CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)
Name the maximum year built for holmedal kyrkje
SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje"
CREATE TABLE table_17861179_1 (week INTEGER, game_site VARCHAR)
What is the week where the game site is Shea Stadium?
SELECT MIN(week) FROM table_17861179_1 WHERE game_site = "Shea Stadium"
CREATE TABLE table_17861179_1 (result VARCHAR, week VARCHAR)
For week 6, what were the results?
SELECT result FROM table_17861179_1 WHERE week = 6
CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)
In how many weeks was the game played on November 3 played?
SELECT COUNT(week) FROM table_17869717_1 WHERE date = "November 3"
CREATE TABLE table_1785117_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
What is the broadcast date when 8.3 million viewers watched?
SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = "8.3"
CREATE TABLE table_1785117_1 (broadcast_date VARCHAR, run_time VARCHAR)
What is the broadcast date of the episode with run time 25:12?
SELECT broadcast_date FROM table_1785117_1 WHERE run_time = "25:12"
CREATE TABLE table_1785117_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
How many million viewers watched the episode that runs 25:55 minutes?
SELECT viewers__in_millions_ FROM table_1785117_1 WHERE run_time = "25:55"
CREATE TABLE table_17862135_3 (number_of_dances VARCHAR, couple VARCHAR)
How many dances did Warren & Kym have?
SELECT number_of_dances FROM table_17862135_3 WHERE couple = "Warren & Kym"
CREATE TABLE table_17862135_3 (total_points VARCHAR, average VARCHAR)
What are the total points for the team that averages 17.8?
SELECT total_points FROM table_17862135_3 WHERE average = "17.8"
CREATE TABLE table_17862135_3 (average VARCHAR, couple VARCHAR)
What is average for Cody & Julianne?
SELECT average FROM table_17862135_3 WHERE couple = "Cody & Julianne"
CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_south VARCHAR, division_east VARCHAR)
what is the division southwest when division south was kožuf and division east was osogovo
SELECT division_southwest FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_east = "Osogovo"
CREATE TABLE table_17881033_1 (division_north VARCHAR, season VARCHAR)
what is the division north in 2007–08
SELECT division_north FROM table_17881033_1 WHERE season = "2007–08"
CREATE TABLE table_17881033_1 (division_north VARCHAR, division_south VARCHAR, division_southwest VARCHAR)
what is the division north when division south was kožuf and division southwest was ilinden velmej
SELECT division_north FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_southwest = "Ilinden Velmej"
CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR)
how many division southwest was there when division east was babi
SELECT COUNT(division_southwest) FROM table_17881033_1 WHERE division_east = "Babi"
CREATE TABLE table_17881033_1 (division_east VARCHAR, division_north VARCHAR)
what is the division east when division north was milano
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"
CREATE TABLE table_17901155_3 (written_by VARCHAR, no_in_season VARCHAR)
who co-wrote Season 2, Episode 3?
SELECT written_by FROM table_17901155_3 WHERE no_in_season = 3
CREATE TABLE table_17901155_3 (no_in_series INTEGER, directed_by VARCHAR)
what is the series # for the episode directed by Kelly Sandefur?
SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur"
CREATE TABLE table_17901155_3 (prod_code VARCHAR, no_in_series VARCHAR)
how many production codes were there for the episode that was 32 in the series?
SELECT COUNT(prod_code) FROM table_17901155_3 WHERE no_in_series = 32
CREATE TABLE table_17919342_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
What year was the film Milagros submitted?
SELECT year__ceremony_ FROM table_17919342_1 WHERE original_title = "Milagros"
CREATE TABLE table_17919342_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
How many years was the film The Blossoming of Maximo Oliveros entered?
SELECT COUNT(year__ceremony_) FROM table_17919342_1 WHERE film_title_used_in_nomination = "The Blossoming of Maximo Oliveros"
CREATE TABLE table_17919342_1 (director VARCHAR, original_title VARCHAR)
How many directors were there for the film with the original title of The Moises Padilla Story?
SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story"
CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR)
What spacecraft was launched from the LC34 launch complex?
SELECT spacecraft FROM table_179174_2 WHERE launch_complex = "LC34"
CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR)
What spacecrafts had 22 orbital flights?
SELECT spacecraft FROM table_179174_2 WHERE flights = "22 Orbital"
CREATE TABLE table_179174_2 (launcher VARCHAR, flights VARCHAR)
What launcher had spacecrafts that did 37 orbital flights?
SELECT launcher FROM table_179174_2 WHERE flights = "37 Orbital"
CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR)
What years had 134 orbital flights?
SELECT years FROM table_179174_2 WHERE flights = "134 Orbital"
CREATE TABLE table_1792122_11 (status_at_production VARCHAR, project VARCHAR)
What is the status of the London Aquatics Centre project at the time of production?
SELECT status_at_production FROM table_1792122_11 WHERE project = "London Aquatics Centre"
CREATE TABLE table_1792122_11 (original_air_date VARCHAR, no_in_series VARCHAR)
What was the original are date of series number 71?
SELECT original_air_date FROM table_1792122_11 WHERE no_in_series = 71
CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR)
What is the length for a diameter totaling 450 mm?
SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"
CREATE TABLE table_17918238_1 (maximum_diameter VARCHAR, owner_operator VARCHAR)
What is Esperance pipeline co total diameter?
SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co"
CREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)
Name the opponent for december 8
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"
CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)
Name the number of weeks for october 26
SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"
CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR)
What is the attendance record for week 6?
SELECT COUNT(attendance) FROM table_17928023_1 WHERE week = 6
CREATE TABLE table_17928023_1 (result VARCHAR, game_site VARCHAR)
For game site Schaefer Stadium, what were the results?
SELECT result FROM table_17928023_1 WHERE game_site = "Schaefer Stadium"
CREATE TABLE table_17933600_2 (outgoing_manage VARCHAR, incoming_manager VARCHAR)
Who was the outgoing manager when the incoming manager was joão pereira?
SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "João Pereira"
CREATE TABLE table_17933600_2 (team VARCHAR, outgoing_manage VARCHAR)
What team(s) had an outgoing manager of joão alves?
SELECT team FROM table_17933600_2 WHERE outgoing_manage = "João Alves"
CREATE TABLE table_17933600_2 (date_of_vacancy VARCHAR, outgoing_manage VARCHAR)
What day did the job open up when bogićević was outgoing?
SELECT date_of_vacancy FROM table_17933600_2 WHERE outgoing_manage = "Bogićević"
CREATE TABLE table_17941111_2 (s VARCHAR, name VARCHAR)
Name the 0-100 km/hs for name of 2.0 8v
SELECT 0 AS _100km_h, s FROM table_17941111_2 WHERE name = "2.0 8v"
CREATE TABLE table_17941111_2 (volume VARCHAR, co_2 VARCHAR)
Name the volume for co 2 for 168 g/km
SELECT volume FROM table_17941111_2 WHERE co_2 = "168 g/km"
CREATE TABLE table_17941032_1 (tries_for VARCHAR, tries_against VARCHAR)
When 60 is the tries against what is the tries for?
SELECT tries_for FROM table_17941032_1 WHERE tries_against = "60"
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)
When 22 is the tries for what is the lost?
SELECT lost FROM table_17941032_1 WHERE tries_for = "22"
CREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR)
When 98 is the points what is the club?
SELECT club FROM table_17941032_1 WHERE points = "98"
CREATE TABLE table_17941032_1 (try_bonus VARCHAR, tries_for VARCHAR)
When 80 is the tries for what is the try bonus?
SELECT try_bonus FROM table_17941032_1 WHERE tries_for = "80"
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)
When 55 is the tries for what is the lost?
SELECT lost FROM table_17941032_1 WHERE tries_for = "55"
CREATE TABLE table_17941032_1 (points_against VARCHAR, tries_for VARCHAR)
When 17 is the tries for what is the points against?
SELECT points_against FROM table_17941032_1 WHERE tries_for = "17"
CREATE TABLE table_17941032_2 (drawn VARCHAR)
How many draws were there in played games?
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"
CREATE TABLE table_17941032_2 (club VARCHAR, drawn VARCHAR, won VARCHAR)
Which club had 2 wins and 1 draw?
SELECT club FROM table_17941032_2 WHERE drawn = "1" AND won = "2"
CREATE TABLE table_17941032_2 (played VARCHAR, tries_for VARCHAR)
How many times were there plays with a try of 56?
SELECT played FROM table_17941032_2 WHERE tries_for = "56"
CREATE TABLE table_17941032_2 (tries_against VARCHAR, points_for VARCHAR)
How many tries against were there with points of 150?
SELECT tries_against FROM table_17941032_2 WHERE points_for = "150"
CREATE TABLE table_17941032_2 (losing_bonus VARCHAR, points VARCHAR)
What was the losing bonus that had 53 points?
SELECT losing_bonus FROM table_17941032_2 WHERE points = "53"
CREATE TABLE table_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
List all points against with a 0 try bonus and points for of 150.
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"
CREATE TABLE table_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)
Name the tries against when tries for is 30
SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30"
CREATE TABLE table_17941032_3 (points VARCHAR, tries_for VARCHAR)
Name the points when tries for is 49
SELECT points FROM table_17941032_3 WHERE tries_for = "49"
CREATE TABLE table_17941032_3 (try_bonus VARCHAR, lost VARCHAR, losing_bonus VARCHAR)
Name the try bonus for lost being 11 and losing bonus is 6
SELECT try_bonus FROM table_17941032_3 WHERE lost = "11" AND losing_bonus = "6"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
For home of River Plate, what is the first leg listed?
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "River Plate"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
With an aggregate of 0-2, what is listed for home?
SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2"