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