output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT MAX(time) FROM table_name_35 WHERE country = "spain" AND lane > 8
CREATE TABLE table_name_35 (time INTEGER, country VARCHAR, lane VARCHAR), Tell me the highest time for spain and lane larger than 8
SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1
CREATE TABLE table_name_15 (heat_rank INTEGER, time VARCHAR, lane VARCHAR), Tell me the average heat rank for time less than 24.02 and lane of 1
SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR), Tell me the total number of time for heat rank of 1
SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700"
CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR), What would the LCD screen size and pixels be for the coolpix 5700?
SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400"
CREATE TABLE table_name_79 (lens__35mm_equiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR), What is the lens zoom and aperture for the coolpix 5400?
SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida"
CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR), What is the average number of rounds when fighting against Clay Guida?
SELECT location FROM table_name_63 WHERE opponent = "gray maynard"
CREATE TABLE table_name_63 (location VARCHAR, opponent VARCHAR), Where was the fight against Gray Maynard?
SELECT res FROM table_name_51 WHERE time = "4:27"
CREATE TABLE table_name_51 (res VARCHAR, time VARCHAR), What was the result of the 4:27 fight?
SELECT record FROM table_name_43 WHERE event = "wec 24"
CREATE TABLE table_name_43 (record VARCHAR, event VARCHAR), What was the record at WEC 24?
SELECT res FROM table_name_16 WHERE round < 3 AND opponent = "gil rael"
CREATE TABLE table_name_16 (res VARCHAR, round VARCHAR, opponent VARCHAR), What was the result when there were less than 3 rounds against Gil Rael?
SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24
CREATE TABLE table_name_32 (assists INTEGER, club VARCHAR, points VARCHAR), What is the amount of assists for richmond kickers and points larger than 24
SELECT AVG(assists) FROM table_name_10 WHERE rank > 6 AND goals = 10 AND scorer = "robert ukrop"
CREATE TABLE table_name_10 (assists INTEGER, scorer VARCHAR, rank VARCHAR, goals VARCHAR), What is the average amount of assists with a rank higher than 6 and goals 10 and the scorer is Robert Ukrop
SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6–3, 7–5" AND partner = "kimberly po-messerli"
CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR), Which Tournament has a winner Outcome with a Score of 6–3, 7–5 with Kimberly Po-Messerli as a Partner?
SELECT outcome FROM table_name_8 WHERE tournament = "los angeles" AND partner = "julie halard"
CREATE TABLE table_name_8 (outcome VARCHAR, tournament VARCHAR, partner VARCHAR), What is the Outcome of the Los Angeles Tournament when the Partner is Julie Halard?
SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4–6, 6–3, 6–1"
CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR), On what Date is Alexandra Fusai a Partner with a Score of 4–6, 6–3, 6–1?
SELECT home FROM table_name_5 WHERE aggregate = "2-3"
CREATE TABLE table_name_5 (home VARCHAR, aggregate VARCHAR), Tell me the home of 2-3
SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282
CREATE TABLE table_name_49 (sales__x1000_ VARCHAR, no_of_stores VARCHAR), How much money did the country with 282 stores make in sales?
SELECT MIN(sales_area__m²_) FROM table_name_20 WHERE sales_per_area = "€4,094/m²" AND no_of_stores > 2
CREATE TABLE table_name_20 (sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR), What is the smallest sales area (m²) that has €4,094/m² and more than 2 stores?
SELECT AVG(spectators) FROM table_name_56 WHERE date = "2006-06-21" AND time_cet_ > 21
CREATE TABLE table_name_56 (spectators INTEGER, date VARCHAR, time_cet_ VARCHAR), Tell me the average spectators for 2006-06-21 and time more than 21
SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000
CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR), Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR), Tell me the lowest closed for capacity of 62,439
SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16"
CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR), Tell me the college/junior club team for pick of 16
SELECT nationality FROM table_name_24 WHERE pick = "18"
CREATE TABLE table_name_24 (nationality VARCHAR, pick VARCHAR), Tell me the nationality for pick of 18
SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim"
CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR), I want the player for NHL team for mighty ducks of anaheim
SELECT nhl_team FROM table_name_87 WHERE player = "wade belak"
CREATE TABLE table_name_87 (nhl_team VARCHAR, player VARCHAR), I want the NHL team for wade belak
SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5"
CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR), Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5
SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz"
CREATE TABLE table_name_15 (partner VARCHAR, opponents_in_the_final VARCHAR), Tell me the partner for opponents of anamika bhargava sylvia krywacz
SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7"
CREATE TABLE table_name_10 (partner VARCHAR, outcome VARCHAR, score VARCHAR), Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7
SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-10"
CREATE TABLE table_name_90 (opponents_in_the_final VARCHAR, score VARCHAR), Tell me the opponents for score of 6-1 2-6 7-10
SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi"
CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR), Tell me the score of misa eguchi eri hozumi
SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja"
CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR), Tell me the date for dinah pfizenmaier anna zaja and winner
SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"
CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR), Tell me the opponents for mashona washington november 21, 2009
SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2
CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR), What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals?
SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4
CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR), How many gold medals on average were earned by Italy when they held the rank of 4?
SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199"
CREATE TABLE table_name_75 (player VARCHAR, nationality VARCHAR, pick VARCHAR), Who is the player from Canada with a 199 pick?
SELECT college_junior_club_team FROM table_name_59 WHERE pick = "196"
CREATE TABLE table_name_59 (college_junior_club_team VARCHAR, pick VARCHAR), Which college or team has a pick of 196?
SELECT pick FROM table_name_52 WHERE player = "ray giroux"
CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR), What is the pick number for Ray Giroux?
SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew"
CREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR), Tell me the lowest pick number for columbus crew
SELECT COUNT(pick__number) FROM table_name_5 WHERE affiliation = "university of portland"
CREATE TABLE table_name_5 (pick__number VARCHAR, affiliation VARCHAR), Tell me the total number of pick for university of portland
SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution"
CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR), Tell me the lowest pick number for new england revolution
SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"
CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR), Tell me the affiliation for diego walsh
SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia"
CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR), Tell me the total number of pick for university of virginia
SELECT d3_compatible FROM table_name_76 WHERE availability = "yes" AND name = "wode jukebox"
CREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR), Tell me the D3 compatible for availability of yes for wode jukebox
SELECT pts FROM table_name_96 WHERE div = "glasgow rocks"
CREATE TABLE table_name_96 (pts VARCHAR, div VARCHAR), Tell me the pts for glasgow rocks
SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th"
CREATE TABLE table_name_97 (season VARCHAR, play_offs VARCHAR, pos VARCHAR), Tell me the season for quarter-final position of 4th
SELECT AVG(laps) FROM table_name_51 WHERE grid = 6
CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR), Tell me the average Laps for grid of 6
SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6"
CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR), Tell me the carburetor for engine of 250-1v i-6
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"
CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR), Tell me the bore and stroke for Engine of 351-2v cleveland v8
SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5
CREATE TABLE table_name_61 (silver VARCHAR, rank VARCHAR, total VARCHAR), Which country is ranked number 2 and has less than 5 total medals?
SELECT time___mt__ FROM table_name_13 WHERE opponent = "kansas city chiefs" AND date = "nov 11"
CREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR), What is the (MT) time which has kansas city chiefs as an opponent on nov 11?
SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass"
CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR), Tell me the opponents for runner-up and surface of grass
SELECT venue FROM table_name_88 WHERE opponent = "netherlands"
CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR), Name the venue for netherlands opponent
SELECT opponent FROM table_name_46 WHERE date = "10-04-2007"
CREATE TABLE table_name_46 (opponent VARCHAR, date VARCHAR), Name the opponent for 10-04-2007
SELECT runs__balls_ FROM table_name_9 WHERE wicket = "3rd" AND opponent = "australia"
CREATE TABLE table_name_9 (runs__balls_ VARCHAR, wicket VARCHAR, opponent VARCHAR), Name the runs balls for wicket of 3rd for australia opponent
SELECT wicket FROM table_name_59 WHERE date = "19-03-2007"
CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR), Name the wicket for 19-03-2007
SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"
CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR), Which fleet launched on July 30, 1961?
SELECT shipyard FROM table_name_72 WHERE laid_down = "april 21, 1962"
CREATE TABLE table_name_72 (shipyard VARCHAR, laid_down VARCHAR), Which shipyard has a fleet that was laid down on April 21, 1962?
SELECT status FROM table_name_9 WHERE commissioned = "july 28, 1963"
CREATE TABLE table_name_9 (status VARCHAR, commissioned VARCHAR), What is the status of the fleet that was commissioned on July 28, 1963?
SELECT launched FROM table_name_23 WHERE commissioned = "august 31, 1964"
CREATE TABLE table_name_23 (launched VARCHAR, commissioned VARCHAR), Tell me the launched for august 31, 1964
SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965"
CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR), Tell me what was commissioned december 30, 1965
SELECT MIN(episode__number) FROM table_name_29 WHERE demo = "0.7/3"
CREATE TABLE table_name_29 (episode__number INTEGER, demo VARCHAR), Which episode with a demo of 0.7/3 was the lowest?
SELECT air_date FROM table_name_48 WHERE demo = "1.6/5"
CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR), When is the air date that demo-ed at 1.6/5?
SELECT title FROM table_name_37 WHERE demo = "1.6/5"
CREATE TABLE table_name_37 (title VARCHAR, demo VARCHAR), For demo 1.6/5, what is the title?
SELECT date FROM table_name_2 WHERE opponent = "gabriela paz-franco"
CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR), What date was gabriela paz-franco the opponent?
SELECT surface FROM table_name_43 WHERE date = "september 13, 2009"
CREATE TABLE table_name_43 (surface VARCHAR, date VARCHAR), What surface was the game played on for the September 13, 2009 match?
SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure"
CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR), On which track did Takashi Kogure hold pole position?
SELECT pole_position FROM table_name_33 WHERE team = "arting team impul" AND round = 3
CREATE TABLE table_name_33 (pole_position VARCHAR, team VARCHAR, round VARCHAR), On round 3 for Arting Team Impul, who held pole position?
SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka"
CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR), Who was the winner when Katsuyuki Hiranaka had the fastest lap?
SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure"
CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR), Before round 9, when Takashi Kogure held pole position, who was the team?
SELECT realvideo FROM table_name_86 WHERE mpeg_2 = "yes" AND mpeg_1 = "yes"
CREATE TABLE table_name_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR), Tell me the MPEG-2 of yes and MPEG-1 of yes
SELECT mpeg_1 FROM table_name_77 WHERE realvideo = "no"
CREATE TABLE table_name_77 (mpeg_1 VARCHAR, realvideo VARCHAR), Tell me the MPEG-1 for real video of no
SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26
CREATE TABLE table_name_28 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR), Tell me the affiliation for mls team of metrostars and pick number of 26
SELECT COUNT(pick__number) FROM table_name_9 WHERE position = "m" AND affiliation = "williams college"
CREATE TABLE table_name_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR), Tell me the total number of picks for position of m of williams college
SELECT runner_up FROM table_name_25 WHERE year = 1915
CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR), who was the runner-up in the 1915 competition for 'Articles with HCards'?
SELECT runner_up FROM table_name_39 WHERE year = 1887
CREATE TABLE table_name_39 (runner_up VARCHAR, year VARCHAR), Who was the runner-up in 1887 competition for 'Articles with HCards'?
SELECT home_team AS score FROM table_name_36 WHERE away_team = "collingwood"
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR), What is the home team score when the away team is Collingwood?
SELECT fleet FROM table_name_61 WHERE number = "l4"
CREATE TABLE table_name_61 (fleet VARCHAR, number VARCHAR), what fleet is associated with the number L4?
SELECT number FROM table_name_49 WHERE fleet = "baltic" AND name = "leninets (ленинец)"
CREATE TABLE table_name_49 (number VARCHAR, fleet VARCHAR, name VARCHAR), what number is associated with the baltic fleet and leninets (ленинец)?
SELECT launched FROM table_name_94 WHERE name = "garibaldets (гарибальдиец)"
CREATE TABLE table_name_94 (launched VARCHAR, name VARCHAR), when was garibaldets (гарибальдиец) launched?
SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6"
CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR), when was the number l6, with a fleet of black sea, launched?
SELECT number FROM table_name_85 WHERE name = "chartist (чартист)"
CREATE TABLE table_name_85 (number VARCHAR, name VARCHAR), what number is associated with the name chartist (чартист)?
SELECT date FROM table_name_90 WHERE venue = "punt road oval"
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR), What date did the VFL play Punt Road Oval?
SELECT home_team FROM table_name_99 WHERE venue = "arden street oval"
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR), Who played home team at the Arden Street Oval game?
SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park"
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR), How much did the away team score at Victoria park?
SELECT closure_date FROM table_name_70 WHERE region = "north east england"
CREATE TABLE table_name_70 (closure_date VARCHAR, region VARCHAR), What date was the ensemble in North East England closed?
SELECT operator FROM table_name_89 WHERE region = "yorkshire"
CREATE TABLE table_name_89 (operator VARCHAR, region VARCHAR), What was the operator of the ensemble from Yorkshire?
SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003"
CREATE TABLE table_name_96 (closure_date VARCHAR, on_air_date VARCHAR), When was the ensemble closed that went on air in June 2003?
SELECT licence_award_date FROM table_name_67 WHERE on_air_date = "july 2001" AND region = "south wales and the severn estuary"
CREATE TABLE table_name_67 (licence_award_date VARCHAR, on_air_date VARCHAR, region VARCHAR), What was the license award date for the ensemble from South Wales and the Severn Estuary that was on air in July 2001?
SELECT operator FROM table_name_99 WHERE region = "yorkshire"
CREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR), What is the operator of the ensemble from Yorkshire?
SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846
CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER), Who was the home team when attendance was over 41,846?
SELECT venue FROM table_name_28 WHERE home_team = "collingwood"
CREATE TABLE table_name_28 (venue VARCHAR, home_team VARCHAR), Where did Collingwood play as the home team?
SELECT home_team AS score FROM table_name_9 WHERE home_team = "south melbourne"
CREATE TABLE table_name_9 (home_team VARCHAR), What was South Melbourne's score when they played as the home team?
SELECT COUNT(crowd) FROM table_name_44 WHERE venue = "lake oval"
CREATE TABLE table_name_44 (crowd VARCHAR, venue VARCHAR), What was the attendance when the VFL played Lake Oval?
SELECT winning_team FROM table_name_80 WHERE winning_driver = "rick mears" AND name = "kraco twin 125 (r1)"
CREATE TABLE table_name_80 (winning_team VARCHAR, winning_driver VARCHAR, name VARCHAR), What is the Winning Team with Rick Mears' and Kraco Twin 125 (R1)?
SELECT name FROM table_name_52 WHERE winning_team = "penske racing"
CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR), What is Penske Racing's name?
SELECT winning_driver FROM table_name_30 WHERE winning_team = "penske racing" AND pole_position = "rick mears"
CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR), Who is the winning driver of Penske Racing, and what was Rick Mears' pole position?
SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)"
CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR), Who was Kraco Twin 125 (R2)'s Winning Driver?
SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears"
CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR), What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position?
SELECT pole_position FROM table_name_41 WHERE winning_team = "penske racing" AND name = "ii copa mexico 150"
CREATE TABLE table_name_41 (pole_position VARCHAR, winning_team VARCHAR, name VARCHAR), What is the Pole Position for Winning Team Penske Racing, and the Name of II Copa Mexico 150?
SELECT away_team FROM table_name_45 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR), Who was the away team at the game held at Brunswick Street Oval?