question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the date for game 6?
CREATE TABLE table_name_66 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_66 WHERE game = 6
Who was the visitor for the April 17 game?
CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_93 WHERE date = "april 17"
Which chassis did fondmetal f1 spa use after 1990?
CREATE TABLE table_name_32 (chassis VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_32 WHERE year > 1990 AND entrant = "fondmetal f1 spa"
What points did the ilmor v10 engine get after 1992?
CREATE TABLE table_name_11 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_11 WHERE engine = "ilmor v10" AND year > 1992
Name the place for tim clark
CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_65 WHERE player = "tim clark"
Name the place for south africa and retief goosen
CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_98 WHERE country = "south africa" AND player = "retief goosen"
Name the To par for t10 place and score of 72-71=143
CREATE TABLE table_name_88 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_88 WHERE place = "t10" AND score = 72 - 71 = 143
Which Opponent has a Method of submission?
CREATE TABLE table_name_97 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_97 WHERE method = "submission"
Which Res has an Event of UFC 122?
CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_40 WHERE event = "ufc 122"
What was the record after the game against the St. Louis Cardinals?
CREATE TABLE table_name_15 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_15 WHERE opponent = "st. louis cardinals"
How many attendance numbers are associated with the site of Veterans Stadium before week 1?
CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = "veterans stadium" AND week < 1
What is the future stem for the word that has an imperfect stem of hartzen?
CREATE TABLE table_name_66 (future_stem VARCHAR, imperfect_stem VARCHAR)
SELECT future_stem FROM table_name_66 WHERE imperfect_stem = "hartzen"
What is the imperfect stem for the word that has a future stem of ikusiko?
CREATE TABLE table_name_93 (imperfect_stem VARCHAR, future_stem VARCHAR)
SELECT imperfect_stem FROM table_name_93 WHERE future_stem = "ikusiko"
What is the short stem for the word that has a perfect stem of poztu?
CREATE TABLE table_name_56 (short_stem VARCHAR, perfect_stem VARCHAR)
SELECT short_stem FROM table_name_56 WHERE perfect_stem = "poztu"
What is the imperfect stem of the word that means 'take away, remove'?
CREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR)
SELECT imperfect_stem FROM table_name_74 WHERE meaning = "'take away, remove'"
What is the perfect stem for the word that has a future stem of emango?
CREATE TABLE table_name_79 (perfect_stem VARCHAR, future_stem VARCHAR)
SELECT perfect_stem FROM table_name_79 WHERE future_stem = "emango"
Who was the opponent of the runner-up after 2012?
CREATE TABLE table_name_51 (opponents VARCHAR, year VARCHAR, outcome VARCHAR)
SELECT opponents FROM table_name_51 WHERE year > 2012 AND outcome = "runner-up"
Who was the partner of the winner after 2012?
CREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR)
SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner"
Name the outcome for 6 march 2000
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_76 WHERE date = "6 march 2000"
Name the date when the surface was clay and the score was 6–1, 6–2 and runner-up
CREATE TABLE table_name_6 (date VARCHAR, outcome VARCHAR, surface VARCHAR, score VARCHAR)
SELECT date FROM table_name_6 WHERE surface = "clay" AND score = "6–1, 6–2" AND outcome = "runner-up"
Name the score for 26 may 1997
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_4 WHERE date = "26 may 1997"
Name the tournament for outcome of winner and clay surface with opponent of aranza salut
CREATE TABLE table_name_61 (tournament VARCHAR, opponent VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT tournament FROM table_name_61 WHERE outcome = "winner" AND surface = "clay" AND opponent = "aranza salut"
Who did the Blue Jays lose to on July 16?
CREATE TABLE table_name_15 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_15 WHERE date = "july 16"
Who had the men's win in the 1992/93 season?
CREATE TABLE table_name_92 (winner VARCHAR, season VARCHAR)
SELECT winner AS Men FROM table_name_92 WHERE season = "1992/93"
Who had the women's win when Norway was the winner overall in season 2001/02?
CREATE TABLE table_name_68 (winner VARCHAR, season VARCHAR)
SELECT winner AS Women FROM table_name_68 WHERE winner = "norway" AND season = "2001/02"
How many laps did Duke Nelson complete when his qualifying time was 122.951?
CREATE TABLE table_name_29 (laps INTEGER, qual VARCHAR)
SELECT SUM(laps) FROM table_name_29 WHERE qual = "122.951"
How many laps did Duke Nelson complete when his qualifying time was 136.498?
CREATE TABLE table_name_9 (laps INTEGER, qual VARCHAR)
SELECT MAX(laps) FROM table_name_9 WHERE qual = "136.498"
What entrant drove a car with a Moore chassis prior to 1953?
CREATE TABLE table_name_37 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_37 WHERE year < 1953 AND chassis = "moore"
What opponent was in the match that resulted in 1-2?
CREATE TABLE table_name_61 (opponent_team VARCHAR, result VARCHAR)
SELECT opponent_team FROM table_name_61 WHERE result = "1-2"
Which tournament has a value of a for 2009?
CREATE TABLE table_name_42 (tournament VARCHAR)
SELECT tournament FROM table_name_42 WHERE 2009 = "a"
What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT 2011 FROM table_name_89 WHERE 2009 = "a" AND 2013 = "4r"
What is the result for Chicago, Illinois?
CREATE TABLE table_name_60 (result VARCHAR, hometown VARCHAR)
SELECT result FROM table_name_60 WHERE hometown = "chicago, illinois"
How much did the Hydra team from Bronx, New York raise?
CREATE TABLE table_name_35 (raised VARCHAR, original_team VARCHAR, hometown VARCHAR)
SELECT raised FROM table_name_35 WHERE original_team = "hydra" AND hometown = "bronx, new york"
Name the attendance for atlanta braves opponent for september 9
CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_26 WHERE opponent = "atlanta braves" AND date = "september 9"
What were the years active of the player from New Zealand with more than 11 caps?
CREATE TABLE table_name_1 (years_active VARCHAR, caps VARCHAR, country VARCHAR)
SELECT years_active FROM table_name_1 WHERE caps > 11 AND country = "new zealand"
How many goals did a player from France have?
CREATE TABLE table_name_6 (goals VARCHAR, country VARCHAR)
SELECT goals FROM table_name_6 WHERE country = "france"
How many goals did a player active since 2006 have?
CREATE TABLE table_name_4 (goals VARCHAR, years_active VARCHAR)
SELECT goals FROM table_name_4 WHERE years_active = "2006"
What is the transfer window of the Leeds United source with a move from Motherwell?
CREATE TABLE table_name_52 (transfer_window VARCHAR, source VARCHAR, moving_from VARCHAR)
SELECT transfer_window FROM table_name_52 WHERE source = "leeds united" AND moving_from = "motherwell"
What is the source of a move from Swindon Town?
CREATE TABLE table_name_43 (source VARCHAR, moving_from VARCHAR)
SELECT source FROM table_name_43 WHERE moving_from = "swindon town"
What is the name of the country that has a transfer window of winter with an end after 2009 and moving from Bolton Wanderers?
CREATE TABLE table_name_45 (country VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, ends VARCHAR)
SELECT country FROM table_name_45 WHERE transfer_window = "winter" AND ends > 2009 AND moving_from = "bolton wanderers"
What is the transfer fee of the move from Port Vale?
CREATE TABLE table_name_34 (transfer_fee VARCHAR, moving_from VARCHAR)
SELECT transfer_fee FROM table_name_34 WHERE moving_from = "port vale"
What is the type of the Leeds United source, winter transfer window and moving from Northampton town?
CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR)
SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town"
What is the source of the move from Port Vale?
CREATE TABLE table_name_97 (source VARCHAR, moving_from VARCHAR)
SELECT source FROM table_name_97 WHERE moving_from = "port vale"
What is the average silver medals a team ranked 12 with less than 2 bronze has?
CREATE TABLE table_name_28 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(silver) FROM table_name_28 WHERE rank = 12 AND bronze < 2
What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has?
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = "finland" AND gold < 0
What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has?
CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0
Who is the captain of the manchester city team?
CREATE TABLE table_name_51 (captain VARCHAR, team VARCHAR)
SELECT captain FROM table_name_51 WHERE team = "manchester city"
Which captain's manager is Joe Royle?
CREATE TABLE table_name_49 (captain VARCHAR, manager VARCHAR)
SELECT captain FROM table_name_49 WHERE manager = "joe royle"
Name the average founded with joined less than 2008
CREATE TABLE table_name_88 (founded INTEGER, joined INTEGER)
SELECT AVG(founded) FROM table_name_88 WHERE joined < 2008
What was the role for Challenge TV?
CREATE TABLE table_name_55 (role VARCHAR, broadcaster VARCHAR)
SELECT role FROM table_name_55 WHERE broadcaster = "challenge tv"
Who was the broadcaster in 2003?
CREATE TABLE table_name_24 (broadcaster VARCHAR, year VARCHAR)
SELECT broadcaster FROM table_name_24 WHERE year = "2003"
What was the role for BBC1?
CREATE TABLE table_name_20 (role VARCHAR, broadcaster VARCHAR)
SELECT role FROM table_name_20 WHERE broadcaster = "bbc1"
What was the title with episode 8?
CREATE TABLE table_name_82 (title VARCHAR, episodes VARCHAR)
SELECT title FROM table_name_82 WHERE episodes = "8"
What was the title for Sky One in 2005?
CREATE TABLE table_name_27 (title VARCHAR, broadcaster VARCHAR, year VARCHAR)
SELECT title FROM table_name_27 WHERE broadcaster = "sky one" AND year = "2005"
What was Yardley-BRM's points high after 1971?
CREATE TABLE table_name_96 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_96 WHERE entrant = "yardley-brm" AND year > 1971
What year did Austria-Marlboro BRM get more than 0 points?
CREATE TABLE table_name_99 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_99 WHERE entrant = "austria-marlboro brm" AND points > 0
Which entrant has a Mclaren m7c Chassis?
CREATE TABLE table_name_62 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_62 WHERE chassis = "mclaren m7c"
Which province has gmp for an IATA?
CREATE TABLE table_name_73 (province_region VARCHAR, iata VARCHAR)
SELECT province_region FROM table_name_73 WHERE iata = "gmp"
Which airport is in Tokyo and has an ICAO of rjtt?
CREATE TABLE table_name_73 (airport VARCHAR, city VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_73 WHERE city = "tokyo" AND icao = "rjtt"
Which country is the ICAO vvts?
CREATE TABLE table_name_80 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_80 WHERE icao = "vvts"
What airport is in Vietnam?
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)
SELECT airport FROM table_name_77 WHERE country = "vietnam"
Which airport has an IATA of hgh?
CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_29 WHERE iata = "hgh"
Which city has an IATA of tsa?
CREATE TABLE table_name_69 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_69 WHERE iata = "tsa"
Where was the starting position when there were 182 laps?
CREATE TABLE table_name_84 (start VARCHAR, laps VARCHAR)
SELECT start FROM table_name_84 WHERE laps = 182
How many laps were completed with a start of 33, and a finish of 18?
CREATE TABLE table_name_67 (laps INTEGER, start VARCHAR, finish VARCHAR)
SELECT MAX(laps) FROM table_name_67 WHERE start = "33" AND finish = "18"
When completing 182 laps, what was the qual.?
CREATE TABLE table_name_67 (qual VARCHAR, laps VARCHAR)
SELECT qual FROM table_name_67 WHERE laps = 182
What is the total number of laps that were completed in 1949?
CREATE TABLE table_name_23 (laps VARCHAR, year VARCHAR)
SELECT COUNT(laps) FROM table_name_23 WHERE year = "1949"
What is the fewest number of laps completed by a rank 32?
CREATE TABLE table_name_12 (laps INTEGER, rank VARCHAR)
SELECT MIN(laps) FROM table_name_12 WHERE rank = "32"
On what date was the individual time trial?
CREATE TABLE table_name_55 (date VARCHAR, type VARCHAR)
SELECT date FROM table_name_55 WHERE type = "individual time trial"
When was tony parker (guard) born?
CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR)
SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker"
What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent?
CREATE TABLE table_name_13 (current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR)
SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay"
What player is a center born in 1977?
CREATE TABLE table_name_79 (player VARCHAR, position VARCHAR, year_born VARCHAR)
SELECT player FROM table_name_79 WHERE position = "center" AND year_born = 1977
What is the extra result of the 4th game?
CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)
SELECT extra FROM table_name_37 WHERE result = "4th"
What extra is from after 2009?
CREATE TABLE table_name_87 (extra VARCHAR, year INTEGER)
SELECT extra FROM table_name_87 WHERE year > 2009
Who was the Kit manufacturer that was has shirts sponsored by Walkers?
CREATE TABLE table_name_63 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
SELECT kit_manufacturer FROM table_name_63 WHERE shirt_sponsor = "walkers"
Which team is the kit manufacturer Umbro, and the captain Gary Mabbutt?
CREATE TABLE table_name_83 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
SELECT team FROM table_name_83 WHERE kit_manufacturer = "umbro" AND captain = "gary mabbutt"
Who is the captain for the manufacturer Pony, and the manager Harry Redknapp?
CREATE TABLE table_name_59 (captain VARCHAR, kit_manufacturer VARCHAR, manager VARCHAR)
SELECT captain FROM table_name_59 WHERE kit_manufacturer = "pony" AND manager = "harry redknapp"
Who is the shirt sponsor for the manufacturer Nike?
CREATE TABLE table_name_54 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT shirt_sponsor FROM table_name_54 WHERE kit_manufacturer = "nike"
Which team has the team captain Jon Newsome?
CREATE TABLE table_name_81 (team VARCHAR, captain VARCHAR)
SELECT team FROM table_name_81 WHERE captain = "jon newsome"
What was the GSR number on the date 1883?
CREATE TABLE table_name_50 (gsr_nos VARCHAR, date_made VARCHAR)
SELECT gsr_nos FROM table_name_50 WHERE date_made = "1883"
What was the quantity of the fleet information for DWWR 50 and 51?
CREATE TABLE table_name_4 (quantity_made VARCHAR, fleet_numbers VARCHAR)
SELECT quantity_made FROM table_name_4 WHERE fleet_numbers = "dwwr 50 and 51"
What was the quantity for Inchicore of J7?
CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"
What's the highest round for a defensive tackle position?
CREATE TABLE table_name_70 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_70 WHERE position = "defensive tackle"
What is the smallest round associated with Samuel Scheschuk?
CREATE TABLE table_name_54 (round INTEGER, name VARCHAR)
SELECT MIN(round) FROM table_name_54 WHERE name = "samuel scheschuk"
How many people were in attendance on the day there was a 30-22 victory?
CREATE TABLE table_name_13 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_13 WHERE record = "30-22"
Who lost on June 29?
CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_84 WHERE date = "june 29"
What is the score with lost as the result?
CREATE TABLE table_name_80 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_80 WHERE result = "lost"
Which date has china as the venue?
CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_25 WHERE venue = "china"
Which score has a competition of 1997 dunhill cup malaysia and february 23, 1997 as the date?
CREATE TABLE table_name_92 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE competition = "1997 dunhill cup malaysia" AND date = "february 23, 1997"
Which competition has 4-0 as the score?
CREATE TABLE table_name_88 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_88 WHERE score = "4-0"
What score has october 16, 2000 as the date?
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_71 WHERE date = "october 16, 2000"
What is the result of the competition of 2000 afc asian cup group stages?
CREATE TABLE table_name_22 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_22 WHERE competition = "2000 afc asian cup group stages"
What is the motive before 2007?
CREATE TABLE table_name_25 (motive VARCHAR, year INTEGER)
SELECT motive FROM table_name_25 WHERE year < 2007
What is the result of the directorial debut of the year award?
CREATE TABLE table_name_77 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_77 WHERE category = "directorial debut of the year"
What is the category for the premios lo nuestro award?
CREATE TABLE table_name_72 (category VARCHAR, award VARCHAR)
SELECT category FROM table_name_72 WHERE award = "premios lo nuestro"
What's the average number of Laps, that had a start of 25, with a Qual of 138.063?
CREATE TABLE table_name_21 (laps INTEGER, start VARCHAR, qual VARCHAR)
SELECT AVG(laps) FROM table_name_21 WHERE start = "25" AND qual = "138.063"
What year had the Finish of 12?
CREATE TABLE table_name_65 (year VARCHAR, finish VARCHAR)
SELECT year FROM table_name_65 WHERE finish = "12"
In what year did a Qual of 141.105 with a Start of 25 happen?
CREATE TABLE table_name_69 (year VARCHAR, start VARCHAR, qual VARCHAR)
SELECT year FROM table_name_69 WHERE start = "25" AND qual = "141.105"
What year had the largest number of laps over 196?
CREATE TABLE table_name_52 (year VARCHAR, laps INTEGER)
SELECT year FROM table_name_52 WHERE laps > 196
Who are the runners-up in 1996?
CREATE TABLE table_name_28 (runners_up VARCHAR, year VARCHAR)
SELECT runners_up FROM table_name_28 WHERE year = "1996"