answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT date FROM table_name_58 WHERE week > 2 AND result = "l 16–10"
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, result VARCHAR)
What is the date of the post-week 2 game with a result of l 16–10?
SELECT MAX(to_par) FROM table_name_27 WHERE player = "justin leonard" AND total < 297
CREATE TABLE table_name_27 (to_par INTEGER, player VARCHAR, total VARCHAR)
What is the highest to par number for Justin Leonard when the total is less than 297?
SELECT total FROM table_name_99 WHERE finish = "t44"
CREATE TABLE table_name_99 (total VARCHAR, finish VARCHAR)
What is the total when the finish was t44?
SELECT country FROM table_name_79 WHERE total > 293 AND to_par < 17
CREATE TABLE table_name_79 (country VARCHAR, total VARCHAR, to_par VARCHAR)
What country has a total larger than 293, and a to par less than 17?
SELECT agg FROM table_name_48 WHERE team_1 = "karaorman"
CREATE TABLE table_name_48 (agg VARCHAR, team_1 VARCHAR)
When Karaorman is Team 1, what is the Agg.?
SELECT week_3 FROM table_name_78 WHERE week_6 = "26.05"
CREATE TABLE table_name_78 (week_3 VARCHAR, week_6 VARCHAR)
What is week 3 when week 6 is 26.05?
SELECT week_5 FROM table_name_96 WHERE week_2 = "36.80" AND week_4 = "39.75"
CREATE TABLE table_name_96 (week_5 VARCHAR, week_2 VARCHAR, week_4 VARCHAR)
What is week 5 when week 2 is 36.80, and week 4 is 39.75?
SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40"
CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)
What is week 4 if week 3 is 35.40?
SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90"
CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR)
What is week 7 when week 3 is 35.90?
SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35"
CREATE TABLE table_name_22 (week_6 VARCHAR, week_2 VARCHAR, week_3 VARCHAR, week_7 VARCHAR, week_4 VARCHAR)
What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?
SELECT week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55"
CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR)
What is week 5 when week 6 is evicted, and week 2 is 34.55?
SELECT SUM(purse__) AS ¥_ FROM table_name_42 WHERE year > 2012
CREATE TABLE table_name_42 (purse__ INTEGER, year INTEGER)
How much is the purse worth (¥) after 2012?
SELECT place FROM table_name_72 WHERE score = 67 - 67 = 134
CREATE TABLE table_name_72 (place VARCHAR, score VARCHAR)
What place had a score of 67-67=134?
SELECT country FROM table_name_52 WHERE place = "t3" AND score = 70 - 65 = 135
CREATE TABLE table_name_52 (country VARCHAR, place VARCHAR, score VARCHAR)
What country placed t3 with a score of 70-65=135?
SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136
CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
What player placed t6 for the United States with a score of 67-69=136?
SELECT competition FROM table_name_59 WHERE round = "group a - match 1"
CREATE TABLE table_name_59 (competition VARCHAR, round VARCHAR)
What is Competition, when Round is "Group A - Match 1"?
SELECT date_and_time FROM table_name_2 WHERE competition = "serie a" AND result = "0-3"
CREATE TABLE table_name_2 (date_and_time VARCHAR, competition VARCHAR, result VARCHAR)
What is Date and Time, when Competition is "Serie A", and when Result is "0-3"?
SELECT competition FROM table_name_1 WHERE round = "8 a"
CREATE TABLE table_name_1 (competition VARCHAR, round VARCHAR)
What is Competition, when Round is "8 A"?
SELECT city_of_license FROM table_name_80 WHERE frequency > 1380
CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency INTEGER)
What is City of License, when Frequency is greater than 1380?
SELECT brand FROM table_name_68 WHERE frequency = 640
CREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR)
What is Brand, when Frequency is "640"?
SELECT AVG(frequency) FROM table_name_87 WHERE type = "norteño" AND brand = "la cotorra"
CREATE TABLE table_name_87 (frequency INTEGER, type VARCHAR, brand VARCHAR)
What is the average Frequency, when Type is "Norteño", and when Brand is "La Cotorra"?
SELECT type FROM table_name_97 WHERE frequency = 1480
CREATE TABLE table_name_97 (type VARCHAR, frequency VARCHAR)
What is Type, when Frequency is "1480"?
SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop"
CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR)
What is the sum of Frequency, when Type is "Christian Pop"?
SELECT type FROM table_name_50 WHERE callsign = "xetam"
CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR)
What is the Type, when Callsign is "Xetam"?
SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards"
CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR)
Which Chief Judge has Appointed by of reagan category:articles with hcards?
SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983"
CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)
Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?
SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?
SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875"
CREATE TABLE table_name_23 (chief_judge VARCHAR, active_service VARCHAR)
Which Chief Judge has Active service of 1873–1875?
SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"
CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR)
Which Reason for termination has Appointed by of eisenhower category:articles with hcards?
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)
Which Senior status has a Chief Judge of 1991–1995?
SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers"
CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR)
When did the Wolverhampton Wanderers play at home?
SELECT notes FROM table_name_88 WHERE year = 2004
CREATE TABLE table_name_88 (notes VARCHAR, year VARCHAR)
What are 2004's notes?
SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)
What year did Yuri Omeltchenko win Silver?
SELECT silver FROM table_name_53 WHERE year = 2000
CREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR)
Who won Silver in 2000?
SELECT score FROM table_name_88 WHERE date = "april 12"
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)
What is the score on April 12?
SELECT score FROM table_name_64 WHERE date = "april 5"
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
What is the score on April 5?
SELECT result FROM table_name_13 WHERE matches = "6"
CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR)
What was the result when there were 6 matches?
SELECT year FROM table_name_85 WHERE result = "did not qualify"
CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR)
What year was the result did not qualify?
SELECT result FROM table_name_99 WHERE year = "2008"
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR)
What was the result in 2008?
SELECT to_par FROM table_name_92 WHERE score = 69 - 72 = 141 AND player = "tim herron"
CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR, score VARCHAR)
What was the to par score for Tim Herron, who had a score of 69-72=141?
SELECT player FROM table_name_40 WHERE score = 70 - 71 = 141
CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)
Which golfer finished with a score of 70-71=141?
SELECT place FROM table_name_17 WHERE to_par = "+1" AND player = "adam scott"
CREATE TABLE table_name_17 (place VARCHAR, to_par VARCHAR, player VARCHAR)
In what place did Adam Scott, who had a to par score of +1, finish?
SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)
In what place did the golfer that scored 66-74=140 finish?
SELECT player FROM table_name_4 WHERE place = "t2"
CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)
Which player has a place of t2?
SELECT score FROM table_name_83 WHERE player = "nick faldo"
CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
What is the score for Nick Faldo?
SELECT AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11
CREATE TABLE table_name_46 (against INTEGER, geelong_fl VARCHAR, wins VARCHAR)
What's the average against of Leopold with more than 11 wins?
SELECT SUM(wins) FROM table_name_99 WHERE against < 1706 AND geelong_fl = "leopold"
CREATE TABLE table_name_99 (wins INTEGER, against VARCHAR, geelong_fl VARCHAR)
How many total wins for Leopold that had fewer than 1706 against?
SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250
CREATE TABLE table_name_22 (draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR)
What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?
SELECT SUM(against) FROM table_name_34 WHERE losses = 14 AND byes > 0
CREATE TABLE table_name_34 (against INTEGER, losses VARCHAR, byes VARCHAR)
What is the total number of against when they had 14 losses and more than 0 byes?
SELECT classification FROM table_name_82 WHERE dennis_kucinich = "3%" AND _percentage_of_all = "53%"
CREATE TABLE table_name_82 (classification VARCHAR, dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)
What is Classification, when Dennis Kucinich is "3%", and when % of All is "53%"?
SELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%"
CREATE TABLE table_name_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)
What is Dennis Kucinich, when % of All is "53%"?
SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"
CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)
What is John Edwards, when John Kerry is "70%"?
SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat"
CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR)
What is Dennis Kucinich, when Classification is "Democrat"?
SELECT john_kerry FROM table_name_94 WHERE john_edwards = "20%"
CREATE TABLE table_name_94 (john_kerry VARCHAR, john_edwards VARCHAR)
What is John Kerry, when John Edwards is "20%"?
SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = "5%"
CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR)
What is % of All, when Dennis Kucinich is "5%"?
SELECT date FROM table_name_66 WHERE round = "second round"
CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR)
What is the date of the second round?
SELECT round FROM table_name_52 WHERE date = "26 august 1995"
CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
What is the round on 26 August 1995?
SELECT round FROM table_name_41 WHERE date = "13 october 1984"
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
What is the round played on 13 October 1984?
SELECT result FROM table_name_75 WHERE home = "ssv ulm 1846"
CREATE TABLE table_name_75 (result VARCHAR, home VARCHAR)
What is the result for SSV ULM 1846?
SELECT transfer_window FROM table_name_76 WHERE moving_to = "alianza atlético" AND name = "v. zapata"
CREATE TABLE table_name_76 (transfer_window VARCHAR, moving_to VARCHAR, name VARCHAR)
What is the transfer window when moving to alianza atlético by the name of v. zapata?
SELECT moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara"
CREATE TABLE table_name_74 (moving_to VARCHAR, type VARCHAR, name VARCHAR)
Where is moving to the type loaned out under the name tragodara?
SELECT name FROM table_name_19 WHERE moving_to = "atlético minero"
CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR)
What is the name when moving to atlético minero?
SELECT type FROM table_name_28 WHERE moving_to = "alianza atlético"
CREATE TABLE table_name_28 (type VARCHAR, moving_to VARCHAR)
what is the type movinig to alianza atlético?
SELECT name FROM table_name_74 WHERE moving_to = "atlético minero"
CREATE TABLE table_name_74 (name VARCHAR, moving_to VARCHAR)
what is the name moving to atlético minero?
SELECT surface FROM table_name_45 WHERE date = "15 august 2009"
CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR)
What is the surface on 15 August 2009?
SELECT SUM(seats) FROM table_name_9 WHERE change = -1 AND party = "others" AND _percentage_votes > 0
CREATE TABLE table_name_9 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR, party VARCHAR)
How many seats does the party of others have with a change of -1 and more than 0% votes?
SELECT MIN(seats) FROM table_name_28 WHERE _percentage_change = -3.7 AND _percentage_votes > 4.7
CREATE TABLE table_name_28 (seats INTEGER, _percentage_change VARCHAR, _percentage_votes VARCHAR)
What are the fewest seats with a -3.7% change and more than 4.7% votes?
SELECT SUM(change) FROM table_name_89 WHERE _percentage_votes < 4.7 AND seats > 0
CREATE TABLE table_name_89 (change INTEGER, _percentage_votes VARCHAR, seats VARCHAR)
What is the change number with fewer than 4.7% votes and more than 0 seats?
SELECT MIN(seats) FROM table_name_12 WHERE _percentage_votes < 5.4 AND change > -1
CREATE TABLE table_name_12 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR)
What are the fewest seats with fewer than 5.4% seats and more than -1 change?
SELECT score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , france itf $25,000"
CREATE TABLE table_name_84 (score_in_the_final VARCHAR, partner VARCHAR, tournament VARCHAR)
What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000?
SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir"
CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR)
What surface did Ruxandra Dragomir play on?
SELECT partner FROM table_name_72 WHERE opponents_in_the_final = "lenka cenková kateřina šišková"
CREATE TABLE table_name_72 (partner VARCHAR, opponents_in_the_final VARCHAR)
Who had the opponent of Lenka Cenková kateřina šišková in the final?
SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber"
CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR)
What tournament had an opponent of Els Callens Nancy Feber?
SELECT winning_driver FROM table_name_18 WHERE winning_constructor = "mercer"
CREATE TABLE table_name_18 (winning_driver VARCHAR, winning_constructor VARCHAR)
What kind of Winning driver has a Winning constructor of mercer?
SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy"
CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Which Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy?
SELECT report FROM table_name_77 WHERE name = "tourist trophy"
CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)
Name the Report of tourist trophy?
SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie"
CREATE TABLE table_name_96 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR)
Name the Winning constructor on 31 may and a Circuit of madonie?
SELECT date FROM table_name_57 WHERE winning_constructor = "mercedes" AND circuit = "elgin"
CREATE TABLE table_name_57 (date VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
Name the Date of mercedes, and a Circuit of elgin?
SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"
CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)
Name the Winning driver of mercedes on 22 august?
SELECT stadium FROM table_name_76 WHERE coach = "rashid budaj"
CREATE TABLE table_name_76 (stadium VARCHAR, coach VARCHAR)
Which stadium did Rashid Budaj coach?
SELECT coach FROM table_name_67 WHERE city = "al farwaniyah"
CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)
Who coached for al farwaniyah?
SELECT coach FROM table_name_58 WHERE club = "qadsia"
CREATE TABLE table_name_58 (coach VARCHAR, club VARCHAR)
Who was the coach for qadsia?
SELECT stadium FROM table_name_3 WHERE club = "kuwait"
CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR)
Which stadium had the club Kuwait?
SELECT score FROM table_name_29 WHERE year = "1990"
CREATE TABLE table_name_29 (score VARCHAR, year VARCHAR)
What's the score in 1990?
SELECT champion FROM table_name_3 WHERE name = "philips open" AND runner_up = "javier sánchez"
CREATE TABLE table_name_3 (champion VARCHAR, name VARCHAR, runner_up VARCHAR)
Who was the champion of the Philips Open with a runner-up of Javier Sánchez?
SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg"
CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR)
What's the score of the Nice International Championships where Björn Borg was the champion?
SELECT year FROM table_name_58 WHERE score = "6–2, 2–6, 5–7, 7–6, 8–6"
CREATE TABLE table_name_58 (year VARCHAR, score VARCHAR)
What year had a score of 6–2, 2–6, 5–7, 7–6, 8–6?
SELECT name FROM table_name_88 WHERE champion = "henrik sundström"
CREATE TABLE table_name_88 (name VARCHAR, champion VARCHAR)
What's the name when Henrik Sundström was champion?
SELECT score FROM table_name_83 WHERE away_team = "bolton wanderers"
CREATE TABLE table_name_83 (score VARCHAR, away_team VARCHAR)
When the away team was Bolton Wanderers, what was the score?
SELECT score FROM table_name_76 WHERE date = "30/01/1991" AND away_team = "liverpool"
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR, away_team VARCHAR)
On the date of 30/01/1991, when the away team was Liverpool, what was the score?
SELECT score FROM table_name_44 WHERE tie_no = "1"
CREATE TABLE table_name_44 (score VARCHAR, tie_no VARCHAR)
When the tie no was 1, what was the score?
SELECT score FROM table_name_54 WHERE home_team = "shrewsbury town"
CREATE TABLE table_name_54 (score VARCHAR, home_team VARCHAR)
When the home team was Shrewsbury town, what was the score?
SELECT tie_no FROM table_name_12 WHERE home_team = "woking"
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
When the home team was Woking, what was the tie no?
SELECT attendance FROM table_name_98 WHERE away_team = "cambridge city"
CREATE TABLE table_name_98 (attendance VARCHAR, away_team VARCHAR)
How many people attended the game against away team Cambridge City?
SELECT home_team FROM table_name_37 WHERE away_team = "aylesbury vale"
CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
Who was the home team that played against Aylesbury Vale?
SELECT home_team FROM table_name_12 WHERE tie_no = "44"
CREATE TABLE table_name_12 (home_team VARCHAR, tie_no VARCHAR)
Which home team has 44 ties?
SELECT attendance FROM table_name_74 WHERE home_team = "witton albion"
CREATE TABLE table_name_74 (attendance VARCHAR, home_team VARCHAR)
How many people attended the game with home team Witton Albion?
SELECT attendance FROM table_name_51 WHERE home_team = "billericay town"
CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR)
What was the attendance at the Billericay Town home game?
SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)"
CREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)
What was the tie number of the away game for Ashford Town (Middx)?
SELECT attendance FROM table_name_34 WHERE home_team = "billericay town"
CREATE TABLE table_name_34 (attendance VARCHAR, home_team VARCHAR)
What was the attendance at the Billericay Town home game?