context
stringlengths
27
489
question
stringlengths
12
244
answer
stringlengths
18
557
CREATE TABLE table_name_39 (nfl_club VARCHAR, pick VARCHAR, round VARCHAR)
What is the NFL club with a pick less than 74 and a round greater than 2?
SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 2
CREATE TABLE table_name_73 (conference_semifinals VARCHAR, record VARCHAR)
Which Conference Semifinals has a Record of 55–27?
SELECT conference_semifinals FROM table_name_73 WHERE record = "55–27"
CREATE TABLE table_name_57 (conference_semifinals VARCHAR, conference_finals VARCHAR)
Which Conference Semifinals has a Conference Finals of † denotes division championship?
SELECT conference_semifinals FROM table_name_57 WHERE conference_finals = "† denotes division championship"
CREATE TABLE table_name_32 (conference_finals VARCHAR, seed VARCHAR)
Which Conference Finals has a Seed of † denotes division championship?
SELECT conference_finals FROM table_name_32 WHERE seed = "† denotes division championship"
CREATE TABLE table_name_43 (rank VARCHAR, publication VARCHAR)
What rank is the publication the observer music monthly?
SELECT rank FROM table_name_43 WHERE publication = "the observer music monthly"
CREATE TABLE table_name_10 (year INTEGER, publication VARCHAR)
What is the publication the observer music monthly highest year?
SELECT MAX(year) FROM table_name_10 WHERE publication = "the observer music monthly"
CREATE TABLE table_name_71 (attendance INTEGER, venue VARCHAR, date VARCHAR)
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"?
SELECT AVG(attendance) FROM table_name_71 WHERE venue = "candlestick park" AND date = "december 27"
CREATE TABLE table_name_32 (result VARCHAR, date VARCHAR)
What is Result, when Date is "November 22"?
SELECT result FROM table_name_32 WHERE date = "november 22"
CREATE TABLE table_name_54 (attendance INTEGER, venue VARCHAR, date VARCHAR)
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"?
SELECT AVG(attendance) FROM table_name_54 WHERE venue = "candlestick park" AND date = "november 25"
CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)
What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold?
SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken"
CREATE TABLE table_name_14 (label VARCHAR, format VARCHAR, region VARCHAR)
What label is in CD format in Australia?
SELECT label FROM table_name_14 WHERE format = "cd" AND region = "australia"
CREATE TABLE table_name_96 (label VARCHAR, catalog VARCHAR)
What is the label for catalog number CRG3P-90054?
SELECT label FROM table_name_96 WHERE catalog = "crg3p-90054"
CREATE TABLE table_name_40 (format VARCHAR, label VARCHAR)
What is the format for the MCA label?
SELECT format FROM table_name_40 WHERE label = "mca"
CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)
What is the catalog number for the Grilled Cheese label?
SELECT catalog FROM table_name_33 WHERE label = "grilled cheese"
CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)
Which region has the format CD and label MCA?
SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca"
CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)
What is the format for the label Mightier than Sword on January 12, 2010 in the United States?
SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword"
CREATE TABLE table_name_15 (station VARCHAR, height_above_sea_level__m_ VARCHAR)
Which station that sat 54m above seal level is now Closed?
SELECT station FROM table_name_15 WHERE height_above_sea_level__m_ = "54m" AND "closed" = "closed"
CREATE TABLE table_name_6 (closed VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
Opened prior to 1877 only 2.44km from Wellington, when did this station close?
SELECT closed FROM table_name_6 WHERE opened < 1877 AND distance_from_wellington = "2.44km"
CREATE TABLE table_name_2 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?
SELECT height_above_sea_level__m_ FROM table_name_2 WHERE opened < 1887 AND distance_from_wellington = "175.67km"
CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?
SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distance_from_wellington = "604.53km"
CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR)
Who was the opponent at the game attended by 70,012?
SELECT opponent FROM table_name_81 WHERE attendance = "70,012"
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 date FROM table_name_58 WHERE week > 2 AND result = "l 16–10"
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 MAX(to_par) FROM table_name_27 WHERE player = "justin leonard" AND total < 297
CREATE TABLE table_name_99 (total VARCHAR, finish VARCHAR)
What is the total when the finish was t44?
SELECT total FROM table_name_99 WHERE finish = "t44"
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 country FROM table_name_79 WHERE total > 293 AND to_par < 17
CREATE TABLE table_name_48 (agg VARCHAR, team_1 VARCHAR)
When Karaorman is Team 1, what is the Agg.?
SELECT agg FROM table_name_48 WHERE team_1 = "karaorman"
CREATE TABLE table_name_78 (week_3 VARCHAR, week_6 VARCHAR)
What is week 3 when week 6 is 26.05?
SELECT week_3 FROM table_name_78 WHERE week_6 = "26.05"
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_5 FROM table_name_96 WHERE week_2 = "36.80" AND week_4 = "39.75"
CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)
What is week 4 if week 3 is 35.40?
SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40"
CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR)
What is week 7 when week 3 is 35.90?
SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90"
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_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_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 week_5 FROM table_name_3 WHERE week_6 = "evicted" AND week_2 = "34.55"
CREATE TABLE table_name_42 (purse__ INTEGER, year INTEGER)
How much is the purse worth (¥) after 2012?
SELECT SUM(purse__) AS ¥_ FROM table_name_42 WHERE year > 2012
CREATE TABLE table_name_72 (place VARCHAR, score VARCHAR)
What place had a score of 67-67=134?
SELECT place FROM table_name_72 WHERE score = 67 - 67 = 134
CREATE TABLE table_name_52 (country VARCHAR, place VARCHAR, score VARCHAR)
What country placed t3 with a score of 70-65=135?
SELECT country FROM table_name_52 WHERE place = "t3" AND score = 70 - 65 = 135
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 player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136
CREATE TABLE table_name_59 (competition VARCHAR, round VARCHAR)
What is Competition, when Round is "Group A - Match 1"?
SELECT competition FROM table_name_59 WHERE round = "group a - match 1"
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 date_and_time FROM table_name_2 WHERE competition = "serie a" AND result = "0-3"
CREATE TABLE table_name_1 (competition VARCHAR, round VARCHAR)
What is Competition, when Round is "8 A"?
SELECT competition FROM table_name_1 WHERE round = "8 a"
CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency INTEGER)
What is City of License, when Frequency is greater than 1380?
SELECT city_of_license FROM table_name_80 WHERE frequency > 1380
CREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR)
What is Brand, when Frequency is "640"?
SELECT brand FROM table_name_68 WHERE frequency = 640
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 AVG(frequency) FROM table_name_87 WHERE type = "norteño" AND brand = "la cotorra"
CREATE TABLE table_name_97 (type VARCHAR, frequency VARCHAR)
What is Type, when Frequency is "1480"?
SELECT type FROM table_name_97 WHERE frequency = 1480
CREATE TABLE table_name_13 (frequency INTEGER, type VARCHAR)
What is the sum of Frequency, when Type is "Christian Pop"?
SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop"
CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR)
What is the Type, when Callsign is "Xetam"?
SELECT type FROM table_name_50 WHERE callsign = "xetam"
CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR)
Which Chief Judge has Appointed by of reagan category:articles with hcards?
SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards"
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_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983"
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 senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
CREATE TABLE table_name_23 (chief_judge VARCHAR, active_service VARCHAR)
Which Chief Judge has Active service of 1873–1875?
SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875"
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 reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)
Which Senior status has a Chief Judge of 1991–1995?
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR)
When did the Wolverhampton Wanderers play at home?
SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers"
CREATE TABLE table_name_88 (notes VARCHAR, year VARCHAR)
What are 2004's notes?
SELECT notes FROM table_name_88 WHERE year = 2004
CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)
What year did Yuri Omeltchenko win Silver?
SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
CREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR)
Who won Silver in 2000?
SELECT silver FROM table_name_53 WHERE year = 2000
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)
What is the score on April 12?
SELECT score FROM table_name_88 WHERE date = "april 12"
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
What is the score on April 5?
SELECT score FROM table_name_64 WHERE date = "april 5"
CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR)
What was the result when there were 6 matches?
SELECT result FROM table_name_13 WHERE matches = "6"
CREATE TABLE table_name_85 (year VARCHAR, result VARCHAR)
What year was the result did not qualify?
SELECT year FROM table_name_85 WHERE result = "did not qualify"
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR)
What was the result in 2008?
SELECT result FROM table_name_99 WHERE year = "2008"
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 to_par FROM table_name_92 WHERE score = 69 - 72 = 141 AND player = "tim herron"
CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)
Which golfer finished with a score of 70-71=141?
SELECT player FROM table_name_40 WHERE score = 70 - 71 = 141
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_17 WHERE to_par = "+1" AND player = "adam scott"
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)
In what place did the golfer that scored 66-74=140 finish?
SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140
CREATE TABLE table_name_4 (player VARCHAR, place VARCHAR)
Which player has a place of t2?
SELECT player FROM table_name_4 WHERE place = "t2"
CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
What is the score for Nick Faldo?
SELECT score FROM table_name_83 WHERE player = "nick faldo"
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 AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11
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 SUM(wins) FROM table_name_99 WHERE against < 1706 AND geelong_fl = "leopold"
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 MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250
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 SUM(against) FROM table_name_34 WHERE losses = 14 AND byes > 0
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 classification FROM table_name_82 WHERE dennis_kucinich = "3%" AND _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 dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%"
CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)
What is John Edwards, when John Kerry is "70%"?
SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"
CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR)
What is Dennis Kucinich, when Classification is "Democrat"?
SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat"
CREATE TABLE table_name_94 (john_kerry VARCHAR, john_edwards VARCHAR)
What is John Kerry, when John Edwards is "20%"?
SELECT john_kerry FROM table_name_94 WHERE john_edwards = "20%"
CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR)
What is % of All, when Dennis Kucinich is "5%"?
SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = "5%"
CREATE TABLE table_name_66 (date VARCHAR, round VARCHAR)
What is the date of the second round?
SELECT date FROM table_name_66 WHERE round = "second round"
CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
What is the round on 26 August 1995?
SELECT round FROM table_name_52 WHERE date = "26 august 1995"
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
What is the round played on 13 October 1984?
SELECT round FROM table_name_41 WHERE date = "13 october 1984"
CREATE TABLE table_name_75 (result VARCHAR, home VARCHAR)
What is the result for SSV ULM 1846?
SELECT result FROM table_name_75 WHERE home = "ssv ulm 1846"
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 transfer_window FROM table_name_76 WHERE moving_to = "alianza atlético" AND name = "v. zapata"
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 moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara"
CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR)
What is the name when moving to atlético minero?
SELECT name FROM table_name_19 WHERE moving_to = "atlético minero"
CREATE TABLE table_name_28 (type VARCHAR, moving_to VARCHAR)
what is the type movinig to alianza atlético?
SELECT type FROM table_name_28 WHERE moving_to = "alianza atlético"
CREATE TABLE table_name_74 (name VARCHAR, moving_to VARCHAR)
what is the name moving to atlético minero?
SELECT name FROM table_name_74 WHERE moving_to = "atlético minero"
CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR)
What is the surface on 15 August 2009?
SELECT surface FROM table_name_45 WHERE date = "15 august 2009"
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 SUM(seats) FROM table_name_9 WHERE change = -1 AND party = "others" AND _percentage_votes > 0
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 MIN(seats) FROM table_name_28 WHERE _percentage_change = -3.7 AND _percentage_votes > 4.7
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 SUM(change) FROM table_name_89 WHERE _percentage_votes < 4.7 AND seats > 0
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 MIN(seats) FROM table_name_12 WHERE _percentage_votes < 5.4 AND change > -1
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 score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , france itf $25,000"
CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR)
What surface did Ruxandra Dragomir play on?
SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir"
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 partner FROM table_name_72 WHERE opponents_in_the_final = "lenka cenková kateřina šišková"
CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR)
What tournament had an opponent of Els Callens Nancy Feber?
SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber"
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_18 WHERE winning_constructor = "mercer"
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 winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy"
CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)
Name the Report of tourist trophy?
SELECT report FROM table_name_77 WHERE name = "tourist trophy"
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 winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie"
CREATE TABLE table_name_57 (date VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
Name the Date of mercedes, and a Circuit of elgin?
SELECT date FROM table_name_57 WHERE winning_constructor = "mercedes" AND circuit = "elgin"
CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)
Name the Winning driver of mercedes on 22 august?
SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"