question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the away team when there are 15 ties?
CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_57 WHERE tie_no = "15"
What is the score when Darlington is the home team?
CREATE TABLE table_name_9 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_9 WHERE home_team = "darlington"
What is the number of ties when Altrincham is the home team?
CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham"
What is the largest pick by the Baltimore Colts in a round later than 10?
CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10
Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?
CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403"
Which Label has a Catalog of 7243 8 49494 2 6?
CREATE TABLE table_name_98 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_98 WHERE catalog = "7243 8 49494 2 6"
Which Catalog has a Country of Japan?
CREATE TABLE table_name_71 (catalog VARCHAR, country VARCHAR)
SELECT catalog FROM table_name_71 WHERE country = "japan"
Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403?
CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)
SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"
How many rounds were played in the matching resulting in a Points For score of 343?
CREATE TABLE table_name_38 (played VARCHAR, points_for VARCHAR)
SELECT played FROM table_name_38 WHERE points_for = "343"
What is the height in Rouen?
CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)
SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"
What is the church made from in Hamburg?
CREATE TABLE table_name_88 (held_record VARCHAR, structural_type VARCHAR, town VARCHAR)
SELECT held_record FROM table_name_88 WHERE structural_type = "church" AND town = "hamburg"
What Player's Score is 72-70-66=208?
CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_86 WHERE score = 72 - 70 - 66 = 208
What is the To par of the T8 Place Player with a Score of 72-70-66=208?
CREATE TABLE table_name_79 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_79 WHERE place = "t8" AND score = 72 - 70 - 66 = 208
What is Kirk Triplett's Place?
CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_66 WHERE player = "kirk triplett"
What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 2
Which position at UCLA has a lower than 92 pick number?
CREATE TABLE table_name_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla"
How many rounds have a position of C?
CREATE TABLE table_name_95 (round VARCHAR, position VARCHAR)
SELECT COUNT(round) FROM table_name_95 WHERE position = "c"
Which team has fewer than 4 rounds for Jan Van Breda Kolff?
CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff"
Which player has fewer than 2 rounds?
CREATE TABLE table_name_54 (player VARCHAR, round INTEGER)
SELECT player FROM table_name_54 WHERE round < 2
What is the pick for Mickey Johnson with fewer than 4 rounds?
CREATE TABLE table_name_19 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_19 WHERE player = "mickey johnson" AND round < 4
Which All Games have a Nonconference Games of 1–10?
CREATE TABLE table_name_93 (all_games VARCHAR, nonconference_games VARCHAR)
SELECT all_games FROM table_name_93 WHERE nonconference_games = "1–10"
Who had a score of 68-67=135?
CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135
What is the to par for the player who scored 73-68=141?
CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_91 WHERE score = 73 - 68 = 141
Who scored 69-71=140?
CREATE TABLE table_name_75 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_75 WHERE score = 69 - 71 = 140
What was the to par of the player of who scored 70-70=140?
CREATE TABLE table_name_21 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_21 WHERE score = 70 - 70 = 140
What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?
CREATE TABLE table_name_87 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR)
SELECT name FROM table_name_87 WHERE proposed = "12/30/1982" AND county = "rockingham" AND cerclis_id = "nhd062004569"
What name completed construction on 09/19/2008?
CREATE TABLE table_name_71 (name VARCHAR, construction_completed VARCHAR)
SELECT name FROM table_name_71 WHERE construction_completed = "09/19/2008"
When was the site listed 03/31/1989 in rockingham county proposed?
CREATE TABLE table_name_6 (proposed VARCHAR, listed VARCHAR, county VARCHAR)
SELECT proposed FROM table_name_6 WHERE listed = "03/31/1989" AND county = "rockingham"
What CERCLIS ID was listed 10/14/1992?
CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR)
SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"
What name was proposed on 09/08/1983 in hillsborough county?
CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR)
SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983"
What county is CERCLIS ID nhd062004569 in?
CREATE TABLE table_name_61 (county VARCHAR, cerclis_id VARCHAR)
SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
What is the total number for the week with a record of 0-11?
CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)
SELECT COUNT(week) FROM table_name_87 WHERE record = "0-11"
What is the attendance for the date of 11/11/01?
CREATE TABLE table_name_19 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_19 WHERE date = "11/11/01"
what is the average enrollment when the team nickname is wolverines and founded is after 1817?
CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)
SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817
what is the institution when the location is big rapids, michigan?
CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"
what is the least enrollment when founded after 1809 and the institution is university of michigan?
CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)
SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan"
what is the institution when the team nickname is lakers?
CREATE TABLE table_name_22 (institution VARCHAR, team_nickname VARCHAR)
SELECT institution FROM table_name_22 WHERE team_nickname = "lakers"
Which Political Party has a Name of mehdi bej frashëri (2nd time)?
CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR)
SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)"
Which Political Party has a Name of ibrahim bej biçakçiu?
CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR)
SELECT political_party FROM table_name_72 WHERE name = "ibrahim bej biçakçiu"
Which Name has a Term end of 18 july 1944?
CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR)
SELECT name FROM table_name_88 WHERE term_end = "18 july 1944"
Which Born-Died has a Term start of 4 november 1943?
CREATE TABLE table_name_52 (born_died VARCHAR, term_start VARCHAR)
SELECT born_died FROM table_name_52 WHERE term_start = "4 november 1943"
Which Political Party has a Name of rexhep bej mitrovica?
CREATE TABLE table_name_22 (political_party VARCHAR, name VARCHAR)
SELECT political_party FROM table_name_22 WHERE name = "rexhep bej mitrovica"
Which Term end has a Political Party of balli kombëtar, and a Born-Died of 1905–1972?
CREATE TABLE table_name_23 (term_end VARCHAR, political_party VARCHAR, born_died VARCHAR)
SELECT term_end FROM table_name_23 WHERE political_party = "balli kombëtar" AND born_died = "1905–1972"
/What is Tie No, when Date is 18 February 1956, and when Away Team is Tottenham Hotspur?
CREATE TABLE table_name_44 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_44 WHERE date = "18 february 1956" AND away_team = "tottenham hotspur"
What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?
CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"
What is Score, when Tie No is Replay, and when Home Team is Sunderland?
CREATE TABLE table_name_75 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_75 WHERE tie_no = "replay" AND home_team = "sunderland"
What is Home Team, when Date is 18 February 1956, and when Away Team is Blackburn Rovers?
CREATE TABLE table_name_59 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_59 WHERE date = "18 february 1956" AND away_team = "blackburn rovers"
What is Home Team, when Date is 18 February 1956, and when Tie No is 3?
CREATE TABLE table_name_69 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_69 WHERE date = "18 february 1956" AND tie_no = "3"
What is Home Team, when Tie No is 4?
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_49 WHERE tie_no = "4"
What ws the method of resolution for the fight against joe kielur?
CREATE TABLE table_name_35 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_35 WHERE opponent = "joe kielur"
What event did Soa Palelei fight against son hai suk?
CREATE TABLE table_name_31 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_31 WHERE opponent = "son hai suk"
WHich Venue is in 1994?
CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR)
SELECT venue FROM table_name_60 WHERE year = 1994
WHICH Venue IS after 1992 with a Score of 1 – 0 and a Winners of us chaouia?
CREATE TABLE table_name_93 (venue VARCHAR, winners VARCHAR, year VARCHAR, score VARCHAR)
SELECT venue FROM table_name_93 WHERE year > 1992 AND score = "1 – 0" AND winners = "us chaouia"
Which tournament has a clay surface and partner henri leconte in 1983?
CREATE TABLE table_name_29 (tournament VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_29 WHERE surface = "clay" AND partner = "henri leconte" AND date = 1983
What is the outcome of the tournament with partner ilie năstase?
CREATE TABLE table_name_65 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_name_65 WHERE partner = "ilie năstase"
What is the fewest goals against for teams with more than 27 losses?
CREATE TABLE table_name_97 (goals_against INTEGER, lost INTEGER)
SELECT MIN(goals_against) FROM table_name_97 WHERE lost > 27
What is the total number of positions for teams with more than 7 draws and under 40 played?
CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR)
SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40
What is the fewest losses for teams with points of 53 and more than 73 goals for?
CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR)
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73
What is the fewest draws for teams with a 0 goal difference and under 55 goals against?
CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR)
SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55
What is the sum of 2010-11 when the rank is greater than 11?
CREATE TABLE table_name_97 (rank INTEGER)
SELECT COUNT(2010 AS _11) FROM table_name_97 WHERE rank > 11
Which Away has a Date of 14 september 2008, and an Attendance larger than 1881?
CREATE TABLE table_name_89 (away VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT away FROM table_name_89 WHERE date = "14 september 2008" AND attendance > 1881
What was victoria's away date?
CREATE TABLE table_name_18 (date VARCHAR, away VARCHAR)
SELECT date FROM table_name_18 WHERE away = "victoria"
Which Away has a Score of 1:2, and a Home of vida?
CREATE TABLE table_name_31 (away VARCHAR, score VARCHAR, home VARCHAR)
SELECT away FROM table_name_31 WHERE score = "1:2" AND home = "vida"
Which Attendance has an Away of real juventud?
CREATE TABLE table_name_50 (attendance INTEGER, away VARCHAR)
SELECT SUM(attendance) FROM table_name_50 WHERE away = "real juventud"
What was the lowest attendance in round r1 at H venue?
CREATE TABLE table_name_13 (attendance INTEGER, round VARCHAR, venue VARCHAR)
SELECT MIN(attendance) FROM table_name_13 WHERE round = "r1" AND venue = "h"
what is the highest pumpers when cars is 5?
CREATE TABLE table_name_78 (pumpers INTEGER, cars VARCHAR)
SELECT MAX(pumpers) FROM table_name_78 WHERE cars = 5
what is the highest tankers when pumpers is more than 2?
CREATE TABLE table_name_84 (tankers INTEGER, pumpers INTEGER)
SELECT MAX(tankers) FROM table_name_84 WHERE pumpers > 2
What is the skip with a second of Philippe Caux?
CREATE TABLE table_name_30 (skip VARCHAR, second VARCHAR)
SELECT skip FROM table_name_30 WHERE second = "philippe caux"
What is the Lead in the 2004-05 Season?
CREATE TABLE table_name_19 (lead VARCHAR, season VARCHAR)
SELECT lead FROM table_name_19 WHERE season = "2004-05"
What is the Third in the 1993-94 season where Philippe Caux was a lead?
CREATE TABLE table_name_39 (third VARCHAR, lead VARCHAR, season VARCHAR)
SELECT third FROM table_name_39 WHERE lead = "philippe caux" AND season = "1993-94"
What is the skip when Tony Angiboust was a lead?
CREATE TABLE table_name_40 (skip VARCHAR, lead VARCHAR)
SELECT skip FROM table_name_40 WHERE lead = "tony angiboust"
What is the sum of against scores when there are 3 losses and less than 6 games played?
CREATE TABLE table_name_1 (against VARCHAR, lost VARCHAR, played VARCHAR)
SELECT COUNT(against) FROM table_name_1 WHERE lost = 3 AND played < 6
What is the highest amount of games played in the 2003-04 season?
CREATE TABLE table_name_25 (played INTEGER, season VARCHAR)
SELECT MAX(played) FROM table_name_25 WHERE season = "2003-04"
What was the sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3?
CREATE TABLE table_name_72 (sample_size INTEGER, date VARCHAR, margin_of_error VARCHAR)
SELECT MAX(sample_size) FROM table_name_72 WHERE date = "nov 9-11, 2007" AND margin_of_error < 4.3
What was the sample size for the poll featuring Republican Ron Paul?
CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR)
SELECT sample_size FROM table_name_80 WHERE republican = "ron paul"
When Tom Purtzer of the United States played what is the maximum score?
CREATE TABLE table_name_94 (score INTEGER, country VARCHAR, player VARCHAR)
SELECT MAX(score) FROM table_name_94 WHERE country = "united states" AND player = "tom purtzer"
Ben Crenshaw has what To par?
CREATE TABLE table_name_18 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_18 WHERE player = "ben crenshaw"
What was the score to par after two rounds for Nick Price?
CREATE TABLE table_name_54 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_54 WHERE player = "nick price"
What place was the player from Italy in ?
CREATE TABLE table_name_32 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_32 WHERE country = "italy"
What is the common name for the creature with darker colors?
CREATE TABLE table_name_18 (common_name VARCHAR, color VARCHAR)
SELECT common_name FROM table_name_18 WHERE color = "darker colors"
What is the length of the Panther Chameleon?
CREATE TABLE table_name_15 (length__female_ VARCHAR, common_name VARCHAR)
SELECT length__female_ FROM table_name_15 WHERE common_name = "panther chameleon"
What is the color of the Chamaeleo Calyptratus?
CREATE TABLE table_name_54 (color VARCHAR, scientific_name VARCHAR)
SELECT color FROM table_name_54 WHERE scientific_name = "chamaeleo calyptratus"
What was the TO par for the player who scored 70-68-74-70=282?
CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_26 WHERE score = 70 - 68 - 74 - 70 = 282
What is Opponents In The Final, when Partner is "Jiří Novák"?
CREATE TABLE table_name_67 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT opponents_in_the_final FROM table_name_67 WHERE partner = "jiří novák"
What is Outcome, when Tournament is "Milan , Italy"?
CREATE TABLE table_name_3 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_3 WHERE tournament = "milan , italy"
What is Opponents In The Final, when Surface is "Carpet", and when Tournament is "Milan , Italy"?
CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT opponents_in_the_final FROM table_name_61 WHERE surface = "carpet" AND tournament = "milan , italy"
What is the total number of Date, when Partner is "Carl-Uwe Steeb"?
CREATE TABLE table_name_67 (date VARCHAR, partner VARCHAR)
SELECT COUNT(date) FROM table_name_67 WHERE partner = "carl-uwe steeb"
Which team picked a player(s) from South Carolina?
CREATE TABLE table_name_73 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_name_73 WHERE college = "south carolina"
What college did Keith Shologan play for?
CREATE TABLE table_name_40 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_40 WHERE player = "keith shologan"
What position does a Keith Shologan, who was picked higher than 6, play?
CREATE TABLE table_name_91 (position VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT position FROM table_name_91 WHERE pick__number < 6 AND player = "keith shologan"
What year before 1980 has is the highest Inflation Index (2000=100)?
CREATE TABLE table_name_34 (year INTEGER, inflation_index__2000 INTEGER)
SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_34 WHERE year < 1980
Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?
CREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR)
SELECT frequency FROM table_name_64 WHERE voltage = "1.6v" AND part_number_s_ = "kp80524kx300256kc80524kx300256pmg30002002aa"
Which model number has socket μpga2 bga2 mmc-2?
CREATE TABLE table_name_46 (model_number VARCHAR, socket VARCHAR)
SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-2"
What is the L2 cache for the Mobile Pentium 333?
CREATE TABLE table_name_48 (l2_cache VARCHAR, model_number VARCHAR)
SELECT l2_cache FROM table_name_48 WHERE model_number = "mobile pentium 333"
How many totals have golds of 3, silvers of 3, and bronzes under 3?
CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3"
Which nation has a rank of 7?
CREATE TABLE table_name_52 (nation VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_52 WHERE rank = "7"
What is the average bronze with silvers of 1 and totals over 2?
CREATE TABLE table_name_76 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_76 WHERE silver = "1" AND total > 2
How many golds does Germany have?
CREATE TABLE table_name_45 (gold VARCHAR, nation VARCHAR)
SELECT gold FROM table_name_45 WHERE nation = "germany"
What is the total number of bronzes with totals under 4 and ranks of 10?
CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND rank = "10"
What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0?
CREATE TABLE table_name_2 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_2 WHERE class = "50cc" AND year = 1965 AND wins < 0