answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT gold FROM table_name_97 WHERE bronze = "kim hyang-mi" | CREATE TABLE table_name_97 (gold VARCHAR, bronze VARCHAR) | Who won the gold when Kim Hyang-Mi won the bronze? |
SELECT MIN(year) FROM table_name_16 WHERE gold = "park jung-ah" | CREATE TABLE table_name_16 (year INTEGER, gold VARCHAR) | What was the earliest year that Park Jung-Ah won the gold? |
SELECT bronze FROM table_name_70 WHERE location = "doha" | CREATE TABLE table_name_70 (bronze VARCHAR, location VARCHAR) | Who won the bronze when the Asian Games were in Doha? |
SELECT SUM(attendance) FROM table_name_56 WHERE date = "november 29, 1953" | CREATE TABLE table_name_56 (attendance INTEGER, date VARCHAR) | What was the Attendance on November 29, 1953? |
SELECT nfl_team FROM table_name_30 WHERE player = "patrick collins" | CREATE TABLE table_name_30 (nfl_team VARCHAR, player VARCHAR) | Which NFL team picked Patrick Collins? |
SELECT nfl_team FROM table_name_19 WHERE position = "wide receiver" | CREATE TABLE table_name_19 (nfl_team VARCHAR, position VARCHAR) | Which NFL team picked a player for the Wide Receiver position? |
SELECT result FROM table_name_35 WHERE year > 2002 | CREATE TABLE table_name_35 (result VARCHAR, year INTEGER) | What result has a year after 2002? |
SELECT tournament FROM table_name_26 WHERE year < 2001 | CREATE TABLE table_name_26 (tournament VARCHAR, year INTEGER) | What tournament has a year prior to 2001? |
SELECT date FROM table_name_34 WHERE points > 47 AND visitor = "minnesota" | CREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR) | On what date does visiting team Minnesota score higher than 47 points? |
SELECT date FROM table_name_73 WHERE visitor = "toronto" AND points < 49 AND record = "18-17-7" | CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR) | What date does visitor team Toronto score less than 49 points and has record of 18-17-7? |
SELECT fleet_number FROM table_name_95 WHERE model = "gillig phantom 3096tb" | CREATE TABLE table_name_95 (fleet_number VARCHAR, model VARCHAR) | What is the fleet number for the model of Gillig Phantom 3096TB? |
SELECT width FROM table_name_38 WHERE year = "1970" | CREATE TABLE table_name_38 (width VARCHAR, year VARCHAR) | What is the width for the year of the 1970? |
SELECT year FROM table_name_22 WHERE fleet_number = "603" | CREATE TABLE table_name_22 (year VARCHAR, fleet_number VARCHAR) | Which year has a fleet number of 603? |
SELECT length FROM table_name_62 WHERE fleet_number = "501-506" | CREATE TABLE table_name_62 (length VARCHAR, fleet_number VARCHAR) | What is the length of fleet number 501-506? |
SELECT fleet_number FROM table_name_62 WHERE year = "19xx" | CREATE TABLE table_name_62 (fleet_number VARCHAR, year VARCHAR) | What is fleet number for the year of 19xx? |
SELECT fleet_number FROM table_name_23 WHERE model = "orion 01.507" | CREATE TABLE table_name_23 (fleet_number VARCHAR, model VARCHAR) | What is the fleet number of Model Orion 01.507? |
SELECT MAX(round) FROM table_name_78 WHERE pick < 261 AND position = "halfback" AND player = "ed smith" | CREATE TABLE table_name_78 (round INTEGER, player VARCHAR, pick VARCHAR, position VARCHAR) | What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback? |
SELECT MIN(round) FROM table_name_29 WHERE player = "ed smith" AND pick > 19 | CREATE TABLE table_name_29 (round INTEGER, player VARCHAR, pick VARCHAR) | What is the lowest round of Ed Smith, who had a pick lower than 19? |
SELECT player FROM table_name_4 WHERE round = 27 | CREATE TABLE table_name_4 (player VARCHAR, round VARCHAR) | Which player had a round of 27? |
SELECT position FROM table_name_17 WHERE round < 20 AND school_club_team = "washington" | CREATE TABLE table_name_17 (position VARCHAR, round VARCHAR, school_club_team VARCHAR) | What is the position of the player with a round less than 20 from the school/club Washington? |
SELECT record FROM table_name_43 WHERE location = "hemisfair arena" | CREATE TABLE table_name_43 (record VARCHAR, location VARCHAR) | Location of hemisfair arena had what record? |
SELECT MAX(game) FROM table_name_44 WHERE record = "20β4" | CREATE TABLE table_name_44 (game INTEGER, record VARCHAR) | Record of 20β4 involved what highest game? |
SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns" | CREATE TABLE table_name_52 (game INTEGER, opponent VARCHAR) | Opponent of @ phoenix suns had what sum of game? |
SELECT record FROM table_name_68 WHERE score = "122β105" | CREATE TABLE table_name_68 (record VARCHAR, score VARCHAR) | Score of 122β105 had what record? |
SELECT opponents_in_the_final FROM table_name_9 WHERE partner = "simon aspelin" | CREATE TABLE table_name_9 (opponents_in_the_final VARCHAR, partner VARCHAR) | In the final, who are the opponents of partner Simon Aspelin? |
SELECT surface FROM table_name_35 WHERE date = "26 february 2006" | CREATE TABLE table_name_35 (surface VARCHAR, date VARCHAR) | For the tournament played on 26 February 2006, what surface was used? |
SELECT date FROM table_name_78 WHERE record = "58β10" | CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR) | Which Date has a Record of 58β10? |
SELECT date FROM table_name_58 WHERE score = "106β112" | CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR) | Which Date has a Score of 106β112? |
SELECT second FROM table_name_86 WHERE skip = "martynas norkus" | CREATE TABLE table_name_86 (second VARCHAR, skip VARCHAR) | Who was second when Martynas Norkus was the skip? |
SELECT second FROM table_name_2 WHERE lead = "ilian kirilov" | CREATE TABLE table_name_2 (second VARCHAR, lead VARCHAR) | Who was the second when Ilian Kirilov was the lead? |
SELECT lead FROM table_name_11 WHERE skip = "jamie meikle" | CREATE TABLE table_name_11 (lead VARCHAR, skip VARCHAR) | Who was the lead when Jamie Meikle was the skip? |
SELECT lead FROM table_name_10 WHERE skip = "ritvars gulbis" | CREATE TABLE table_name_10 (lead VARCHAR, skip VARCHAR) | Who was the lead when Ritvars Gulbis was the skip? |
SELECT third FROM table_name_60 WHERE nation = "england" | CREATE TABLE table_name_60 (third VARCHAR, nation VARCHAR) | Who came in third in England? |
SELECT nation FROM table_name_19 WHERE third = "darko sovran" | CREATE TABLE table_name_19 (nation VARCHAR, third VARCHAR) | In what nation did Darko Sovran place third? |
SELECT tournament FROM table_name_62 WHERE score = "w/o" AND date = "november 5, 2007" | CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR) | What is the tournament with a w/o score on November 5, 2007? |
SELECT surface FROM table_name_94 WHERE tournament = "eckental" AND score = "w/o" | CREATE TABLE table_name_94 (surface VARCHAR, tournament VARCHAR, score VARCHAR) | What is the surface of eckental tournament with a w/o score? |
SELECT tournament FROM table_name_64 WHERE surface = "hard" AND opponent = "ruben de kleijn" | CREATE TABLE table_name_64 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | What is the tournament with a hard surface and Ruben de Kleijn as the opponent? |
SELECT score FROM table_name_90 WHERE surface = "carpet" AND date = "november 5, 2007" | CREATE TABLE table_name_90 (score VARCHAR, surface VARCHAR, date VARCHAR) | What is the score of the tournament on November 5, 2007 with a carpet surface? |
SELECT surface FROM table_name_37 WHERE opponent = "sascha kloer" | CREATE TABLE table_name_37 (surface VARCHAR, opponent VARCHAR) | What is the surface of the tournament with Sascha Kloer as the opponent? |
SELECT team FROM table_name_10 WHERE location = "gomel" | CREATE TABLE table_name_10 (team VARCHAR, location VARCHAR) | what team scored in gomel |
SELECT AVG(conceded) FROM table_name_68 WHERE position > 8 AND wins > 2 | CREATE TABLE table_name_68 (conceded INTEGER, position VARCHAR, wins VARCHAR) | What is the average conceded number of the team with a position lower than 8 and more than 2 wins? |
SELECT AVG(scored) FROM table_name_30 WHERE draws < 6 AND team = "guaranΓ" AND losses < 5 | CREATE TABLE table_name_30 (scored INTEGER, losses VARCHAR, draws VARCHAR, team VARCHAR) | What is the averaged scored number of team guaranΓ, which has less than 6 draws and less than 5 losses? |
SELECT COUNT(scored) FROM table_name_72 WHERE position > 10 | CREATE TABLE table_name_72 (scored VARCHAR, position INTEGER) | What is the total number scored of the team positioned lower than 10? |
SELECT MIN(wins) FROM table_name_32 WHERE scored < 24 AND conceded = 27 AND played > 18 | CREATE TABLE table_name_32 (wins INTEGER, played VARCHAR, scored VARCHAR, conceded VARCHAR) | What is the lowest number of wins of the team with less than 24 scored, 27 conceded, and more than 18 played? |
SELECT MIN(points) FROM table_name_73 WHERE losses = 2 AND position > 1 | CREATE TABLE table_name_73 (points INTEGER, losses VARCHAR, position VARCHAR) | What is the lowest number of points of the team with 2 losses and a lower than 1 position? |
SELECT intercontinental_cup_1993 FROM table_name_23 WHERE supercopa_sudamericana_1993 = "round of 16" | CREATE TABLE table_name_23 (intercontinental_cup_1993 VARCHAR, supercopa_sudamericana_1993 VARCHAR) | What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? |
SELECT MIN(november) FROM table_name_69 WHERE game > 22 AND opponent = "toronto maple leafs" | CREATE TABLE table_name_69 (november INTEGER, game VARCHAR, opponent VARCHAR) | What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent? |
SELECT family_friendly FROM table_name_8 WHERE decade = "1970s" AND genre = "punk" | CREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR) | What is the family friendly status of the punk genre song from the 1970s? |
SELECT artist FROM table_name_7 WHERE genre = "rock" | CREATE TABLE table_name_7 (artist VARCHAR, genre VARCHAR) | Who is the artist of the rock song? |
SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 | CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER) | What is the highest number of bronze medals for nations with under 0 golds? |
SELECT MIN(points) FROM table_name_53 WHERE player = "stuart" AND extra_points < 0 | CREATE TABLE table_name_53 (points INTEGER, player VARCHAR, extra_points VARCHAR) | How many points did Stuart have when he had 0 extra points? |
SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2 | CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR) | Who had the lowest field goals but had 10 points and more than 2 touchdowns? |
SELECT SUM(points) FROM table_name_80 WHERE player = "stuart" AND touchdowns < 1 | CREATE TABLE table_name_80 (points INTEGER, player VARCHAR, touchdowns VARCHAR) | How many points did Stuart have when he had less than 1 touchdown? |
SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0 | CREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR) | Who had a points average with 0 extra points and 0 field goals? |
SELECT result FROM table_name_38 WHERE event = "golden reel awards" | CREATE TABLE table_name_38 (result VARCHAR, event VARCHAR) | What was the result in the Golden Reel Awards? |
SELECT attendance FROM table_name_32 WHERE record = "16β29" | CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR) | Record of 16β29 is how many attendance? |
SELECT score FROM table_name_5 WHERE loss = "peavy (4β3)" | CREATE TABLE table_name_5 (score VARCHAR, loss VARCHAR) | Loss of peavy (4β3) is what score? |
SELECT SUM(attendance) FROM table_name_21 WHERE score = "3β2" AND opponent = "reds" | CREATE TABLE table_name_21 (attendance INTEGER, score VARCHAR, opponent VARCHAR) | Score of 3β2, and a Opponent of reds had what sum of attendance? |
SELECT record FROM table_name_96 WHERE score = "6β4" AND opponent = "@ marlins" | CREATE TABLE table_name_96 (record VARCHAR, score VARCHAR, opponent VARCHAR) | Score of 6β4, and a Opponent of @ marlins had what record? |
SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11 | CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR) | Which Cuts made has a Tournament of totals, and Wins smaller than 11? |
SELECT SUM(top_25) FROM table_name_3 WHERE top_5 < 0 | CREATE TABLE table_name_3 (top_25 INTEGER, top_5 INTEGER) | Which Top-25 has a Top-5 smaller than 0? |
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11 | CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR) | Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11? |
SELECT MAX(top_5) FROM table_name_47 WHERE wins = 0 AND events > 6 | CREATE TABLE table_name_47 (top_5 INTEGER, wins VARCHAR, events VARCHAR) | Which Top-5 is the highest one that has Wins of 0, and Events larger than 6? |
SELECT MIN(top_5) FROM table_name_88 WHERE cuts_made = 10 AND events > 10 | CREATE TABLE table_name_88 (top_5 INTEGER, cuts_made VARCHAR, events VARCHAR) | Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10? |
SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2 | CREATE TABLE table_name_39 (events INTEGER, top_10 VARCHAR, wins VARCHAR) | Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? |
SELECT score FROM table_name_29 WHERE surface = "clay" AND tournament = "barcelona" | CREATE TABLE table_name_29 (score VARCHAR, surface VARCHAR, tournament VARCHAR) | When the surface is clay, and the tournament of barcelona what is the score? |
SELECT surface FROM table_name_51 WHERE outcome = "winner" AND opponent = "judith wiesner" | CREATE TABLE table_name_51 (surface VARCHAR, outcome VARCHAR, opponent VARCHAR) | What was the surface when the opponent was judith wiesner, and the outcome was winner? |
SELECT opponent FROM table_name_22 WHERE tournament = "rio de janeiro" | CREATE TABLE table_name_22 (opponent VARCHAR, tournament VARCHAR) | What is the opponent for the tournament of rio de janeiro? |
SELECT opponent FROM table_name_25 WHERE outcome = "runner-up" AND date = "19 september 1994" | CREATE TABLE table_name_25 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) | What is the opponent with the outcome of runner-up with a date of 19 september 1994? |
SELECT opponent FROM table_name_97 WHERE tournament = "taranto" | CREATE TABLE table_name_97 (opponent VARCHAR, tournament VARCHAR) | What was the opponent for the tournament of taranto? |
SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz" | CREATE TABLE table_name_45 (fastest_lap VARCHAR, race_winner VARCHAR) | Who had the fastest lap where Joan Lascorz was the winner? |
SELECT race_winner FROM table_name_1 WHERE round = "europe" | CREATE TABLE table_name_1 (race_winner VARCHAR, round VARCHAR) | Who won the round in Europe? |
SELECT COUNT(game) FROM table_name_16 WHERE score = "3β0" AND january > 12 | CREATE TABLE table_name_16 (game VARCHAR, score VARCHAR, january VARCHAR) | How many games have a Score of 3β0, and a January larger than 12? |
SELECT opponent FROM table_name_77 WHERE january > 8 AND game < 48 AND score = "5β3" | CREATE TABLE table_name_77 (opponent VARCHAR, score VARCHAR, january VARCHAR, game VARCHAR) | Which Opponent has a January larger than 8, and a Game smaller than 48, and a Score of 5β3? |
SELECT MAX(game) FROM table_name_51 WHERE january = 28 | CREATE TABLE table_name_51 (game INTEGER, january VARCHAR) | Which Game is the highest that has a January of 28? |
SELECT score FROM table_name_19 WHERE game > 47 AND january < 25 | CREATE TABLE table_name_19 (score VARCHAR, game VARCHAR, january VARCHAR) | Which Score has a Game larger than 47, and a January smaller than 25? |
SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm" | CREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR) | What stroke has a max power of 109 ps(80kw)@4000 rpm? |
SELECT cr FROM table_name_60 WHERE vehicle = "nissan primera p12 nissan almera n16" | CREATE TABLE table_name_60 (cr VARCHAR, vehicle VARCHAR) | The nissan primera p12 nissan almera n16 has what C.R.? |
SELECT displacement FROM table_name_22 WHERE code = "yd22ddt" | CREATE TABLE table_name_22 (displacement VARCHAR, code VARCHAR) | What displacement has the code yd22ddt? |
SELECT code FROM table_name_97 WHERE cr = "16.7:1" | CREATE TABLE table_name_97 (code VARCHAR, cr VARCHAR) | What code has a C.R of 16.7:1? |
SELECT outcome FROM table_name_61 WHERE date = "20 november 2011" | CREATE TABLE table_name_61 (outcome VARCHAR, date VARCHAR) | What Outcome happened on a Date that was 20 november 2011? |
SELECT away_team FROM table_name_4 WHERE score = "0β3" | CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR) | Which Away team has a Score of 0β3? |
SELECT attendance FROM table_name_63 WHERE tie_no = "5" | CREATE TABLE table_name_63 (attendance VARCHAR, tie_no VARCHAR) | Which Attendance has a Tie number of 5? |
SELECT score FROM table_name_74 WHERE attendance = "23 january 1999" AND tie_no = "6" | CREATE TABLE table_name_74 (score VARCHAR, attendance VARCHAR, tie_no VARCHAR) | Which Score has an Attendance of 23 january 1999, and a Tie # of 6? |
SELECT tie_no FROM table_name_16 WHERE attendance = "54,591" | CREATE TABLE table_name_16 (tie_no VARCHAR, attendance VARCHAR) | Which Tie #has an Attendance of 54,591? |
SELECT home_team FROM table_name_68 WHERE score = "1β1" AND away_team = "tottenham hotspur" | CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) | Which Home team has a Score of 1β1, and an Away team of tottenham hotspur? |
SELECT attendance FROM table_name_25 WHERE tie_no = "15" | CREATE TABLE table_name_25 (attendance VARCHAR, tie_no VARCHAR) | Which Attendance has a Tie # of 15? |
SELECT COUNT(year) FROM table_name_80 WHERE position = "11th" | CREATE TABLE table_name_80 (year VARCHAR, position VARCHAR) | In what Year was the Position 11th? |
SELECT competition FROM table_name_46 WHERE venue = "rome, italy" | CREATE TABLE table_name_46 (competition VARCHAR, venue VARCHAR) | What was the name of the Competition in Rome, Italy? |
SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th" | CREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR) | What Notes after 1983 have a Position of 18th? |
SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea" | CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR) | After 1983, what was the Position in Seoul, South Korea? |
SELECT COUNT(gold) FROM table_name_57 WHERE rank = "1" AND total < 2 | CREATE TABLE table_name_57 (gold VARCHAR, rank VARCHAR, total VARCHAR) | How many Gold medals for the country with a Rank of 1 and less than 2 Total medals? |
SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2 | CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | How many Gold medals does the country with 2 Silver and more than 2 Bronze have? |
SELECT age_as_of_1_february_2014 FROM table_name_18 WHERE name = "dorothy peel" | CREATE TABLE table_name_18 (age_as_of_1_february_2014 VARCHAR, name VARCHAR) | What is the Age of dorothy Peel as of 1 February 2014 ? |
SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = "111years, 358days" | CREATE TABLE table_name_86 (name VARCHAR, age_as_of_1_february_2014 VARCHAR) | Who is 111years, 358days Age as of 1 February 2014? |
SELECT AVG(capacity) FROM table_name_85 WHERE city = "london" AND stadium = "queen's club" | CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR, stadium VARCHAR) | Which Capacity has a City of london, and a Stadium of queen's club? |
SELECT AVG(rank) FROM table_name_38 WHERE name = "thomas morgenstern" AND points > 368.9 | CREATE TABLE table_name_38 (rank INTEGER, name VARCHAR, points VARCHAR) | Which Rank has a Name of thomas morgenstern, and Points larger than 368.9? |
SELECT MIN(total) FROM table_name_64 WHERE bronze > 1 AND gold > 8 AND silver < 10 | CREATE TABLE table_name_64 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | What is the lowest total for bronzes over 1, golds over 8, and fewer than 10 silvers? |
SELECT MAX(silver) FROM table_name_88 WHERE rank > 7 | CREATE TABLE table_name_88 (silver INTEGER, rank INTEGER) | What is the highest number of silvers for ranks over 7? |
SELECT opponent FROM table_name_51 WHERE record = "64-78" | CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR) | Who was the opponent when the record recorded was 64-78? |
Subsets and Splits