question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
What club had over 0 goals in 2011?
CREATE TABLE table_name_40 (club VARCHAR, goals VARCHAR, season VARCHAR)
{ "SQL_Query": "SELECT club FROM table_name_40 WHERE goals > 0 AND season = \"2011\"" }
What team drove a Dodge vehicle?
CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR)
{ "SQL_Query": "SELECT team FROM table_name_27 WHERE make = \"dodge\"" }
What was Stacy Compton's position?
CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)
{ "SQL_Query": "SELECT pos FROM table_name_31 WHERE driver = \"stacy compton\"" }
What was the average position of car number 59?
CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR)
{ "SQL_Query": "SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59" }
How much was the loss of April 25?
CREATE TABLE table_name_51 (loss VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT loss FROM table_name_51 WHERE date = \"april 25\"" }
What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2?
CREATE TABLE table_name_76 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_76 WHERE bronze < 8 AND silver = 3 AND rank < 2" }
What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8" }
What is the smallest silver from Vietnam?
CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR)
{ "SQL_Query": "SELECT MIN(silver) FROM table_name_7 WHERE nation = \"vietnam\"" }
What is the largest silver from Malaysia with a Total smaller than 23?
CREATE TABLE table_name_34 (silver INTEGER, nation VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT MAX(silver) FROM table_name_34 WHERE nation = \"malaysia\" AND total < 23" }
What is the largest bronze with a Rank of 2, and a Gold smaller than 8?
CREATE TABLE table_name_86 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
{ "SQL_Query": "SELECT MAX(bronze) FROM table_name_86 WHERE rank = 2 AND gold < 8" }
How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1?
CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1" }
Voivodeship or city of nowogródzkie has what capital?
CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
{ "SQL_Query": "SELECT capital FROM table_name_75 WHERE voivodeship_or_city = \"nowogródzkie\"" }
Capital of brześć nad bugiem has what area (1930) in 1000skm?
CREATE TABLE table_name_72 (area__1930__in_1 VARCHAR, capital VARCHAR)
{ "SQL_Query": "SELECT area__1930__in_1, 000 AS skm_2 FROM table_name_72 WHERE capital = \"brześć nad bugiem\"" }
Capital of brześć nad bugiem has what population (1931) in 1,000s?
CREATE TABLE table_name_88 (population__1931__in_1 VARCHAR, capital VARCHAR)
{ "SQL_Query": "SELECT population__1931__in_1, 000 AS s FROM table_name_88 WHERE capital = \"brześć nad bugiem\"" }
Which Poles has a Wins larger than 0, and a Podiums smaller than 17?
CREATE TABLE table_name_94 (poles VARCHAR, fastest_laps VARCHAR, wins VARCHAR, podiums VARCHAR)
{ "SQL_Query": "SELECT poles FROM table_name_94 WHERE wins > 0 AND podiums < 17 AND fastest_laps = 0" }
which Poles has a Fastest Laps of 0, and a Races of 17, and a Wins larger than 0, and a Podiums smaller than 2?
CREATE TABLE table_name_74 (poles INTEGER, podiums VARCHAR, wins VARCHAR, fastest_laps VARCHAR, races VARCHAR)
{ "SQL_Query": "SELECT MAX(poles) FROM table_name_74 WHERE fastest_laps = 0 AND races = 17 AND wins > 0 AND podiums < 2" }
How many Fastest Laps have Poles of 4, and Races larger than 178?
CREATE TABLE table_name_81 (fastest_laps INTEGER, poles VARCHAR, races VARCHAR)
{ "SQL_Query": "SELECT SUM(fastest_laps) FROM table_name_81 WHERE poles = 4 AND races > 178" }
Which the Fastest Lap has a Season of 2009 and Poles smaller than 0?
CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR)
{ "SQL_Query": "SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = \"2009\" AND poles < 0" }
Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0?
CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR)
{ "SQL_Query": "SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = \"2002\" AND podiums < 0" }
What Variant has a Launch site that is white sands?
CREATE TABLE table_name_68 (variant VARCHAR, launch_site VARCHAR)
{ "SQL_Query": "SELECT variant FROM table_name_68 WHERE launch_site = \"white sands\"" }
what was the score in 1990
CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_85 WHERE year = 1990" }
In 1950 what is the average rank?
CREATE TABLE table_name_40 (rank INTEGER, year VARCHAR)
{ "SQL_Query": "SELECT AVG(rank) FROM table_name_40 WHERE year = 1950" }
What is the building's name that is 617 / 188 in height and ranked less than 6?
CREATE TABLE table_name_47 (name VARCHAR, rank VARCHAR, height_feet___m VARCHAR)
{ "SQL_Query": "SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = \"617 / 188\"" }
What is the number of rounds that took place for the fight that lasted 6:21?
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT COUNT(round) FROM table_name_1 WHERE time = \"6:21\"" }
What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976?
CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
{ "SQL_Query": "SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = \"boston crusaders\"" }
What is the year of most recent appearance of the Suncoast sound, who had more than 7 finals appearances?
CREATE TABLE table_name_95 (year_of_most_recent_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR)
{ "SQL_Query": "SELECT COUNT(year_of_most_recent_appearance) FROM table_name_95 WHERE corps_name = \"suncoast sound\" AND number_of_finals_appearances > 7" }
What is the year of the first appearance of the Black Knights, who had less than 1 finals appearances?
CREATE TABLE table_name_38 (year_of_first_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR)
{ "SQL_Query": "SELECT COUNT(year_of_first_appearance) FROM table_name_38 WHERE corps_name = \"black knights\" AND number_of_finals_appearances < 1" }
What is the Pick # of the player with an Overall less than 203 from West Virginia?
CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
{ "SQL_Query": "SELECT COUNT(pick__number) FROM table_name_37 WHERE college = \"west virginia\" AND overall < 203" }
In what Round was the draft pick from Florida with an Overall less than 166?
CREATE TABLE table_name_93 (round INTEGER, college VARCHAR, overall VARCHAR)
{ "SQL_Query": "SELECT AVG(round) FROM table_name_93 WHERE college = \"florida\" AND overall < 166" }
What is the highest number of silver when there is 1 bronze and less than 4 golds?
CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
{ "SQL_Query": "SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4" }
How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total?
CREATE TABLE table_name_69 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT bronze FROM table_name_69 WHERE silver < 3 AND total = 7" }
What team has rank 3?
CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT team FROM table_name_73 WHERE rank = 3" }
Which Playing For has a # 100 larger than 36, and a Score of 122?
CREATE TABLE table_name_27 (playing_for VARCHAR, _number_100 VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT playing_for FROM table_name_27 WHERE _number_100 > 36 AND score = \"122\"" }
Which # 100 has a Season of 1991, and an Against of surrey?
CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
{ "SQL_Query": "SELECT MAX(_number_100) FROM table_name_87 WHERE season = \"1991\" AND against = \"surrey\"" }
Which sum of # 100 has a Season of 1990, and an Against of warwickshire?
CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
{ "SQL_Query": "SELECT SUM(_number_100) FROM table_name_33 WHERE season = \"1990\" AND against = \"warwickshire\"" }
Which Against has a Season of 1987/88, and a # 100 larger than 13, and a Score of 139?
CREATE TABLE table_name_98 (against VARCHAR, score VARCHAR, season VARCHAR, _number_100 VARCHAR)
{ "SQL_Query": "SELECT against FROM table_name_98 WHERE season = \"1987/88\" AND _number_100 > 13 AND score = \"139\"" }
What is the highest earnings for the golfer who has more than 37 wins?
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)
{ "SQL_Query": "SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37" }
What Tejano webcast has a callsign of KBDR?
CREATE TABLE table_name_2 (webcast VARCHAR, format VARCHAR, callsign VARCHAR)
{ "SQL_Query": "SELECT webcast FROM table_name_2 WHERE format = \"tejano\" AND callsign = \"kbdr\"" }
What's the highest frequency of the KBDR callsign?
CREATE TABLE table_name_4 (frequency INTEGER, callsign VARCHAR)
{ "SQL_Query": "SELECT MAX(frequency) FROM table_name_4 WHERE callsign = \"kbdr\"" }
What's the website for the Listen Live webcast on the 99.3 frequency?
CREATE TABLE table_name_81 (website VARCHAR, webcast VARCHAR, frequency VARCHAR)
{ "SQL_Query": "SELECT website FROM table_name_81 WHERE webcast = \"listen live\" AND frequency = 99.3" }
Which Webcast has the digital1073.com website?
CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
{ "SQL_Query": "SELECT webcast FROM table_name_46 WHERE website = \"digital1073.com\"" }
Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11?
CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_14 WHERE tournament = \"at&t pebble beach national pro-am\" AND margin_of_victory = \"1 stroke\" AND to_par = \"–11\"" }
Which Tournament has a Margin of victory of 1 stroke, and a Date of oct 7, 1990?
CREATE TABLE table_name_39 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT tournament FROM table_name_39 WHERE margin_of_victory = \"1 stroke\" AND date = \"oct 7, 1990\"" }
Which Date has a Winning score of 69-68-68-70=275?
CREATE TABLE table_name_31 (date VARCHAR, winning_score VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_31 WHERE winning_score = 69 - 68 - 68 - 70 = 275" }
Which To par has a Winning score of 64-68-66-63=261?
CREATE TABLE table_name_22 (to_par VARCHAR, winning_score VARCHAR)
{ "SQL_Query": "SELECT to_par FROM table_name_22 WHERE winning_score = 64 - 68 - 66 - 63 = 261" }
Which Winning score has a Tournament of walt disney world/oldsmobile classic?
CREATE TABLE table_name_67 (winning_score VARCHAR, tournament VARCHAR)
{ "SQL_Query": "SELECT winning_score FROM table_name_67 WHERE tournament = \"walt disney world/oldsmobile classic\"" }
What is the number in total of silver with a gold smaller than 0?
CREATE TABLE table_name_91 (silver VARCHAR, gold INTEGER)
{ "SQL_Query": "SELECT COUNT(silver) FROM table_name_91 WHERE gold < 0" }
What is the sum of gold with a rank that is 3 and a silver larger than 7?
CREATE TABLE table_name_98 (gold INTEGER, rank VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT SUM(gold) FROM table_name_98 WHERE rank = \"3\" AND silver > 7" }
What is the average total with a nation of thailand with a gold smaller than 17?
CREATE TABLE table_name_54 (total INTEGER, nation VARCHAR, gold VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_54 WHERE nation = \"thailand\" AND gold < 17" }
What is the average gold with a bronze smaller than 5 with a rank of 8?
CREATE TABLE table_name_17 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT AVG(gold) FROM table_name_17 WHERE bronze < 5 AND rank = \"8\"" }
What is the earliest launch that was from Beijing?
CREATE TABLE table_name_58 (launch INTEGER, origin VARCHAR)
{ "SQL_Query": "SELECT MIN(launch) FROM table_name_58 WHERE origin = \"beijing\"" }
With a Hanzi of 深圳卫视, what is the name?
CREATE TABLE table_name_19 (name VARCHAR, hanzi VARCHAR)
{ "SQL_Query": "SELECT name FROM table_name_19 WHERE hanzi = \"深圳卫视\"" }
Who is the owner of the object launched after 1997 and a Hanzi of 厦门卫视?
CREATE TABLE table_name_30 (owner VARCHAR, launch VARCHAR, hanzi VARCHAR)
{ "SQL_Query": "SELECT owner FROM table_name_30 WHERE launch > 1997 AND hanzi = \"厦门卫视\"" }
What was the latest week that had a game on November 18, 1951?
CREATE TABLE table_name_91 (week INTEGER, date VARCHAR)
{ "SQL_Query": "SELECT MAX(week) FROM table_name_91 WHERE date = \"november 18, 1951\"" }
Who was the opponent on November 11, 1951?
CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_18 WHERE date = \"november 11, 1951\"" }
What was the total attendance with a result of W 31-21 before week 9?
CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR, week VARCHAR)
{ "SQL_Query": "SELECT COUNT(attendance) FROM table_name_13 WHERE result = \"w 31-21\" AND week < 9" }
What lifespan has a majors greater than 1, and fuzzy zoeller as the name?
CREATE TABLE table_name_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)
{ "SQL_Query": "SELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = \"fuzzy zoeller\"" }
what visitor came on november 27
CREATE TABLE table_name_15 (visitor VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT visitor FROM table_name_15 WHERE date = \"november 27\"" }
what team was the visitor in the chicago game
CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR)
{ "SQL_Query": "SELECT visitor FROM table_name_33 WHERE home = \"chicago\"" }
what game was in chicago
CREATE TABLE table_name_40 (record VARCHAR, home VARCHAR)
{ "SQL_Query": "SELECT record FROM table_name_40 WHERE home = \"chicago\"" }
Which player is associated with the date May 10, 1999?
CREATE TABLE table_name_24 (player VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT player FROM table_name_24 WHERE date = \"may 10, 1999\"" }
Which player is associated with the date July 6, 1949?
CREATE TABLE table_name_93 (player VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT player FROM table_name_93 WHERE date = \"july 6, 1949\"" }
Which date is associated with the player Wilbert Robinson?
CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_40 WHERE player = \"wilbert robinson\"" }
Which player is associated with the date June 14, 1969?
CREATE TABLE table_name_63 (player VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT player FROM table_name_63 WHERE date = \"june 14, 1969\"" }
When the team is the Boston Red Sox and the is date July 27, 1946, what are the average RBIs?
CREATE TABLE table_name_79 (rbis INTEGER, team VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT AVG(rbis) FROM table_name_79 WHERE team = \"boston red sox\" AND date = \"july 27, 1946\"" }
What is the sum of games for a record of 33-13-3?
CREATE TABLE table_name_77 (game INTEGER, record VARCHAR)
{ "SQL_Query": "SELECT SUM(game) FROM table_name_77 WHERE record = \"33-13-3\"" }
What was the sum of January values with a record of 27-12-3 for a game less than 42?
CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR)
{ "SQL_Query": "SELECT SUM(january) FROM table_name_36 WHERE record = \"27-12-3\" AND game < 42" }
What is the number in January for Philadelphia Flyers as opponents?
CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR)
{ "SQL_Query": "SELECT COUNT(january) FROM table_name_30 WHERE opponent = \"philadelphia flyers\"" }
What is the lowest game for a record of 32-12-3?
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
{ "SQL_Query": "SELECT MIN(game) FROM table_name_48 WHERE record = \"32-12-3\"" }
What was the lowest attendance at the game with a record of 50-36?
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
{ "SQL_Query": "SELECT MIN(attendance) FROM table_name_95 WHERE record = \"50-36\"" }
Who was the opponent at the game that had a loss of Westbrook (2-2)?
CREATE TABLE table_name_74 (opponent VARCHAR, loss VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_74 WHERE loss = \"westbrook (2-2)\"" }
How many copies of scouting for girls were sold?
CREATE TABLE table_name_31 (sales VARCHAR, album_title VARCHAR)
{ "SQL_Query": "SELECT COUNT(sales) FROM table_name_31 WHERE album_title = \"scouting for girls\"" }
What is the agg of team 2 Dynamo Moscow?
CREATE TABLE table_name_2 (agg VARCHAR, team_2 VARCHAR)
{ "SQL_Query": "SELECT agg FROM table_name_2 WHERE team_2 = \"dynamo moscow\"" }
What is the 1st leg for team 2 Portol Drac Palma Mallorca?
CREATE TABLE table_name_27 (team_2 VARCHAR)
{ "SQL_Query": "SELECT 1 AS st_leg FROM table_name_27 WHERE team_2 = \"portol drac palma mallorca\"" }
Who was the guest at Stadion Prljanije?
CREATE TABLE table_name_16 (guest VARCHAR, venue VARCHAR)
{ "SQL_Query": "SELECT guest FROM table_name_16 WHERE venue = \"stadion prljanije\"" }
Who was the guest when attendance was 3?
CREATE TABLE table_name_98 (guest VARCHAR, attendance VARCHAR)
{ "SQL_Query": "SELECT guest FROM table_name_98 WHERE attendance = 3" }
In what venue did FK Crvena Stijena play at home?
CREATE TABLE table_name_24 (venue VARCHAR, home VARCHAR)
{ "SQL_Query": "SELECT venue FROM table_name_24 WHERE home = \"fk crvena stijena\"" }
What is the sum of attendance when the score was 2:0?
CREATE TABLE table_name_80 (attendance INTEGER, score VARCHAR)
{ "SQL_Query": "SELECT SUM(attendance) FROM table_name_80 WHERE score = \"2:0\"" }
How many were in attendance with a score of 0:1?
CREATE TABLE table_name_82 (attendance VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT attendance FROM table_name_82 WHERE score = \"0:1\"" }
Who was at home when the score was 2:2?
CREATE TABLE table_name_88 (home VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT home FROM table_name_88 WHERE score = \"2:2\"" }
What Score has an Opponent of @ Blue Jays with a Date of June 7?
CREATE TABLE table_name_16 (score VARCHAR, opponent VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_16 WHERE opponent = \"@ blue jays\" AND date = \"june 7\"" }
What Time is listed for the Loss of Okajima (1-2)?
CREATE TABLE table_name_72 (time VARCHAR, loss VARCHAR)
{ "SQL_Query": "SELECT time FROM table_name_72 WHERE loss = \"okajima (1-2)\"" }
What Loss is recorded for the Date June 2?
CREATE TABLE table_name_56 (loss VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT loss FROM table_name_56 WHERE date = \"june 2\"" }
What's the total number of Win % with an Appearances of 4, and Losses that's larger than 3?
CREATE TABLE table_name_78 (win__percentage VARCHAR, appearances VARCHAR, losses VARCHAR)
{ "SQL_Query": "SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 3" }
What's listed as the lowest Appearances with a Win % of 0.706?
CREATE TABLE table_name_30 (appearances INTEGER, win__percentage VARCHAR)
{ "SQL_Query": "SELECT MIN(appearances) FROM table_name_30 WHERE win__percentage = 0.706" }
What's the lowest Losses recorded wiht a Wins of 1, Team of Dallas Stars, and a Win % that's smaller than 0.25?
CREATE TABLE table_name_60 (losses INTEGER, win__percentage VARCHAR, wins VARCHAR, team VARCHAR)
{ "SQL_Query": "SELECT MIN(losses) FROM table_name_60 WHERE wins = 1 AND team = \"dallas stars\" AND win__percentage < 0.25" }
What district has benjamin eggleston for incumbent?
CREATE TABLE table_name_52 (district VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_name_52 WHERE incumbent = \"benjamin eggleston\"" }
Which party is tobias a. plants the incumbent?
CREATE TABLE table_name_11 (party VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT party FROM table_name_11 WHERE incumbent = \"tobias a. plants\"" }
wWhich district has a retired republican hold with an incumbent of rufus p. spalding?
CREATE TABLE table_name_89 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_name_89 WHERE result = \"retired republican hold\" AND incumbent = \"rufus p. spalding\"" }
Which district has a retired republican hold and an incumbent of rufus p. spalding?
CREATE TABLE table_name_67 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
{ "SQL_Query": "SELECT district FROM table_name_67 WHERE result = \"retired republican hold\" AND incumbent = \"rufus p. spalding\"" }
Which tournament had a 2012 of a and a 2011 of 2r?
CREATE TABLE table_name_25 (tournament VARCHAR)
{ "SQL_Query": "SELECT tournament FROM table_name_25 WHERE 2012 = \"a\" AND 2011 = \"2r\"" }
Which 2009's 2010 featured the wta premier 5 tournaments?
CREATE TABLE table_name_72 (Id VARCHAR)
{ "SQL_Query": "SELECT 2009 FROM table_name_72 WHERE 2010 = \"wta premier 5 tournaments\"" }
Which 2011's tournament was Indian Wells?
CREATE TABLE table_name_24 (tournament VARCHAR)
{ "SQL_Query": "SELECT 2011 FROM table_name_24 WHERE tournament = \"indian wells\"" }
Which 2010 stat featured the tournament of the Olympic Games?
CREATE TABLE table_name_2 (tournament VARCHAR)
{ "SQL_Query": "SELECT 2010 FROM table_name_2 WHERE tournament = \"olympic games\"" }
When did the Indians play a game with 15,105 people in attendance?
CREATE TABLE table_name_5 (date VARCHAR, attendance VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_5 WHERE attendance = \"15,105\"" }
Who did the Indians play on April 23?
CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_89 WHERE date = \"april 23\"" }
What is the lowest number of laps for Marco Simoncelli on a grid higher than 11?
CREATE TABLE table_name_86 (laps INTEGER, rider VARCHAR, grid VARCHAR)
{ "SQL_Query": "SELECT MIN(laps) FROM table_name_86 WHERE rider = \"marco simoncelli\" AND grid > 11" }
Who is the rider who did less than 20 laps on a grid number greater than 23?
CREATE TABLE table_name_67 (rider VARCHAR, laps VARCHAR, grid VARCHAR)
{ "SQL_Query": "SELECT rider FROM table_name_67 WHERE laps < 20 AND grid > 23" }
What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps?
CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR)
{ "SQL_Query": "SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = \"ktm\" AND laps > 20" }
What is the tournament on 22 October 2012?
CREATE TABLE table_name_46 (tournament VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT tournament FROM table_name_46 WHERE date = \"22 october 2012\"" }