answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge"
CREATE TABLE table_25057928_1 (institute VARCHAR)
Name the most 2012/13 for university of cambridge
SELECT birth_date FROM table_25058562_2 WHERE player = "Taavi Sadam"
CREATE TABLE table_25058562_2 (birth_date VARCHAR, player VARCHAR)
Name the birth date for taavi sadam
SELECT height FROM table_25058562_2 WHERE player = "Asko Esna"
CREATE TABLE table_25058562_2 (height VARCHAR, player VARCHAR)
Name the height for asko esna
SELECT birth_date FROM table_25058562_2 WHERE nationality = "Estonia" AND position = "Spiker" AND height = 189
CREATE TABLE table_25058562_2 (birth_date VARCHAR, height VARCHAR, nationality VARCHAR, position VARCHAR)
Name the birth date for estonia for spiker and height of 189
SELECT player FROM table_25058562_2 WHERE height = 199
CREATE TABLE table_25058562_2 (player VARCHAR, height VARCHAR)
Name the player for 199 height
SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09"
CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
if the 2.09 million US viewers watched this episode, who was it written by
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"
CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)
If the episode was directed by Michael Offer, what was the episode number?
SELECT us_viewers__in_millions_ FROM table_25084227_1 WHERE directed_by = "Michael Offer"
CREATE TABLE table_25084227_1 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR)
If the episode was directed by Michael Offer, how many US Viewers watched it?
SELECT pick__number FROM table_25085059_3 WHERE position = "DL"
CREATE TABLE table_25085059_3 (pick__number VARCHAR, position VARCHAR)
What draft pick number was the player with the position DL?
SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = "Winnipeg Blue Bombers"
CREATE TABLE table_25085059_3 (pick__number VARCHAR, cfl_team VARCHAR)
How many draft picks were for Winnipeg blue bombers?
SELECT COUNT(college) FROM table_25085059_3 WHERE position = "LB"
CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
How many colleges provided players with positions LB?
SELECT college FROM table_25085059_3 WHERE position = "DL"
CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
What college did the player come from whose position is DL?
SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill"
CREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR)
What team got a draft pick player from McGill?
SELECT pick__number FROM table_2508633_4 WHERE college = "Oklahoma State" AND player = "Greg Hill"
CREATE TABLE table_2508633_4 (pick__number VARCHAR, college VARCHAR, player VARCHAR)
What number draft pick was Oklahoma State's Greg Hill in 1983?
SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters"
CREATE TABLE table_2508633_4 (pick__number VARCHAR, player VARCHAR)
What number pick was Danny Walters in the 1983 NFL draft?
SELECT position FROM table_2508633_4 WHERE nfl_team = "New Orleans Saints"
CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR)
What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?
SELECT position FROM table_2508633_4 WHERE player = "Steve Maidlow"
CREATE TABLE table_2508633_4 (position VARCHAR, player VARCHAR)
What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
SELECT college FROM table_2508633_11 WHERE nfl_team = "New York Giants" AND position = "Defensive back"
CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR, position VARCHAR)
In which colleges is the NFL Team New York Giants and with the position defensive back?
SELECT nfl_team FROM table_2508633_11 WHERE position = "Linebacker" AND player = "Danny Triplett"
CREATE TABLE table_2508633_11 (nfl_team VARCHAR, position VARCHAR, player VARCHAR)
What NFL Team has the player Danny Triplett with the position linebacker?
SELECT nfl_team FROM table_2508633_11 WHERE college = "North Texas State"
CREATE TABLE table_2508633_11 (nfl_team VARCHAR, college VARCHAR)
What are the NFL Teams in College North Texas State?
SELECT COUNT(college) FROM table_2508633_11 WHERE nfl_team = "Buffalo Bills"
CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR)
How many colleges have the NFL Team Buffalo Bills?
SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard"
CREATE TABLE table_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR)
Who are the all the players whose position is guard in college Clemson?
SELECT nfl_team FROM table_2508633_11 WHERE player = "Aaron Williams"
CREATE TABLE table_2508633_11 (nfl_team VARCHAR, player VARCHAR)
What NFL Teams have the player Aaron Williams?
SELECT MIN(pick__number) FROM table_2508633_2 WHERE nfl_team = "Denver Broncos"
CREATE TABLE table_2508633_2 (pick__number INTEGER, nfl_team VARCHAR)
Name the least pick number for the denver broncos
SELECT position FROM table_2508633_2 WHERE pick__number = 39
CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)
Name the position for pick number 39
SELECT COUNT(pick__number) FROM table_2508633_2 WHERE player = "Henry Ellard"
CREATE TABLE table_2508633_2 (pick__number VARCHAR, player VARCHAR)
Name the total number of pick number being henry ellard
SELECT player FROM table_2508633_2 WHERE nfl_team = "New Orleans Saints"
CREATE TABLE table_2508633_2 (player VARCHAR, nfl_team VARCHAR)
Name the player for new orleans saints
SELECT COUNT(player) FROM table_2508633_2 WHERE college = "Georgia Tech"
CREATE TABLE table_2508633_2 (player VARCHAR, college VARCHAR)
Name the number of players for georgia tech
SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs"
CREATE TABLE table_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR)
Name the most pick number for guard and kansas city chiefs
SELECT nfl_team FROM table_2508633_6 WHERE pick__number = 151
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, pick__number VARCHAR)
Name the nfl team for pick number 151
SELECT college FROM table_2508633_6 WHERE nfl_team = "Houston Oilers"
CREATE TABLE table_2508633_6 (college VARCHAR, nfl_team VARCHAR)
Name the college for houston oilers
SELECT MAX(pick__number) FROM table_2508633_6 WHERE college = "Illinois"
CREATE TABLE table_2508633_6 (pick__number INTEGER, college VARCHAR)
Name the most pick number for illinois
SELECT COUNT(nfl_team) FROM table_2508633_6 WHERE player = "Ellis Gardner"
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR)
Name the total number for nfl team for ellis gardner
SELECT position FROM table_2508633_6 WHERE college = "Delaware"
CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)
Name the position for delaware
SELECT nfl_team FROM table_2508633_6 WHERE player = "Eric Williams"
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR)
Name the nfl team for eric williams
SELECT nfl_team FROM table_2508633_9 WHERE college = "Jackson State"
CREATE TABLE table_2508633_9 (nfl_team VARCHAR, college VARCHAR)
What NFL team picked a player from Jackson State?
SELECT position FROM table_2508633_9 WHERE college = "Langston"
CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR)
What position was the draft pick that came from Langston?
SELECT COUNT(player) FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Running back"
CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR)
How many players were the running back draft pick for the New England Patriots?
SELECT player FROM table_2508633_9 WHERE nfl_team = "Kansas City Chiefs"
CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR)
Who was the draft pick for Kansas City Chiefs?
SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end"
CREATE TABLE table_2508633_9 (college VARCHAR, nfl_team VARCHAR, position VARCHAR)
What college did the tight end draft pick for New England Patriots come from?
SELECT MIN(cuchumuela_municipality) FROM table_2509112_3
CREATE TABLE table_2509112_3 (cuchumuela_municipality INTEGER)
What is the Cuchumela Municipality minimum?
SELECT language FROM table_2509112_3 WHERE villa_rivero_municipality = 7
CREATE TABLE table_2509112_3 (language VARCHAR, villa_rivero_municipality VARCHAR)
If Villa Rivero Municipality if 7, what is the language?
SELECT COUNT(language) FROM table_2509112_3 WHERE tacachi_municipality = 3
CREATE TABLE table_2509112_3 (language VARCHAR, tacachi_municipality VARCHAR)
What is the language total number if the Tacachi Municipality is 3?
SELECT COUNT(san_benito_municipality) FROM table_2509112_3 WHERE language = "Another native"
CREATE TABLE table_2509112_3 (san_benito_municipality VARCHAR, language VARCHAR)
If the language is another native, what is the San Benito Municipality total number?
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Spanish"
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
If the language is Spanish, what is the Vinto Municipality minimum?
SELECT MAX(quillacollo_municipality) FROM table_2509113_2 WHERE vinto_municipality = 18630
CREATE TABLE table_2509113_2 (quillacollo_municipality INTEGER, vinto_municipality VARCHAR)
If the Vinto Municipality is 18630, what is the Quillacollo Municipality?
SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua"
CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR)
What is the Sipe Sipe Municipality minimum if the language is Quechua?
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE language = "Native and Spanish"
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, language VARCHAR)
If the language is Native and Spanish, what is the Vinto Municipality minimum?
SELECT MIN(vinto_municipality) FROM table_2509113_2 WHERE quillacollo_municipality = 93131
CREATE TABLE table_2509113_2 (vinto_municipality INTEGER, quillacollo_municipality VARCHAR)
If the Quillacollo Municipality is 93131, what is the Vinto Municipality minimum?
SELECT language FROM table_2509350_3 WHERE villa_alcalá_municipality = 1167
CREATE TABLE table_2509350_3 (language VARCHAR, villa_alcalá_municipality VARCHAR)
Name the language for villa 1167
SELECT MAX(padilla_municipality) FROM table_2509350_3 WHERE language = "Quechua"
CREATE TABLE table_2509350_3 (padilla_municipality INTEGER, language VARCHAR)
Name the most padilla municipality for quechua
SELECT language FROM table_2509350_3 WHERE sopachuy_municipality = 10
CREATE TABLE table_2509350_3 (language VARCHAR, sopachuy_municipality VARCHAR)
Name the language for sopachuy 10
SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176
CREATE TABLE table_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR)
Name the number of tomina for villa alcala for 176
SELECT MIN(tomina_municipality) FROM table_2509350_3 WHERE el_villar_municipality = 4
CREATE TABLE table_2509350_3 (tomina_municipality INTEGER, el_villar_municipality VARCHAR)
Name the least tomina for el villar being 4
SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264
CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)
Name the language for el villar 1264
SELECT COUNT(games) FROM table_2509505_1 WHERE goals_against = 352
CREATE TABLE table_2509505_1 (games VARCHAR, goals_against VARCHAR)
Name the total number of games for goals against being 352
SELECT COUNT(games) FROM table_2509505_1 WHERE lost = 41
CREATE TABLE table_2509505_1 (games VARCHAR, lost VARCHAR)
Name the total number of games for lost being 41
SELECT MAX(goals_for) FROM table_2509505_1 WHERE points = 56
CREATE TABLE table_2509505_1 (goals_for INTEGER, points VARCHAR)
Name the most goals for 56 points
SELECT COUNT(won) FROM table_2509505_1 WHERE goals_for = 274
CREATE TABLE table_2509505_1 (won VARCHAR, goals_for VARCHAR)
Name the number of won for goals for being 274
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "2"
CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)
When the quiabaya municipality is 2 what is the combaya municipality?
SELECT guanay_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "4.321"
CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, tacacoma_municipality VARCHAR)
What is the guanay municipality when the tacacoma municipality is 4.321?
SELECT sorata_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33"
CREATE TABLE table_2509202_2 (sorata_municipality VARCHAR, quiabaya_municipality VARCHAR)
How many people in the sorata municipality when the quiabaya municipality has 33?
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33"
CREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)
What is the number for combaya municipality when quiabaya municipality is 33?
SELECT tipuani_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "6"
CREATE TABLE table_2509202_2 (tipuani_municipality VARCHAR, tacacoma_municipality VARCHAR)
tipuani municipality when tacacoma municipality is 6?
SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "0"
CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, combaya_municipality VARCHAR)
What is the number for the guanay municipality when combaya municipality is 0?
SELECT MIN(year) FROM table_251272_4 WHERE location = "Martyrs' Mausoleum, Rangoon, Burma"
CREATE TABLE table_251272_4 (year INTEGER, location VARCHAR)
What is the first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma?
SELECT location FROM table_251272_4 WHERE title_at_the_time = "Prime Minister of Sri Lanka"
CREATE TABLE table_251272_4 (location VARCHAR, title_at_the_time VARCHAR)
Where was the attempt on the Prime Minister of Sri Lanka's life made?
SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie"
CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR)
What is every original language for book series Little House on the Prairie?
SELECT approximate_sales FROM table_2512935_8 WHERE author = "Laura Ingalls Wilder"
CREATE TABLE table_2512935_8 (approximate_sales VARCHAR, author VARCHAR)
What are all approximate sales for the author Laura Ingalls Wilder?
SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep"
CREATE TABLE table_25118909_3 (_number INTEGER, former_school VARCHAR)
Name the most number for notre dame prep
SELECT Ends AS won FROM table_25107064_2 WHERE blank_ends = 0
CREATE TABLE table_25107064_2 (Ends VARCHAR, blank_ends VARCHAR)
Name the ends won for blank ends for 0
SELECT MIN(stolen_ends) FROM table_25107064_2 WHERE country = Germany
CREATE TABLE table_25107064_2 (stolen_ends INTEGER, country VARCHAR, Germany VARCHAR)
Name the stolen ends for germany
SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78
CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)
Name the least ends won for pf being 78
SELECT stadium FROM table_25129482_1 WHERE location = "Kuopio"
CREATE TABLE table_25129482_1 (stadium VARCHAR, location VARCHAR)
What is the stadium in Kuopio?
SELECT kitmaker FROM table_25129482_1 WHERE club = "TPS"
CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR)
Who is the kitmaker for TPS?
SELECT MAX(capacity) FROM table_25129482_1
CREATE TABLE table_25129482_1 (capacity INTEGER)
What is the largest capacity for a stadium?
SELECT stadium FROM table_25129482_1 WHERE manager = "Kari Martonen"
CREATE TABLE table_25129482_1 (stadium VARCHAR, manager VARCHAR)
Which stadium is managed by Kari Martonen?
SELECT COUNT(capacity) FROM table_25129482_1 WHERE club = "FF Jaro"
CREATE TABLE table_25129482_1 (capacity VARCHAR, club VARCHAR)
How many capacities are given for FF Jaro club?
SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku"
CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR)
How many managers for club in Turku where kitmaker is Puma?
SELECT COUNT(fox_int_channels_air_date) FROM table_25131572_2 WHERE series__number = 5
CREATE TABLE table_25131572_2 (fox_int_channels_air_date VARCHAR, series__number VARCHAR)
How many times was episode 5 in the series aired on Fox int.?
SELECT score_qualifying FROM table_25143284_1 WHERE score_final = "12.200"
CREATE TABLE table_25143284_1 (score_qualifying VARCHAR, score_final VARCHAR)
What was the qualifying score of the competition whose final score was 12.200?
SELECT location FROM table_25143284_1 WHERE score_qualifying = "58.425"
CREATE TABLE table_25143284_1 (location VARCHAR, score_qualifying VARCHAR)
Where was the competition with a qualifying score of 58.425?
SELECT COUNT(competition_description) FROM table_25143284_1 WHERE score_final = "15.650"
CREATE TABLE table_25143284_1 (competition_description VARCHAR, score_final VARCHAR)
How many competitions had a final score of 15.650?
SELECT year FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–5)"
CREATE TABLE table_2516282_3 (year VARCHAR, score VARCHAR)
In what year was the score 7–5, 7–6 (7–5)?
SELECT outcome FROM table_2516282_3 WHERE opponents = "Yan Zi Jie Zheng"
CREATE TABLE table_2516282_3 (outcome VARCHAR, opponents VARCHAR)
When the opponent was Yan Zi Jie Zheng, what was the outcome?
SELECT outcome FROM table_2516282_3 WHERE year = 2013
CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR)
In the year 2013, what was the outcome?
SELECT partner FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–5)"
CREATE TABLE table_2516282_3 (partner VARCHAR, score VARCHAR)
Who was the partner when the score was 7–5, 7–6 (7–5)?
SELECT score FROM table_2516282_3 WHERE surface = "Hard (i)"
CREATE TABLE table_2516282_3 (score VARCHAR, surface VARCHAR)
When the surface was Hard (i), what was the score?
SELECT championship FROM table_2516282_3 WHERE partner = "Jie Zheng"
CREATE TABLE table_2516282_3 (championship VARCHAR, partner VARCHAR)
In which championship was the partner Jie Zheng?
SELECT COUNT(pf) FROM table_25176088_2 WHERE stolen_ends = 3
CREATE TABLE table_25176088_2 (pf VARCHAR, stolen_ends VARCHAR)
What are the number of points for associated with exactly 3 stolen ends?
SELECT COUNT(position) FROM table_25177625_1 WHERE weight = 170
CREATE TABLE table_25177625_1 (position VARCHAR, weight VARCHAR)
How many position did a player took while weighing 170?
SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ"
CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR)
What were the former schools of the player from East Brunswick, NJ?
SELECT height FROM table_25177625_1 WHERE position = "Forward" AND year = "Freshman"
CREATE TABLE table_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR)
What was the height of this Freshman with a forward position?
SELECT start_date_of__first__term FROM table_25182437_1 WHERE date_of_birth = "1961-08-09 9 August 1961"
CREATE TABLE table_25182437_1 (start_date_of__first__term VARCHAR, date_of_birth VARCHAR)
If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?
SELECT end_date_of__final__term FROM table_25182437_1 WHERE prime_minister = "Palmer, Geoffrey Geoffrey Palmer"
CREATE TABLE table_25182437_1 (end_date_of__final__term VARCHAR, prime_minister VARCHAR)
If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?
SELECT population FROM table_25200461_9 WHERE city = "Gilroy"
CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR)
What is the population if the city is Gilroy?
SELECT city FROM table_25200461_9 WHERE democratic = "42.5%"
CREATE TABLE table_25200461_9 (city VARCHAR, democratic VARCHAR)
If Democratic is 42.5%, what is the city?
SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%"
CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR)
If the registered voters is 66.8%, what is the minimum population?
SELECT other FROM table_25200461_9 WHERE city = "Los Gatos"
CREATE TABLE table_25200461_9 (other VARCHAR, city VARCHAR)
What is the other is the city is Los Gatos?
SELECT d_r_spread FROM table_25200461_9 WHERE no_party_preference = "31.8%"
CREATE TABLE table_25200461_9 (d_r_spread VARCHAR, no_party_preference VARCHAR)
What is the d-r spread if the no party preference is 31.8%?