answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT race_winner FROM table_name_48 WHERE event_name = "southern illinois 100" | CREATE TABLE table_name_48 (race_winner VARCHAR, event_name VARCHAR) | Who was the Race Winner of the Southern Illinois 100? |
SELECT track FROM table_name_64 WHERE event_name = "daytona arca 200" | CREATE TABLE table_name_64 (track VARCHAR, event_name VARCHAR) | At which track did the event Daytona Arca 200 take place? |
SELECT event_name FROM table_name_38 WHERE race_winner = "ken schrader" AND track = "toledo speedway" | CREATE TABLE table_name_38 (event_name VARCHAR, race_winner VARCHAR, track VARCHAR) | At which event was Ken Schrader the Race Winner at the Toledo Speedway? |
SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200" | CREATE TABLE table_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR) | At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? |
SELECT date FROM table_name_75 WHERE race_winner = "steve wallace" AND track = "kentucky speedway" | CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR) | Steve Wallace was a Race Winner at the Kentucky Speedway on what date? |
SELECT MIN(silver) FROM table_name_41 WHERE rank < 1 | CREATE TABLE table_name_41 (silver INTEGER, rank INTEGER) | What is the lowest number of silver owned by a nation that is not ranked number 1? |
SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen" | CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR) | What is Driver Kimi Räikkönen's number on the grid? |
SELECT driver FROM table_name_56 WHERE part_1 = "1:13.306" | CREATE TABLE table_name_56 (driver VARCHAR, part_1 VARCHAR) | Which driver had a Part 1 time of 1:13.306? |
SELECT current_name FROM table_name_91 WHERE year_first_opened > 2011 | CREATE TABLE table_name_91 (current_name VARCHAR, year_first_opened INTEGER) | What ride opened after 2011? |
SELECT result FROM table_name_97 WHERE attendance = "63,443" | CREATE TABLE table_name_97 (result VARCHAR, attendance VARCHAR) | Which stadium can hold 63,443 people? |
SELECT COUNT(week) FROM table_name_5 WHERE date = "bye" | CREATE TABLE table_name_5 (week VARCHAR, date VARCHAR) | Tell me the number of weeks for bye |
SELECT COUNT(week) FROM table_name_83 WHERE date = "december 5, 2005" | CREATE TABLE table_name_83 (week VARCHAR, date VARCHAR) | Tell me the number of weeks for december 5, 2005 |
SELECT start_time FROM table_name_48 WHERE date = "december 24, 2005" | CREATE TABLE table_name_48 (start_time VARCHAR, date VARCHAR) | Tell me the start time for december 24, 2005 |
SELECT result FROM table_name_90 WHERE venue = "lincoln financial field" AND date = "december 11, 2005" | CREATE TABLE table_name_90 (result VARCHAR, venue VARCHAR, date VARCHAR) | Tell me the result for lincoln financial field december 11, 2005 |
SELECT COUNT(year) FROM table_name_4 WHERE wins < 2 AND class = "50cc" AND points = 15 | CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR) | Tell me the total number of years for wins less than 2 and class of 50cc with points of 15 |
SELECT year FROM table_name_55 WHERE class = "125cc" | CREATE TABLE table_name_55 (year VARCHAR, class VARCHAR) | Tell me the year for class of 125cc |
SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "8th" | CREATE TABLE table_name_47 (wins INTEGER, class VARCHAR, rank VARCHAR) | Tell me the average wins for class of 50cc and rank of 8th |
SELECT MIN(wins) FROM table_name_9 WHERE class = "50cc" AND team = "tomos" AND year < 1969 | CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) | Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969 |
SELECT MAX(bronze) FROM table_name_65 WHERE silver > 41 | CREATE TABLE table_name_65 (bronze INTEGER, silver INTEGER) | Which country has the highest bronze amount and a silver amount bigger than 41? |
SELECT MIN(total) FROM table_name_89 WHERE silver > 2 AND nation = "russia" AND gold < 4 | CREATE TABLE table_name_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | What is the lowest amount of medals Russia has if they have more than 2 silver medals and less than 4 gold medals? |
SELECT points FROM table_name_90 WHERE year = 2005 | CREATE TABLE table_name_90 (points VARCHAR, year VARCHAR) | How many points did the 2005 1st place team receive? |
SELECT engine FROM table_name_45 WHERE chassis = "lola b02/00" AND rank = "1st" | CREATE TABLE table_name_45 (engine VARCHAR, chassis VARCHAR, rank VARCHAR) | What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st? |
SELECT COUNT(year) FROM table_name_86 WHERE team = "newman/haas racing" AND rank = "1st" | CREATE TABLE table_name_86 (year VARCHAR, team VARCHAR, rank VARCHAR) | How many years did Team Newman/Haas Racing receive a 1st place ranking? |
SELECT SUM(place) FROM table_name_52 WHERE points = 35 | CREATE TABLE table_name_52 (place INTEGER, points VARCHAR) | What is the aggregate of place for points being 35? |
SELECT MIN(points) FROM table_name_86 WHERE place = 5 | CREATE TABLE table_name_86 (points INTEGER, place VARCHAR) | Name the fewest points of 5 place |
SELECT COUNT(place) FROM table_name_72 WHERE artist = "vicky gordon" AND points > 23 | CREATE TABLE table_name_72 (place VARCHAR, artist VARCHAR, points VARCHAR) | Name the total number of places for vicky gordon and points more than 23 |
SELECT opponent FROM table_name_74 WHERE attendance = "68,264" | CREATE TABLE table_name_74 (opponent VARCHAR, attendance VARCHAR) | Tell me the opponent for attendance of 68,264 |
SELECT SUM(week) FROM table_name_15 WHERE result = "l 24–21" | CREATE TABLE table_name_15 (week INTEGER, result VARCHAR) | Tell me the sum of week for result of l 24–21 |
SELECT result FROM table_name_32 WHERE attendance = "54,462" | CREATE TABLE table_name_32 (result VARCHAR, attendance VARCHAR) | Tell me the result for attendance of 54,462 |
SELECT opponent FROM table_name_49 WHERE attendance = "53,899" | CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) | Tell me the opponent for attendance of 53,899 |
SELECT pts_[b_] FROM table_name_82 WHERE reb_[b_] > 636 AND no_[a_] = "50" | CREATE TABLE table_name_82 (pts_ VARCHAR, b_ VARCHAR, reb_ VARCHAR, no_ VARCHAR, a_ VARCHAR) | What is the points that is more than 636 and has a value of 50? |
SELECT AVG(reb_)[b_] FROM table_name_64 WHERE no_[a_] = "8" AND ast_[b_] < 57 | CREATE TABLE table_name_64 (b_ VARCHAR, reb_ INTEGER, no_ VARCHAR, a_ VARCHAR, ast_ VARCHAR) | Which rebound was 8 and has and ast that was less than 57? |
SELECT country FROM table_name_84 WHERE icao = "tjig" | CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR) | Tell me the country for ICAO of tjig |
SELECT country FROM table_name_62 WHERE city = "san juan" | CREATE TABLE table_name_62 (country VARCHAR, city VARCHAR) | Tell me the country for san juan |
SELECT country FROM table_name_14 WHERE icao = "tjvq" | CREATE TABLE table_name_14 (country VARCHAR, icao VARCHAR) | Tell me the country for ICAO tjvq |
SELECT iata FROM table_name_2 WHERE icao = "tjrv" | CREATE TABLE table_name_2 (iata VARCHAR, icao VARCHAR) | Tell me the iata for icao of tjrv |
SELECT icao FROM table_name_76 WHERE city = "isla grande" | CREATE TABLE table_name_76 (icao VARCHAR, city VARCHAR) | Tell me the icao of isla grande |
SELECT position FROM table_name_35 WHERE mls_team = "colorado rapids" AND pick__number > 15 | CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR, pick__number VARCHAR) | What position does the Colorado Rapids pick after 15 play? |
SELECT event FROM table_name_16 WHERE acts = "106 bands" | CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR) | I want to know the events for 106 bands |
SELECT nomination FROM table_name_17 WHERE country = "ukraine" | CREATE TABLE table_name_17 (nomination VARCHAR, country VARCHAR) | Tell me the nomination for ukraine |
SELECT nomination FROM table_name_12 WHERE director = "goran paskaljevic" | CREATE TABLE table_name_12 (nomination VARCHAR, director VARCHAR) | Tell me the nomination for goran paskaljevic |
SELECT AVG(fa_cup_apps) FROM table_name_47 WHERE league_goals = 1 AND total_goals < 1 | CREATE TABLE table_name_47 (fa_cup_apps INTEGER, league_goals VARCHAR, total_goals VARCHAR) | Which FA Cup apps has league goals of 1 with total goals less than 1? |
SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9 | CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) | What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? |
SELECT league_goals FROM table_name_39 WHERE fa_cup_apps = 2 | CREATE TABLE table_name_39 (league_goals VARCHAR, fa_cup_apps VARCHAR) | Which league goals has FA cup apps of 2? |
SELECT COUNT(fa_cup_apps) FROM table_name_50 WHERE total_apps > 12 AND league_apps > 38 AND fa_cup_goals > 1 | CREATE TABLE table_name_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR) | What FA cup apps has a total larger than 12 and league apps larger than 38, and FA Cup goals larger than 1? |
SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND week > 13 | CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR, week VARCHAR) | What was the total attendance on December 14, 1975 after week 13? |
SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2 | CREATE TABLE table_name_11 (total INTEGER, silver VARCHAR, rank VARCHAR, gold VARCHAR) | What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2? |
SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 2 | CREATE TABLE table_name_70 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? |
SELECT AVG(bronze) FROM table_name_18 WHERE silver = 0 AND total < 1 | CREATE TABLE table_name_18 (bronze INTEGER, silver VARCHAR, total VARCHAR) | What is the average value of Bronze when silver is 0 and the total is less than 1? |
SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 1 | CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1? |
SELECT COUNT(bronze) FROM table_name_9 WHERE gold < 1 AND rank > 15 AND total > 1 | CREATE TABLE table_name_9 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) | How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1? |
SELECT position FROM table_name_67 WHERE pick = "234" | CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR) | Name the position of pick 234 |
SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev" | CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR) | Name the team of vitali yeremeyev |
SELECT result FROM table_name_98 WHERE date = "2007-09-29" | CREATE TABLE table_name_98 (result VARCHAR, date VARCHAR) | Tell me the result for 2007-09-29 |
SELECT COUNT(week) FROM table_name_40 WHERE attendance = "64,116" | CREATE TABLE table_name_40 (week VARCHAR, attendance VARCHAR) | How many weeks have an attendance of 64,116? |
SELECT date FROM table_name_42 WHERE week > 14 | CREATE TABLE table_name_42 (date VARCHAR, week INTEGER) | Which date has a week larger than 14? |
SELECT venue FROM table_name_29 WHERE week < 2 | CREATE TABLE table_name_29 (venue VARCHAR, week INTEGER) | Which venue has a week smaller than 2? |
SELECT date FROM table_name_28 WHERE event = "metallica: escape from the studio" | CREATE TABLE table_name_28 (date VARCHAR, event VARCHAR) | When was the Metallica: Escape from the Studio show? |
SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands" | CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR) | When is the Monsters of Rock show with 12 bands? |
SELECT result FROM table_name_22 WHERE date = "15 july" | CREATE TABLE table_name_22 (result VARCHAR, date VARCHAR) | Tell me the result for 15 july |
SELECT no_range FROM table_name_58 WHERE year_built__converted * _ = "1965-66" | CREATE TABLE table_name_58 (no_range VARCHAR, year_built__converted VARCHAR, _ VARCHAR) | Tell me the number range for 1965-66 |
SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983 | CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR) | Tell me the year built for withdrawn of 1983 |
SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = "10" | CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR) | Tell me the year built for number built of 10 |
SELECT result FROM table_name_61 WHERE date = "2008-12-23" | CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR) | Tell me the result for 2008-12-23 |
SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role" | CREATE TABLE table_name_73 (director VARCHAR, nomination VARCHAR) | Tell me the director nominated for best actor in a leading role |
SELECT nomination FROM table_name_41 WHERE film_name = "peresohla zemlia" | CREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR) | Tell me the nomination for peresohla zemlia |
SELECT AVG(laps) FROM table_name_45 WHERE class = "gt" | CREATE TABLE table_name_45 (laps INTEGER, class VARCHAR) | What are the average laps driven in the GT class? |
SELECT tsongas__d_ FROM table_name_45 WHERE date = "may 22, 2007" | CREATE TABLE table_name_45 (tsongas__d_ VARCHAR, date VARCHAR) | I want the tsongas of may 22, 2007 |
SELECT venue FROM table_name_7 WHERE winner = "nevada" AND year > 2004 | CREATE TABLE table_name_7 (venue VARCHAR, winner VARCHAR, year VARCHAR) | Tell me the venue for winner of nevada and year more than 2004 |
SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium" | CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR) | What date is the 1:00 pm game at arrowhead stadium? |
SELECT game_site FROM table_name_2 WHERE time___et__ = "7:00 pm" | CREATE TABLE table_name_2 (game_site VARCHAR, time___et__ VARCHAR) | Where will the game at (ET) of 7:00 pm be at? |
SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514" | CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR) | Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? |
SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan" | CREATE TABLE table_name_98 (location VARCHAR, result VARCHAR, date VARCHAR) | At what location was there a loss on 20 jan? |
SELECT venue FROM table_name_39 WHERE record = "2-7" | CREATE TABLE table_name_39 (venue VARCHAR, record VARCHAR) | Tell me the venue for record of 2-7 |
SELECT result FROM table_name_77 WHERE opponent = "green bay packers" | CREATE TABLE table_name_77 (result VARCHAR, opponent VARCHAR) | Tell me the result for green bay packers |
SELECT opponent FROM table_name_52 WHERE result = "w 31-21" | CREATE TABLE table_name_52 (opponent VARCHAR, result VARCHAR) | Tell mem the opponent for result of w 31-21 |
SELECT speed FROM table_name_44 WHERE rider = "peter williams" | CREATE TABLE table_name_44 (speed VARCHAR, rider VARCHAR) | What is the average speed of rider Peter Williams? |
SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4 | CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR) | What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? |
SELECT score FROM table_name_9 WHERE year = "1969" | CREATE TABLE table_name_9 (score VARCHAR, year VARCHAR) | What was the score in 1969? |
SELECT final_round FROM table_name_1 WHERE year = "1975" | CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR) | In 1975, what was the final round? |
SELECT event_place FROM table_name_61 WHERE time = "61:32" | CREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR) | Where did someone run a 61:32 |
SELECT time FROM table_name_95 WHERE name = "derek graham" | CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR) | What was Derek Graham's time? |
SELECT event_place FROM table_name_25 WHERE time = "58:33" | CREATE TABLE table_name_25 (event_place VARCHAR, time VARCHAR) | Where did someone run a 58:33? |
SELECT player FROM table_name_97 WHERE pick__number < 29 AND mls_team = "chicago fire" | CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR) | Tell me the player for pick number less than 29 and mls team of chicago fire |
SELECT opponents FROM table_name_21 WHERE partner = "yvonne meusburger" | CREATE TABLE table_name_21 (opponents VARCHAR, partner VARCHAR) | Tell me the opponents for partner of yvonne meusburger |
SELECT date FROM table_name_46 WHERE opponents = "raffaella bindi biljana pawlowa-dimitrova" | CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR) | Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova |
SELECT MAX(time) FROM table_name_48 WHERE heat_rank = 8 AND lane > 2 | CREATE TABLE table_name_48 (time INTEGER, heat_rank VARCHAR, lane VARCHAR) | Tell me the highest time for heat rank of 8 and lane more than 2 |
SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 6 | CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR) | Tell me the least time for apostolos tsagkarakis for lane less than 6 |
SELECT method FROM table_name_28 WHERE event = "pride 33" | CREATE TABLE table_name_28 (method VARCHAR, event VARCHAR) | Tell me the method for pride 33 |
SELECT MIN(round) FROM table_name_97 WHERE event = "total combat 15" | CREATE TABLE table_name_97 (round INTEGER, event VARCHAR) | Tell me the lowest round for total combat 15 |
SELECT week FROM table_name_34 WHERE opponent = "pittsburgh steelers" | CREATE TABLE table_name_34 (week VARCHAR, opponent VARCHAR) | Tell me the week for pittsburgh steelers opponent |
SELECT week FROM table_name_19 WHERE record = "0-1" | CREATE TABLE table_name_19 (week VARCHAR, record VARCHAR) | Tell me the week for record of 0-1 |
SELECT time FROM table_name_9 WHERE opponent = "buffalo bills" | CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR) | Tell me the time for buffalo bills |
SELECT record FROM table_name_87 WHERE week = "hf" | CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR) | Tell me thee record for week of hf |
SELECT game_site FROM table_name_98 WHERE week = "1" | CREATE TABLE table_name_98 (game_site VARCHAR, week VARCHAR) | Tell me the game site for week of 1 |
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying" | CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR) | What was the result of the 1990 world cup qualifying competition? |
SELECT score FROM table_name_92 WHERE venue = "torrance, california" | CREATE TABLE table_name_92 (score VARCHAR, venue VARCHAR) | What was the Score of the match in Torrance, California? |
SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013" | CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR) | Tell me the score for international friendly 17 august 2013 |
SELECT position FROM table_name_84 WHERE mls_team = "metrostars" | CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR) | What position did the MLS team metrostars pick? |
SELECT mls_team FROM table_name_97 WHERE affiliation = "yale university" | CREATE TABLE table_name_97 (mls_team VARCHAR, affiliation VARCHAR) | What MLS team is affiliated with yale university? |
Subsets and Splits