answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(roleplay) FROM table_17827271_1 WHERE flatspin = "Tracy Taylor"
CREATE TABLE table_17827271_1 (roleplay VARCHAR, flatspin VARCHAR)
How many RolePlay actors played the same role as FlatSpin's Tracy Taylor?
SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter"
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 church_name FROM table_178381_1 WHERE location_of_the_church = "Stavang"
CREATE TABLE table_178381_1 (church_name VARCHAR, location_of_the_church VARCHAR)
What's the name of the church in Stavang?
SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_the_church = "Eikefjord"
CREATE TABLE table_178381_1 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)
What's the sub-parish (sokn) of Eikefjord?
SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = "1957" AND church_name = "Askrova bedehuskapell"
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 parish__prestegjeld_ FROM table_178381_1 WHERE church_name = "Askrova bedehuskapell"
CREATE TABLE table_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
In what parish is the Askrova Bedehuskapell church?
SELECT channel FROM table_178242_1 WHERE host_s_ = "Art Rooijakkers"
CREATE TABLE table_178242_1 (channel VARCHAR, host_s_ VARCHAR)
Which channel has the host Art Rooijakkers?
SELECT premiere___aired FROM table_178242_1 WHERE channel = "VIER"
CREATE TABLE table_178242_1 (premiere___aired VARCHAR, channel VARCHAR)
When did the program air on Vier?
SELECT name FROM table_178242_1 WHERE channel = "Nederland 3" AND premiere___aired = "17 May 2008 – 21 June 2008"
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 seasons FROM table_178242_1 WHERE country___region = "Poland"
CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR)
How many seasons did the show run in Poland?
SELECT current_stock FROM table_17839_1 WHERE avg_trips_per_mile__×1000_ = 4744
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 future_stock FROM table_17839_1 WHERE map_colour = "Green"
CREATE TABLE table_17839_1 (future_stock VARCHAR, map_colour VARCHAR)
When green is the map colour what is the future stock?
SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise"
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 length 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 MAX(year_established) FROM table_1784514_1
CREATE TABLE table_1784514_1 (year_established INTEGER)
What is the latest year a division was established?
SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw"
CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)
How many powiats have mstsislaw as a capital?
SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"
CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
SELECT MAX(year_established) FROM table_1784514_1 WHERE number_of_powiats = "5 powiats"
CREATE TABLE table_1784514_1 (year_established INTEGER, number_of_powiats VARCHAR)
What is the latest year established that had 5 powiats?
SELECT parish__prestegjeld_ FROM table_178398_1 WHERE sub_parish__sogn_ = "Fortun"
CREATE TABLE table_178398_1 (parish__prestegjeld_ VARCHAR, sub_parish__sogn_ VARCHAR)
In what parish is the sub-parish fortun?
SELECT sub_parish__sogn_ FROM table_178398_1 WHERE location_of_the_church = "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 MIN(year_built) FROM table_178398_1 WHERE location_of_the_church = "Jostedal"
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 parish__prestegjeld_ FROM table_178398_1 WHERE location_of_the_church = "Solvorn"
CREATE TABLE table_178398_1 (parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR)
What parishes are in Solvorn?
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
Name the number of parish for vilnes kyrkje
SELECT parish__prestegjeld_ FROM table_178399_1 WHERE year_built = 1908
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
Name the parish for 1908
SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje"
CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)
Name the maximum year built for holmedal kyrkje
SELECT MIN(week) FROM table_17861179_1 WHERE game_site = "Shea Stadium"
CREATE TABLE table_17861179_1 (week INTEGER, game_site VARCHAR)
What is the week where the game site is Shea Stadium?
SELECT result FROM table_17861179_1 WHERE week = 6
CREATE TABLE table_17861179_1 (result VARCHAR, week VARCHAR)
For week 6, what were the results?
SELECT COUNT(week) FROM table_17869717_1 WHERE date = "November 3"
CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)
In how many weeks was the game played on November 3 played?
SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = "8.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 run_time = "25:12"
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 viewers__in_millions_ FROM table_1785117_1 WHERE run_time = "25:55"
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 number_of_dances FROM table_17862135_3 WHERE couple = "Warren & Kym"
CREATE TABLE table_17862135_3 (number_of_dances VARCHAR, couple VARCHAR)
How many dances did Warren & Kym have?
SELECT total_points FROM table_17862135_3 WHERE average = "17.8"
CREATE TABLE table_17862135_3 (total_points VARCHAR, average VARCHAR)
What are the total points for the team that averages 17.8?
SELECT average FROM table_17862135_3 WHERE couple = "Cody & Julianne"
CREATE TABLE table_17862135_3 (average VARCHAR, couple VARCHAR)
What is average for Cody & Julianne?
SELECT division_southwest FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_east = "Osogovo"
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_north FROM table_17881033_1 WHERE season = "2007–08"
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 division_south = "Kožuf" AND division_southwest = "Ilinden Velmej"
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 COUNT(division_southwest) FROM table_17881033_1 WHERE division_east = "Babi"
CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR)
how many division southwest was there when division east was babi
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"
CREATE TABLE table_17881033_1 (division_east VARCHAR, division_north VARCHAR)
what is the division east when division north was milano
SELECT written_by FROM table_17901155_3 WHERE no_in_season = 3
CREATE TABLE table_17901155_3 (written_by VARCHAR, no_in_season VARCHAR)
who co-wrote Season 2, Episode 3?
SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur"
CREATE TABLE table_17901155_3 (no_in_series INTEGER, directed_by VARCHAR)
what is the series # for the episode directed by Kelly Sandefur?
SELECT COUNT(prod_code) FROM table_17901155_3 WHERE no_in_series = 32
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 year__ceremony_ FROM table_17919342_1 WHERE original_title = "Milagros"
CREATE TABLE table_17919342_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
What year was the film Milagros submitted?
SELECT COUNT(year__ceremony_) FROM table_17919342_1 WHERE film_title_used_in_nomination = "The Blossoming of Maximo Oliveros"
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(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story"
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 spacecraft FROM table_179174_2 WHERE launch_complex = "LC34"
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 flights = "22 Orbital"
CREATE TABLE table_179174_2 (spacecraft VARCHAR, flights VARCHAR)
What spacecrafts had 22 orbital flights?
SELECT launcher FROM table_179174_2 WHERE flights = "37 Orbital"
CREATE TABLE table_179174_2 (launcher VARCHAR, flights VARCHAR)
What launcher had spacecrafts that did 37 orbital flights?
SELECT years FROM table_179174_2 WHERE flights = "134 Orbital"
CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR)
What years had 134 orbital flights?
SELECT status_at_production FROM table_1792122_11 WHERE project = "London Aquatics Centre"
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 original_air_date FROM table_1792122_11 WHERE no_in_series = 71
CREATE TABLE table_1792122_11 (original_air_date VARCHAR, no_in_series VARCHAR)
What was the original are date of series number 71?
SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"
CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR)
What is the length for a diameter totaling 450 mm?
SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co"
CREATE TABLE table_17918238_1 (maximum_diameter VARCHAR, owner_operator VARCHAR)
What is Esperance pipeline co total diameter?
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"
CREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)
Name the opponent for december 8
SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"
CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)
Name the number of weeks for october 26
SELECT COUNT(attendance) FROM table_17928023_1 WHERE week = 6
CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR)
What is the attendance record for week 6?
SELECT result FROM table_17928023_1 WHERE game_site = "Schaefer Stadium"
CREATE TABLE table_17928023_1 (result VARCHAR, game_site VARCHAR)
For game site Schaefer Stadium, what were the results?
SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "João Pereira"
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 team FROM table_17933600_2 WHERE outgoing_manage = "João Alves"
CREATE TABLE table_17933600_2 (team VARCHAR, outgoing_manage VARCHAR)
What team(s) had an outgoing manager of joão alves?
SELECT date_of_vacancy FROM table_17933600_2 WHERE outgoing_manage = "Bogićević"
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 0 AS _100km_h, s FROM table_17941111_2 WHERE name = "2.0 8v"
CREATE TABLE table_17941111_2 (s VARCHAR, name VARCHAR)
Name the 0-100 km/hs for name of 2.0 8v
SELECT volume FROM table_17941111_2 WHERE co_2 = "168 g/km"
CREATE TABLE table_17941111_2 (volume VARCHAR, co_2 VARCHAR)
Name the volume for co 2 for 168 g/km
SELECT tries_for FROM table_17941032_1 WHERE tries_against = "60"
CREATE TABLE table_17941032_1 (tries_for VARCHAR, tries_against VARCHAR)
When 60 is the tries against what is the tries for?
SELECT lost FROM table_17941032_1 WHERE tries_for = "22"
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)
When 22 is the tries for what is the lost?
SELECT club FROM table_17941032_1 WHERE points = "98"
CREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR)
When 98 is the points what is the club?
SELECT try_bonus FROM table_17941032_1 WHERE tries_for = "80"
CREATE TABLE table_17941032_1 (try_bonus VARCHAR, tries_for VARCHAR)
When 80 is the tries for what is the try bonus?
SELECT lost FROM table_17941032_1 WHERE tries_for = "55"
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)
When 55 is the tries for what is the lost?
SELECT points_against FROM table_17941032_1 WHERE tries_for = "17"
CREATE TABLE table_17941032_1 (points_against VARCHAR, tries_for VARCHAR)
When 17 is the tries for what is the points against?
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"
CREATE TABLE table_17941032_2 (drawn VARCHAR)
How many draws were there in played games?
SELECT club FROM table_17941032_2 WHERE drawn = "1" AND won = "2"
CREATE TABLE table_17941032_2 (club VARCHAR, drawn VARCHAR, won VARCHAR)
Which club had 2 wins and 1 draw?
SELECT played FROM table_17941032_2 WHERE tries_for = "56"
CREATE TABLE table_17941032_2 (played VARCHAR, tries_for VARCHAR)
How many times were there plays with a try of 56?
SELECT tries_against FROM table_17941032_2 WHERE points_for = "150"
CREATE TABLE table_17941032_2 (tries_against VARCHAR, points_for VARCHAR)
How many tries against were there with points of 150?
SELECT losing_bonus FROM table_17941032_2 WHERE points = "53"
CREATE TABLE table_17941032_2 (losing_bonus VARCHAR, points VARCHAR)
What was the losing bonus that had 53 points?
SELECT points_against FROM table_17941032_2 WHERE try_bonus = "0" AND points_for = "150"
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 tries_against FROM table_17941032_3 WHERE tries_for = "30"
CREATE TABLE table_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)
Name the tries against when tries for is 30
SELECT points FROM table_17941032_3 WHERE tries_for = "49"
CREATE TABLE table_17941032_3 (points VARCHAR, tries_for VARCHAR)
Name the points when tries for is 49
SELECT try_bonus FROM table_17941032_3 WHERE lost = "11" AND losing_bonus = "6"
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 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "River Plate"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
For home of River Plate, what is the first leg listed?
SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
With an aggregate of 0-2, what is listed for home?
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
If the home is Atlético Tucumán, what is the name of the first leg?
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Newell's Old Boys"
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
If second leg is Newell's Old Boys, what name is first leg?
SELECT chinese_name FROM table_17964087_2 WHERE romanised_name = "Chan Chi-yuen, Paul"
CREATE TABLE table_17964087_2 (chinese_name VARCHAR, romanised_name VARCHAR)
What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name?
SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to"
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?
SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基"
CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR)
For the chinese name 盧奕基 how many in total is the govt salary?
SELECT COUNT(foreign_nationality) FROM table_17964087_2 WHERE romanised_name = "Lo Yik-kee, Victor"
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)
For the name romanised name is lo yik-kee, victor what is the total number foreign nationality that is listed?
SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commissioner (ret'd)"
CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)
For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name.
SELECT MAX(played) FROM table_17968282_1 WHERE points = 105
CREATE TABLE table_17968282_1 (played INTEGER, points VARCHAR)
Name the most played when points is 105
SELECT COUNT(points) FROM table_17968282_1 WHERE team = "Newell's Old Boys"
CREATE TABLE table_17968282_1 (points VARCHAR, team VARCHAR)
Name the total number of points for newell's old boys
SELECT home__1st_leg_ FROM table_17968233_2 WHERE aggregate = "3-4"
CREATE TABLE table_17968233_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
If the aggregate is 3-4, what is the first leg?
SELECT COUNT(aggregate) FROM table_17968233_2 WHERE home__2nd_leg_ = "Instituto"
CREATE TABLE table_17968233_2 (aggregate VARCHAR, home__2nd_leg_ VARCHAR)
If the second leg is Instituto, what is the total number of aggregate?
SELECT 1989 AS _90 FROM table_17968274_2 WHERE team = "Vélez Sársfield"
CREATE TABLE table_17968274_2 (team VARCHAR)
How many games were played by the Vélez Sársfield team from 1989-90?
SELECT team FROM table_17968274_2 WHERE points = 122
CREATE TABLE table_17968274_2 (team VARCHAR, points VARCHAR)
What was the team that scored 122 points?
SELECT opponent FROM table_17972136_1 WHERE date = "October 4"
CREATE TABLE table_17972136_1 (opponent VARCHAR, date VARCHAR)
What is the opponent played on October 4?
SELECT MIN(week) FROM table_17972136_1 WHERE game_site = "Riverfront Stadium"
CREATE TABLE table_17972136_1 (week INTEGER, game_site VARCHAR)
Where is riverfront stadium the game site for the week?
SELECT MIN(_number_s_lake_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Valdez-Cordova (CA)"
CREATE TABLE table_17978052_2 (_number_s_lake_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
How many number of lakes are there in the Valdez-Cordova (CA) area?
SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali"
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)
What was the comment on the Denali area?
SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Lake and Peninsula"
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
How many dams are there in the Lake and Peninsula area?
SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
How many dams are there in the Nome (CA) area?
SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)"
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)
How many comments are there in the Bethel (CA) Borough area?
SELECT COUNT(attendance) FROM table_17972193_1 WHERE date = "October 27"
CREATE TABLE table_17972193_1 (attendance VARCHAR, date VARCHAR)
How many total numbers of attendance are there during the game in October 27?