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