answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT score FROM table_name_53 WHERE date = "april 22" | CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR) | What was the score on April 22? |
SELECT event FROM table_name_88 WHERE quarterfinal = "zhamash l 1–2" | CREATE TABLE table_name_88 (event VARCHAR, quarterfinal VARCHAR) | What event had zhamash l 1–2 in the quarterfinal? |
SELECT semifinal FROM table_name_4 WHERE athlete = "hossein ojaghi" | CREATE TABLE table_name_4 (semifinal VARCHAR, athlete VARCHAR) | Hossein Ojaghi participated in what semifinal. |
SELECT event FROM table_name_29 WHERE quarterfinal = "did not advance" AND athlete = "alireza rouzbahani" | CREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR) | Alireza Rouzbahani did not advance to the quarterfinal in what event? |
SELECT COUNT(games) FROM table_name_38 WHERE goals_against > 288 AND lost < 34 | CREATE TABLE table_name_38 (games VARCHAR, goals_against VARCHAR, lost VARCHAR) | How many games have more than 288 goals and less than 34 losses? |
SELECT MIN(tied) FROM table_name_57 WHERE points < 100 AND goals_for = 277 | CREATE TABLE table_name_57 (tied INTEGER, points VARCHAR, goals_for VARCHAR) | What is the lowest tie with less than 100 points and 277 goals? |
SELECT team FROM table_name_94 WHERE position = "g" | CREATE TABLE table_name_94 (team VARCHAR, position VARCHAR) | What is the team with position G? |
SELECT player FROM table_name_33 WHERE college = "illinois" | CREATE TABLE table_name_33 (player VARCHAR, college VARCHAR) | What is the player from Illinois? |
SELECT phone FROM table_name_46 WHERE address = "53 dayton road" | CREATE TABLE table_name_46 (phone VARCHAR, address VARCHAR) | What is the phone number of the station located at 53 Dayton Road? |
SELECT engine_company FROM table_name_35 WHERE address = "89 rope ferry road" | CREATE TABLE table_name_35 (engine_company VARCHAR, address VARCHAR) | What is the name of the engine company that is located at 89 Rope Ferry Road? |
SELECT record FROM table_name_24 WHERE visitor = "trail blazers" | CREATE TABLE table_name_24 (record VARCHAR, visitor VARCHAR) | What was the Record of the game in which the Trail Blazers was the visiting team? |
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-1" | CREATE TABLE table_name_30 (date VARCHAR, competition VARCHAR, result VARCHAR) | What was the date of the friendly match, ending in a result of 1-1? |
SELECT result FROM table_name_28 WHERE venue = "as-salt" | CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR) | What was the result of the game held at the As-Salt venue? |
SELECT record FROM table_name_56 WHERE date = "may 17" | CREATE TABLE table_name_56 (record VARCHAR, date VARCHAR) | What was the team's record on May 17? |
SELECT zone FROM table_name_30 WHERE opponents = "mădălina gojnea monica niculescu" | CREATE TABLE table_name_30 (zone VARCHAR, opponents VARCHAR) | Which zone had mădălina gojnea monica niculescu as the opponent? |
SELECT against FROM table_name_94 WHERE opponents = "mădălina gojnea monica niculescu" | CREATE TABLE table_name_94 (against VARCHAR, opponents VARCHAR) | Who was against the opponents, mădălina gojnea monica niculescu? |
SELECT surface FROM table_name_7 WHERE opponents = "margit rüütel anett schutting" | CREATE TABLE table_name_7 (surface VARCHAR, opponents VARCHAR) | What was the surface on the game with margit rüütel anett schutting as the opponent? |
SELECT zone FROM table_name_64 WHERE against = "estonia" | CREATE TABLE table_name_64 (zone VARCHAR, against VARCHAR) | What is the zone of the game played against Estonia? |
SELECT high_rebounds FROM table_name_36 WHERE date = "february 24" | CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR) | Who had the high rebounds on February 24? |
SELECT location_attendance FROM table_name_49 WHERE date = "february 10" | CREATE TABLE table_name_49 (location_attendance VARCHAR, date VARCHAR) | On February 10, what was the location attendance? |
SELECT player FROM table_name_40 WHERE econ = "4.23" | CREATE TABLE table_name_40 (player VARCHAR, econ VARCHAR) | Tell me the player with econ of 4.23 |
SELECT runs FROM table_name_15 WHERE player = "b lee" | CREATE TABLE table_name_15 (runs VARCHAR, player VARCHAR) | Tell me the runs for b lee |
SELECT player FROM table_name_91 WHERE overs = "87.4" | CREATE TABLE table_name_91 (player VARCHAR, overs VARCHAR) | Tell me the player with overs of 87.4 |
SELECT runs FROM table_name_80 WHERE econ = "3.63" | CREATE TABLE table_name_80 (runs VARCHAR, econ VARCHAR) | Tell me the runs for econ of 3.63 |
SELECT wkts FROM table_name_13 WHERE econ = "4.23" | CREATE TABLE table_name_13 (wkts VARCHAR, econ VARCHAR) | Tell me the wkts for econ of 4.23 |
SELECT overs FROM table_name_66 WHERE mdns = "4" | CREATE TABLE table_name_66 (overs VARCHAR, mdns VARCHAR) | Tell me the overs for mdns of 4 |
SELECT home_team FROM table_name_43 WHERE away_team = "collingwood" | CREATE TABLE table_name_43 (home_team VARCHAR, away_team VARCHAR) | If collingwood is playing away, who played as the home team? |
SELECT away_team AS score FROM table_name_7 WHERE venue = "kardinia park" | CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR) | What was the away teams score when they played at kardinia park? |
SELECT MAX(crowd) FROM table_name_29 WHERE away_team = "carlton" | CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) | What's the highest turnout when carlton was playing as the away team? |
SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463 | CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER) | What away team played when the crowd was over 27,463 people? |
SELECT marriage FROM table_name_28 WHERE spouse = "antoinette jeanne yvonne boegner" | CREATE TABLE table_name_28 (marriage VARCHAR, spouse VARCHAR) | On waht date did Antoinette Jeanne Yvonne Boegner get married? |
SELECT MAX(crowd) FROM table_name_3 WHERE home_team = "north melbourne" | CREATE TABLE table_name_3 (crowd INTEGER, home_team VARCHAR) | What is the largest Crowd number for the Home team of North Melbourne? |
SELECT home_team FROM table_name_19 WHERE away_team = "south melbourne" | CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | What home team did South Melbourne play as the away team? |
SELECT home_team AS score FROM table_name_30 WHERE away_team = "hawthorn" | CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) | What did the home team score against the away team Hawthorn? |
SELECT AVG(crowd) FROM table_name_38 WHERE venue = "western oval" | CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR) | In the Western Oval venue, what is the average crowd? |
SELECT crowd FROM table_name_23 WHERE away_team = "richmond" | CREATE TABLE table_name_23 (crowd VARCHAR, away_team VARCHAR) | When Richmond is the away team, what is the crowd size? |
SELECT name FROM table_name_60 WHERE round = 8 | CREATE TABLE table_name_60 (name VARCHAR, round VARCHAR) | Who is the person from round 8? |
SELECT AVG(round) FROM table_name_48 WHERE school = "arizona" AND pick > 100 | CREATE TABLE table_name_48 (round INTEGER, school VARCHAR, pick VARCHAR) | What is the round for Arizona with a pick over 100? |
SELECT pick FROM table_name_66 WHERE position = "wide receiver" AND name = "johnny holloway" | CREATE TABLE table_name_66 (pick VARCHAR, position VARCHAR, name VARCHAR) | What pick had a wide receiver named johnny holloway? |
SELECT score FROM table_name_61 WHERE home_team = "saskatoon accelerators" | CREATE TABLE table_name_61 (score VARCHAR, home_team VARCHAR) | Which score has a Home Team of saskatoon accelerators? |
SELECT visiting_team FROM table_name_56 WHERE stadium = "servus centre" AND date = "march 7" | CREATE TABLE table_name_56 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR) | Which Visiting Team has a Stadium of servus centre on march 7? |
SELECT visiting_team FROM table_name_82 WHERE stadium = "servus centre" | CREATE TABLE table_name_82 (visiting_team VARCHAR, stadium VARCHAR) | Which Visiting Team has a Stadium of servus centre? |
SELECT COUNT(heavy_attacks) FROM table_name_29 WHERE luftflotte_2_sorties = 450 | CREATE TABLE table_name_29 (heavy_attacks VARCHAR, luftflotte_2_sorties VARCHAR) | How many heavy attacks did the 450 Luftflotte 2 conduct? |
SELECT time_retired FROM table_name_40 WHERE grid = 19 | CREATE TABLE table_name_40 (time_retired VARCHAR, grid VARCHAR) | What is the time/retired for grid 19? |
SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren" | CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR) | What is the grid total for bruce mclaren with over 73 laps? |
SELECT film FROM table_name_66 WHERE year = 1971 | CREATE TABLE table_name_66 (film VARCHAR, year VARCHAR) | What film was released in 1971? |
SELECT MAX(pick) FROM table_name_79 WHERE player = "steve bartalo" | CREATE TABLE table_name_79 (pick INTEGER, player VARCHAR) | When was steve bartalo picked? |
SELECT player FROM table_name_57 WHERE position = "cornerback" | CREATE TABLE table_name_57 (player VARCHAR, position VARCHAR) | What player is a cornerback? |
SELECT home_team FROM table_name_85 WHERE venue = "windy hill" | CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR) | Windy hill is the home to what team? |
SELECT competition FROM table_name_49 WHERE score = "1-5" | CREATE TABLE table_name_49 (competition VARCHAR, score VARCHAR) | What is the name of the competition with a score of 1-5? |
SELECT competition FROM table_name_37 WHERE opponents = "sv werder bremen" AND score = "1-2" | CREATE TABLE table_name_37 (competition VARCHAR, opponents VARCHAR, score VARCHAR) | What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2? |
SELECT reg_season FROM table_name_16 WHERE avg_attendance < 942 | CREATE TABLE table_name_16 (reg_season VARCHAR, avg_attendance INTEGER) | What regular season result had an average attendance less than 942? |
SELECT league FROM table_name_31 WHERE playoffs = "lost semifinal" | CREATE TABLE table_name_31 (league VARCHAR, playoffs VARCHAR) | Which league had a playoffs result of a lost semifinal? |
SELECT reg_season FROM table_name_67 WHERE avg_attendance > 3 OFFSET 170 | CREATE TABLE table_name_67 (reg_season VARCHAR, avg_attendance INTEGER) | What regular season result had an average attendance bigger than 3,170? |
SELECT COUNT(length__miles_) FROM table_name_95 WHERE east_or_north_terminus = "ne 2 in lincoln" | CREATE TABLE table_name_95 (length__miles_ VARCHAR, east_or_north_terminus VARCHAR) | what is the length (miles) when the east or north terminus is ne 2 in lincoln? |
SELECT MAX(length__miles_) FROM table_name_19 WHERE name = "l-56g" | CREATE TABLE table_name_19 (length__miles_ INTEGER, name VARCHAR) | what is the length (miles) when the name is l-56g? |
SELECT name FROM table_name_63 WHERE west_or_south_terminus = "ne 112 west of blue springs" | CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR) | what is the name when the west or south terminus is ne 112 west of blue springs? |
SELECT time_retired FROM table_name_38 WHERE constructor = "benetton - renault" AND driver = "johnny herbert" | CREATE TABLE table_name_38 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR) | What is the Time/Retired value for Driver Johnny Herbert with Constructor Benetton - Renault |
SELECT time_retired FROM table_name_50 WHERE laps = "66" AND constructor = "jordan - peugeot" AND grid = "5" | CREATE TABLE table_name_50 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR) | What is the Time/Retired value for constructor Jordan - Peugeot with 66 laps and grid value 5? |
SELECT time_retired FROM table_name_7 WHERE driver = "pedro diniz" | CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR) | What is the Time/Retired value of driver Pedro Diniz? |
SELECT driver FROM table_name_45 WHERE grid = "18" | CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) | Which driver has grid value of 18? |
SELECT constructor FROM table_name_54 WHERE grid = "5" | CREATE TABLE table_name_54 (constructor VARCHAR, grid VARCHAR) | What is the constructor with grid value 5? |
SELECT grid FROM table_name_57 WHERE time_retired = "accident" | CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR) | What is the grid value which has Time/Retired value of accident? |
SELECT leading_scorer FROM table_name_35 WHERE visitor = "trail blazers" | CREATE TABLE table_name_35 (leading_scorer VARCHAR, visitor VARCHAR) | Who was the leading scorer that was a visitor of the Trail Blazers? |
SELECT leading_scorer FROM table_name_51 WHERE home = "clippers" | CREATE TABLE table_name_51 (leading_scorer VARCHAR, home VARCHAR) | Who is the leading scorer when they were at home of the Clippers? |
SELECT visitor FROM table_name_38 WHERE date = "january 19, 2008" | CREATE TABLE table_name_38 (visitor VARCHAR, date VARCHAR) | Who was the visitor on January 19, 2008? |
SELECT score FROM table_name_54 WHERE visitor = "magic" AND home = "clippers" | CREATE TABLE table_name_54 (score VARCHAR, visitor VARCHAR, home VARCHAR) | What was the score when there was a visitor of Magic and at home with the Clippers? |
SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974 | CREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR) | How many games for keith j. miller, who debuted after 1974 with less than 1 goal? |
SELECT MAX(crowd) FROM table_name_62 WHERE away_team = "carlton" | CREATE TABLE table_name_62 (crowd INTEGER, away_team VARCHAR) | What is the highest crowd when carlton is the away team? |
SELECT MAX(crowd) FROM table_name_72 WHERE venue = "mcg" | CREATE TABLE table_name_72 (crowd INTEGER, venue VARCHAR) | What is the highest crowd at mcg? |
SELECT COUNT(grid) FROM table_name_87 WHERE time_retired = "+1.837" | CREATE TABLE table_name_87 (grid VARCHAR, time_retired VARCHAR) | How many grids are associated with a Time/Retired of +1.837? |
SELECT hometown FROM table_name_99 WHERE college = "ucla" | CREATE TABLE table_name_99 (hometown VARCHAR, college VARCHAR) | What is the hometown of the player that attends UCLA? |
SELECT college FROM table_name_32 WHERE school = "wichita heights high school" | CREATE TABLE table_name_32 (college VARCHAR, school VARCHAR) | What college is getting a player that attends Wichita Heights High School? |
SELECT hometown FROM table_name_83 WHERE player = "cody zeller" | CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR) | What is the hometown of Cody Zeller? |
SELECT player FROM table_name_83 WHERE hometown = "washington, in" | CREATE TABLE table_name_83 (player VARCHAR, hometown VARCHAR) | What player's hometown is Washington, IN? |
SELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.4 | CREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR) | What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4? |
SELECT SUM(seats_2001) FROM table_name_30 WHERE _percentage_2001 > 61.4 AND _percentage_2006 < 54.1 | CREATE TABLE table_name_30 (seats_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2006 VARCHAR) | When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there? |
SELECT MAX(seats_2006) FROM table_name_79 WHERE parties_and_voter_communities = "christian democratic union of germany" AND _percentage_2006 > 24.6 | CREATE TABLE table_name_79 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) | What is the highest number of Seats 2006 held by the Christian Democratic Union of Germany Party/Voter Community, with a %2006 higher than 24.6? |
SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = "bürger für groß-rohrheim" AND _percentage_2006 < 21.3 | CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) | What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? |
SELECT AVG(_percentage_2006) FROM table_name_52 WHERE _percentage_2001 > 62.5 | CREATE TABLE table_name_52 (_percentage_2006 INTEGER, _percentage_2001 INTEGER) | What is the %2006 when the %2001 was more than 62.5? |
SELECT SUM(losses) FROM table_name_56 WHERE team = "montreal hockey club" AND goals_against > 15 | CREATE TABLE table_name_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR) | What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against? |
SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0 | CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER) | What is the largest Goals For by a team that has more than 0 ties? |
SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5 | CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR) | How many ties do teams with 25 Goals For and more than 5 wins have? |
SELECT MIN(goals_against) FROM table_name_18 WHERE wins > 5 | CREATE TABLE table_name_18 (goals_against INTEGER, wins INTEGER) | What is the lowest Goals Against by a team with more than 5 wins? |
SELECT COUNT(ties) FROM table_name_98 WHERE losses < 3 | CREATE TABLE table_name_98 (ties VARCHAR, losses INTEGER) | What is the total number of ties a team with less than 3 losses have? |
SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april" | CREATE TABLE table_name_61 (race_name VARCHAR, winning_driver VARCHAR, date VARCHAR) | Tell me the race name where stirling moss won on 16 april |
SELECT report FROM table_name_25 WHERE circuit = "modena" | CREATE TABLE table_name_25 (report VARCHAR, circuit VARCHAR) | Tell me the report for circuit of modena |
SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april" | CREATE TABLE table_name_17 (race_name VARCHAR, constructor VARCHAR, date VARCHAR) | Tell me the race name for ferrari on 25 april |
SELECT constructor FROM table_name_22 WHERE race_name = "vii kanonloppet" | CREATE TABLE table_name_22 (constructor VARCHAR, race_name VARCHAR) | Name the constructor for vii kanonloppet |
SELECT opponent FROM table_name_55 WHERE date = "may 7" | CREATE TABLE table_name_55 (opponent VARCHAR, date VARCHAR) | Who is the opponent on May 7? |
SELECT away_team AS score FROM table_name_90 WHERE home_team = "carlton" | CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR) | When the Home team was Carlton, what was the Away team score? |
SELECT constructor FROM table_name_37 WHERE chassis = "fw20" | CREATE TABLE table_name_37 (constructor VARCHAR, chassis VARCHAR) | Who was the constructor for a FW20 chassis? |
SELECT engine_† FROM table_name_86 WHERE chassis = "mp4-13" AND driver = "david coulthard" | CREATE TABLE table_name_86 (engine_† VARCHAR, chassis VARCHAR, driver VARCHAR) | What engine did David Coulthard have in his mp4-13 chassis? |
SELECT date FROM table_name_86 WHERE outcome = "runner-up" AND opponent_in_the_final = "gilles simon" | CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR) | Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon? |
SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 2013" | CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR) | Who was the opponent on the 28 july 2013 final? |
SELECT date FROM table_name_11 WHERE score_in_the_final = "4–6, 3–6" | CREATE TABLE table_name_11 (date VARCHAR, score_in_the_final VARCHAR) | Which date has a Score in the final of 4–6, 3–6? |
SELECT prefix FROM table_name_75 WHERE formula = "rsor'" | CREATE TABLE table_name_75 (prefix VARCHAR, formula VARCHAR) | What is the prefix for the formula of Rsor'? |
SELECT group FROM table_name_66 WHERE formula = "rncs" | CREATE TABLE table_name_66 (group VARCHAR, formula VARCHAR) | Which group has the RNCS formula? |
SELECT formula FROM table_name_13 WHERE chemical_class = "thial" | CREATE TABLE table_name_13 (formula VARCHAR, chemical_class VARCHAR) | Which formula has a thial as a chemical class? |
SELECT suffix FROM table_name_17 WHERE prefix = "isothiocyanato- (-ncs)" | CREATE TABLE table_name_17 (suffix VARCHAR, prefix VARCHAR) | Which suffix has the prefix of isothiocyanato- (-ncs)? |
Subsets and Splits