answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT date FROM table_name_68 WHERE game > 53 AND team = "toronto"
CREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR)
What date was the game against Toronto which had a game number higher than 53?
SELECT date FROM table_name_94 WHERE home_team = "baltimore colts"
CREATE TABLE table_name_94 (date VARCHAR, home_team VARCHAR)
What is the date of the that was played with the Baltimore Colts at home?
SELECT length_of_game FROM table_name_31 WHERE home_team = "houston oilers"
CREATE TABLE table_name_31 (length_of_game VARCHAR, home_team VARCHAR)
How long did the game go that was played with the Houston Oilers at home?
SELECT date FROM table_name_93 WHERE length_of_game = "75:43"
CREATE TABLE table_name_93 (date VARCHAR, length_of_game VARCHAR)
What was the date of the game that lasted 75:43?
SELECT away_team FROM table_name_78 WHERE date = "december 24, 1977"
CREATE TABLE table_name_78 (away_team VARCHAR, date VARCHAR)
Who is the away team for the game played on December 24, 1977?
SELECT length_of_game FROM table_name_95 WHERE home_team = "baltimore colts"
CREATE TABLE table_name_95 (length_of_game VARCHAR, home_team VARCHAR)
What was the length of the game where the Baltimore Colts were at home?
SELECT SUM(laps) FROM table_name_36 WHERE grid = 16
CREATE TABLE table_name_36 (laps INTEGER, grid VARCHAR)
What's the number of laps for 16 grids?
SELECT rider FROM table_name_71 WHERE laps < 23 AND grid > 21 AND time_retired = "+1 lap"
CREATE TABLE table_name_71 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Who was the rider for laps less than 23 with grid greater than 21 that had a time of +1 lap?
SELECT COUNT(grid) FROM table_name_26 WHERE time_retired = "+44.831"
CREATE TABLE table_name_26 (grid VARCHAR, time_retired VARCHAR)
What's the total grid for someone with a time/retire of +44.831
SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687"
CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR)
What's the smallest grid for Time/Retired of +22.687?
SELECT recopa_sudamericana_1996 FROM table_name_10 WHERE copa_conmebol_1996 = "did not qualify" AND team = "flamengo"
CREATE TABLE table_name_10 (recopa_sudamericana_1996 VARCHAR, copa_conmebol_1996 VARCHAR, team VARCHAR)
What is the recoupa sudaamericana 1996 result of team flamengo, which did not qualify for the copa conmebol 1996?
SELECT copa_libertadores_1996 FROM table_name_84 WHERE copa_conmebol_1996 = "quarterfinals"
CREATE TABLE table_name_84 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR)
What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals?
SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = "corinthians"
CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR)
What is the copa libertadores 1996 of team corinthians?
SELECT copa_conmebol_1996 FROM table_name_49 WHERE recopa_sudamericana_1996 = "champions"
CREATE TABLE table_name_49 (copa_conmebol_1996 VARCHAR, recopa_sudamericana_1996 VARCHAR)
What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?
SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16"
CREATE TABLE table_name_64 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR)
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?
SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians"
CREATE TABLE table_name_7 (recopa_sudamericana_1996 VARCHAR, team VARCHAR)
What is the recoupa sudamericana 1996 result of team corinthians?
SELECT season FROM table_name_90 WHERE margin = "195 runs"
CREATE TABLE table_name_90 (season VARCHAR, margin VARCHAR)
What season has 195 runs as a margin?
SELECT season FROM table_name_18 WHERE rank = "2"
CREATE TABLE table_name_18 (season VARCHAR, rank VARCHAR)
What season has 2 as a rank?
SELECT venue FROM table_name_75 WHERE rank = "2"
CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR)
What venue has 2 as the rank?
SELECT opponent FROM table_name_79 WHERE season = "2011/12"
CREATE TABLE table_name_79 (opponent VARCHAR, season VARCHAR)
What opponent has 2011/12 as the season?
SELECT length FROM table_name_3 WHERE year = 2003
CREATE TABLE table_name_3 (length VARCHAR, year VARCHAR)
What is the length of the version from 2003?
SELECT remixed_by FROM table_name_67 WHERE length = "4:22"
CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR)
Who remixed the version with a length of 4:22?
SELECT length FROM table_name_68 WHERE version = "uk remix"
CREATE TABLE table_name_68 (length VARCHAR, version VARCHAR)
What is the length of the UK remix version?
SELECT year FROM table_name_76 WHERE album = "remixes"
CREATE TABLE table_name_76 (year VARCHAR, album VARCHAR)
What year was the version with a remixes album?
SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0
CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)
How many losses did the team, Sturt, have when they had more than 0 wins?
SELECT AVG(draws) FROM table_name_13 WHERE wins > 0
CREATE TABLE table_name_13 (draws INTEGER, wins INTEGER)
What is the average number of draws for the team that had more than 0 wins?
SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926
CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR)
What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
SELECT MAX(wins) FROM table_name_63 WHERE season < 1995 AND team = "central district" AND draws < 0
CREATE TABLE table_name_63 (wins INTEGER, draws VARCHAR, season VARCHAR, team VARCHAR)
What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995?
SELECT AVG(wins) FROM table_name_72 WHERE season < 1906 AND draws < 0
CREATE TABLE table_name_72 (wins INTEGER, season VARCHAR, draws VARCHAR)
What is the average number of wins before the season in 1906 where there were 0 draws?
SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND inning = "8th"
CREATE TABLE table_name_37 (opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR)
Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th?
SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis"
CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR)
What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?
SELECT date FROM table_name_84 WHERE triple < 26 AND game = 25
CREATE TABLE table_name_84 (date VARCHAR, triple VARCHAR, game VARCHAR)
What is was Date that where Triple was smaller than 26, and Game was 25?
SELECT MIN(gold) FROM table_name_47 WHERE bronze = 14 AND total > 42
CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, total VARCHAR)
Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42?
SELECT MIN(bronze) FROM table_name_38 WHERE nation = "total" AND gold < 14
CREATE TABLE table_name_38 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
Which Bronze is the lowest one that has a Nation of total, and a Gold smaller than 14?
SELECT COUNT(total) FROM table_name_16 WHERE nation = "kazakhstan (kaz)" AND gold > 0
CREATE TABLE table_name_16 (total VARCHAR, nation VARCHAR, gold VARCHAR)
How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0?
SELECT MAX(total) FROM table_name_24 WHERE rank = "1" AND gold > 11
CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR)
Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
SELECT third FROM table_name_74 WHERE venue = "oslo"
CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)
Who finished 3rd in Oslo?
SELECT results¹ FROM table_name_99 WHERE type_of_game = "friendly" AND date = "november 22"
CREATE TABLE table_name_99 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
On November 22, what were the results of the friendly type game?
SELECT city FROM table_name_82 WHERE date = "october 8"
CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR)
On October 8, what city was the game played?
SELECT opponent FROM table_name_96 WHERE date = "june 29"
CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR)
On June 29, who was the opponent?
SELECT date FROM table_name_44 WHERE type_of_game = "friendly" AND opponent = "sweden"
CREATE TABLE table_name_44 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
What date had an opponent of Sweden and a friendly type game?
SELECT results¹ FROM table_name_31 WHERE date = "september 7"
CREATE TABLE table_name_31 (results¹ VARCHAR, date VARCHAR)
What were the results on September 7?
SELECT winning_team FROM table_name_35 WHERE date = "january 28, 2006"
CREATE TABLE table_name_35 (winning_team VARCHAR, date VARCHAR)
What is the Winning team on january 28, 2006?
SELECT series FROM table_name_54 WHERE winning_team = "iowa state" AND sport = "w basketball"
CREATE TABLE table_name_54 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
Which Series has a Winning team of iowa state and a Sport of w basketball?
SELECT series FROM table_name_90 WHERE site = "ames" AND date = "september 10, 2005"
CREATE TABLE table_name_90 (series VARCHAR, site VARCHAR, date VARCHAR)
Which Series has a Site of ames on september 10, 2005?
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)
Which Series has a Site of ames and a Sport of w gymnastics?
SELECT sport FROM table_name_70 WHERE date = "march 17, 2006" AND winning_team = "iowa state"
CREATE TABLE table_name_70 (sport VARCHAR, date VARCHAR, winning_team VARCHAR)
WHich port is on march 17, 2006 and has a Winning team of iowa state?
SELECT site FROM table_name_40 WHERE date = "march 17, 2006" AND winning_team = "iowa state"
CREATE TABLE table_name_40 (site VARCHAR, date VARCHAR, winning_team VARCHAR)
Which Site has a Date of march 17, 2006 and an iowa state Winning team?
SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976"
CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Who was the opponent of the game before week 11 on October 31, 1976?
SELECT MAX(attendance) FROM table_name_68 WHERE week = 9
CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR)
What is the highest attendance of the game on week 9?
SELECT last_air_date FROM table_name_2 WHERE season = 3
CREATE TABLE table_name_2 (last_air_date VARCHAR, season VARCHAR)
When is the last episode air date for season 3?
SELECT season FROM table_name_43 WHERE last_air_date = "march 11, 2001"
CREATE TABLE table_name_43 (season VARCHAR, last_air_date VARCHAR)
Which season had its last episode air on March 11, 2001?
SELECT AVG(games) FROM table_name_22 WHERE drawn > 1
CREATE TABLE table_name_22 (games INTEGER, drawn INTEGER)
What games have more than 1 draw?
SELECT MIN(games) FROM table_name_43 WHERE drawn = 1 AND points < 7
CREATE TABLE table_name_43 (games INTEGER, drawn VARCHAR, points VARCHAR)
What game is the lowest with 1 draw and less than 7 points?
SELECT MIN(year) FROM table_name_86 WHERE manager = "art griggs"
CREATE TABLE table_name_86 (year INTEGER, manager VARCHAR)
Manager of art griggs had what lowest year?
SELECT playoffs FROM table_name_78 WHERE manager = "spencer abbott" AND year = 1919
CREATE TABLE table_name_78 (playoffs VARCHAR, manager VARCHAR, year VARCHAR)
Manager of spencer abbott, and a Year of 1919 involves what playoffs?
SELECT year FROM table_name_91 WHERE manager = "marty berghammer / nick allen"
CREATE TABLE table_name_91 (year VARCHAR, manager VARCHAR)
Manager of marty berghammer / nick allen is what year?
SELECT league FROM table_name_59 WHERE manager = "lyman lamb / marty berghammer"
CREATE TABLE table_name_59 (league VARCHAR, manager VARCHAR)
Manager of lyman lamb / marty berghammer is in what league?
SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st"
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR)
Manager of marty berghammer, and a Finish of 1st involved what lowest year?
SELECT league FROM table_name_63 WHERE playoffs = "league champs" AND record = "77-63"
CREATE TABLE table_name_63 (league VARCHAR, playoffs VARCHAR, record VARCHAR)
Playoffs of league champs, and a Record of 77-63 is in what league?
SELECT 2005 FROM table_name_16 WHERE 2007 = "sf"
CREATE TABLE table_name_16 (Id VARCHAR)
Name the 2005 with 2007 of sf
SELECT 2006 FROM table_name_22 WHERE 2008 = "1r" AND 2004 = "1r"
CREATE TABLE table_name_22 (Id VARCHAR)
Name the 2006 with 2008 of 1r and 2004 of 1r
SELECT 2011 FROM table_name_9 WHERE 2002 = "1r" AND 2009 = "a"
CREATE TABLE table_name_9 (Id VARCHAR)
Name the 2011 with 2002 of 1r and 2009 of a
SELECT 1999 FROM table_name_3 WHERE 2011 = "2r"
CREATE TABLE table_name_3 (Id VARCHAR)
Name the 1999 with 2011 of 2r
SELECT 2008 FROM table_name_88 WHERE 1998 = "a" AND 2002 = "1r" AND 2004 = "2r"
CREATE TABLE table_name_88 (Id VARCHAR)
Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r
SELECT 2001 FROM table_name_2 WHERE 2007 = "sf"
CREATE TABLE table_name_2 (Id VARCHAR)
Name the 2001 with 2007 of sf
SELECT school_year FROM table_name_73 WHERE class_aAA = dalhart AND class_aAAAA = edinburg
CREATE TABLE table_name_73 (school_year VARCHAR, class_aAA VARCHAR, dalhart VARCHAR, class_aAAAA VARCHAR, edinburg VARCHAR)
Which school year was the Class AAA dalhart and the class AAAAA edinburg?
SELECT class_a FROM table_name_24 WHERE school_year = "1987-88"
CREATE TABLE table_name_24 (class_a VARCHAR, school_year VARCHAR)
For what Class A is the school year 1987-88?
SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales
CREATE TABLE table_name_28 (class_aAAA VARCHAR, class_aAA VARCHAR, gonzales VARCHAR)
What is the Class AAAAA when the Class AAA is Gonzales?
SELECT team FROM table_name_78 WHERE points < 35
CREATE TABLE table_name_78 (team VARCHAR, points INTEGER)
Which team scored less than 35 points?
SELECT AVG(position) FROM table_name_80 WHERE team = "criciúma" AND drawn > 8
CREATE TABLE table_name_80 (position INTEGER, team VARCHAR, drawn VARCHAR)
Which Position has a Team of criciúma, and a Drawn larger than 8?
SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56
CREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR)
Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?
SELECT AVG(played) FROM table_name_97 WHERE lost > 14 AND drawn = 10 AND points > 46
CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?
SELECT score FROM table_name_36 WHERE leading_scorer = "devin brown (24)"
CREATE TABLE table_name_36 (score VARCHAR, leading_scorer VARCHAR)
What score has devin brown (24) as the leading scorer?
SELECT height_ft___m__ FROM table_name_93 WHERE floors = 36
CREATE TABLE table_name_93 (height_ft___m__ VARCHAR, floors VARCHAR)
Which height, in meters, has 36 floors?
SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"
CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR)
Which Floors is the highest one that has a Name of one indiana square?
SELECT height_ft___m__ FROM table_name_10 WHERE street_address = "07.0 200 east washington street"
CREATE TABLE table_name_10 (height_ft___m__ VARCHAR, street_address VARCHAR)
How tall is the Street address of 07.0 200 east washington street?
SELECT date FROM table_name_95 WHERE record = "37-44"
CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR)
What was the date of the game where the indians record was 37-44?
SELECT town_city FROM table_name_39 WHERE name = "garfield county museum"
CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR)
What city is Garfield County Museum located in?
SELECT name FROM table_name_52 WHERE town_city = "rudyard"
CREATE TABLE table_name_52 (name VARCHAR, town_city VARCHAR)
What is the museum name located in Rudyard?
SELECT region FROM table_name_43 WHERE name = "blaine county museum"
CREATE TABLE table_name_43 (region VARCHAR, name VARCHAR)
What is the region that the Blaine County Museum is located in?
SELECT tournament FROM table_name_13 WHERE score = "6–3, 2–6, 6–3"
CREATE TABLE table_name_13 (tournament VARCHAR, score VARCHAR)
What Tournament had a Score of 6–3, 2–6, 6–3?
SELECT partner FROM table_name_31 WHERE score = "6–3, 2–6, 6–3"
CREATE TABLE table_name_31 (partner VARCHAR, score VARCHAR)
What Partner had a Score of 6–3, 2–6, 6–3?
SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire"
CREATE TABLE table_name_6 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)
Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?
SELECT visitor FROM table_name_4 WHERE record = "6–12–5–1"
CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR)
Who was the visiting team when the record was 6–12–5–1?
SELECT home FROM table_name_56 WHERE record = "21–45–8–5"
CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR)
Who was the home team when the record was 21–45–8–5?
SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes"
CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR)
Which of the attributes has is cancelable and an answer of yes for bubbles?
SELECT bubbles FROM table_name_87 WHERE attribute = "onlostpointercapture"
CREATE TABLE table_name_87 (bubbles VARCHAR, attribute VARCHAR)
Which bubbles has an atribute of onlostpointercapture?
SELECT cancelable FROM table_name_75 WHERE attribute = "onpointerout"
CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR)
For the attribute of onpointerout, what is the cancelable?
SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown"
CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR)
Which bubble have a cancelable of yes and an attribute of onpointerdown?
SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18
CREATE TABLE table_name_91 (grid INTEGER, driver VARCHAR, points VARCHAR)
What's the highest grid of Ronnie Bremer, who had more than 18 points?
SELECT MAX(points) FROM table_name_71 WHERE laps = 70 AND grid > 16
CREATE TABLE table_name_71 (points INTEGER, laps VARCHAR, grid VARCHAR)
What are the most points Lap 70 had with a grid larger than 16?
SELECT track FROM table_name_2 WHERE city = "holland"
CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR)
What is the name of the track in Holland?
SELECT track FROM table_name_83 WHERE state = "washington"
CREATE TABLE table_name_83 (track VARCHAR, state VARCHAR)
What is the track in Washington state?
SELECT city FROM table_name_89 WHERE track = "manzanita speedway"
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR)
What is the city the track of manzanita speedway is in?
SELECT surface FROM table_name_2 WHERE track = "indianapolis speedrome"
CREATE TABLE table_name_2 (surface VARCHAR, track VARCHAR)
What is the surface of the track at the indianapolis speedrome?
SELECT surface FROM table_name_84 WHERE track = "riverhead raceway"
CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR)
What is the surface for the riverhead raceway?
SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome"
CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR)
What city is the indianapolis speedrome in?
SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform"
CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR)
What is the IUPAC name for chloroform?
SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/2009"
CREATE TABLE table_name_8 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR)
What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009?