answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT opponent FROM table_name_97 WHERE score = "141–102"
CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR)
Who was the opponent with a score of 141–102?
SELECT opponent FROM table_name_7 WHERE score = "109–108"
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
Who was the opponent with a score of 109–108?
SELECT result FROM table_name_75 WHERE record = "62–12"
CREATE TABLE table_name_75 (result VARCHAR, record VARCHAR)
What was the result when the record was 62–12?
SELECT result FROM table_name_49 WHERE record = "58–11"
CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR)
What was the result with a record of 58–11?
SELECT MIN(number) FROM table_name_10 WHERE date = "january 2, 1936"
CREATE TABLE table_name_10 (number INTEGER, date VARCHAR)
What's the number of the game played on January 2, 1936?
SELECT record FROM table_name_50 WHERE number = 23
CREATE TABLE table_name_50 (record VARCHAR, number VARCHAR)
What's the record of game number 23?
SELECT MIN(points) FROM table_name_5 WHERE february < 1
CREATE TABLE table_name_5 (points INTEGER, february INTEGER)
How many Points a February smaller than 1 have?
SELECT COUNT(february) FROM table_name_40 WHERE points = 63 AND score = "1–2"
CREATE TABLE table_name_40 (february VARCHAR, points VARCHAR, score VARCHAR)
How many February days have Points of 63 and a Score of 1–2?
SELECT player FROM table_name_24 WHERE wins < 2
CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER)
What is the name of the player with less than 2 wins?
SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25
CREATE TABLE table_name_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR)
What is the number of earning for more than 2 wins and less than 25 events?
SELECT MAX(events) FROM table_name_65 WHERE wins > 2 AND earnings___$__ < 446 OFFSET 893
CREATE TABLE table_name_65 (events INTEGER, wins VARCHAR, earnings___$__ VARCHAR)
What is the largest events number for more than 2 wins and less than $446,893 in earnings?
SELECT visitor FROM table_name_42 WHERE time = "5:00 pm"
CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR)
Who was the visitor at 5:00 pm?
SELECT visitor FROM table_name_14 WHERE home = "pittsburgh penguins" AND time = "7:00 pm" AND record = "0-2-2"
CREATE TABLE table_name_14 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR)
Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2?
SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-2"
CREATE TABLE table_name_25 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR)
What is the home in mellon arena at 7:30 pm with a record o 2-5-2?
SELECT AVG(drawn) FROM table_name_29 WHERE games > 7
CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER)
Which average Drawn has Games larger than 7?
SELECT make FROM table_name_58 WHERE pos = 3
CREATE TABLE table_name_58 (make VARCHAR, pos VARCHAR)
Which Make has a Pos of 3?
SELECT MAX(car__number) FROM table_name_19 WHERE make = "toyota" AND driver = "mike skinner" AND pos > 3
CREATE TABLE table_name_19 (car__number INTEGER, pos VARCHAR, make VARCHAR, driver VARCHAR)
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?
SELECT make FROM table_name_48 WHERE car__number > 59
CREATE TABLE table_name_48 (make VARCHAR, car__number INTEGER)
Which Make has a Car # larger than 59?
SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying"
CREATE TABLE table_name_65 (results¹ VARCHAR, type_of_game VARCHAR)
What was the result of the Euro '64 qualifying game?
SELECT date FROM table_name_64 WHERE type_of_game = "euro '64 qualifying"
CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR)
What is the date of the Euro '64 qualifying game?
SELECT title FROM table_name_26 WHERE year = "1996"
CREATE TABLE table_name_26 (title VARCHAR, year VARCHAR)
What was the title in 1996?
SELECT role FROM table_name_91 WHERE year = "2001"
CREATE TABLE table_name_91 (role VARCHAR, year VARCHAR)
What was the role in 2001?
SELECT language FROM table_name_68 WHERE title = "taken"
CREATE TABLE table_name_68 (language VARCHAR, title VARCHAR)
What language was Taken in?
SELECT title FROM table_name_90 WHERE notes = "8 episodes"
CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR)
Which title had Notes of 8 episodes?
SELECT title FROM table_name_28 WHERE language = "portuguese"
CREATE TABLE table_name_28 (title VARCHAR, language VARCHAR)
Which title is in Portuguese?
SELECT role FROM table_name_80 WHERE year = "1996"
CREATE TABLE table_name_80 (role VARCHAR, year VARCHAR)
What was the role in 1996?
SELECT dates_active FROM table_name_78 WHERE storm_name = "irwin"
CREATE TABLE table_name_78 (dates_active VARCHAR, storm_name VARCHAR)
what date did the irwin storm take place
SELECT min_press___mbar__ FROM table_name_15 WHERE storm_name = "adrian"
CREATE TABLE table_name_15 (min_press___mbar__ VARCHAR, storm_name VARCHAR)
what is the minimum force of storm Adrian
SELECT AVG(number_of_households) FROM table_name_70 WHERE county = "highlands"
CREATE TABLE table_name_70 (number_of_households INTEGER, county VARCHAR)
How many households are in highlands county?
SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616"
CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR)
What is the Median household income associated with a median family income of $46,616?
SELECT time___et__ FROM table_name_49 WHERE location = "memorial stadium"
CREATE TABLE table_name_49 (time___et__ VARCHAR, location VARCHAR)
What time did the game at memorial stadium take place?
SELECT COUNT(bronze) FROM table_name_88 WHERE total = 64 AND silver > 16
CREATE TABLE table_name_88 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
What is the number of Bronze medals of the Nation with 64 total and silver greater than 16?
SELECT AVG(bronze) FROM table_name_8 WHERE nation = "kyrgyzstan" AND silver > 0
CREATE TABLE table_name_8 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
What is the bronze for Kyrgyzstan nation with a silver record of greater than 0?
SELECT AVG(gold) FROM table_name_25 WHERE bronze = 1 AND nation = "syria" AND total < 1
CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?
SELECT date FROM table_name_26 WHERE result = "w 27-24 (ot)"
CREATE TABLE table_name_26 (date VARCHAR, result VARCHAR)
When was the game with a result of w 27-24 (ot)?
SELECT date FROM table_name_65 WHERE record = "9-3"
CREATE TABLE table_name_65 (date VARCHAR, record VARCHAR)
When was the game with a record of 9-3?
SELECT game_time FROM table_name_96 WHERE record = "7-3"
CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR)
What time was the game with a record of 7-3?
SELECT COUNT(week) FROM table_name_36 WHERE venue = "memorial stadium" AND attendance < 41 OFFSET 252
CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?
SELECT SUM(week) FROM table_name_20 WHERE date = "october 21, 1974" AND attendance < 50 OFFSET 623
CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR)
What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?
SELECT frequency FROM table_name_97 WHERE launched = "21 august 1994"
CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR)
What is the frequency of the station that was launched on 21 August 1994?
SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl"
CREATE TABLE table_name_1 (launched VARCHAR, languages VARCHAR)
What is the launched date of the station in cora huichol tepehuano nahuatl language?
SELECT transmitting_from FROM table_name_15 WHERE coverage = "yucatán quintana roo campeche"
CREATE TABLE table_name_15 (transmitting_from VARCHAR, coverage VARCHAR)
Where is the station with a coverage of yucatán quintana roo campeche transmitting from?
SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla"
CREATE TABLE table_name_24 (frequency VARCHAR, coverage VARCHAR)
What is the frequency of the station with a coverage of oaxaca guerrero puebla?
SELECT transmitting_from FROM table_name_18 WHERE launched = "17 july 1997"
CREATE TABLE table_name_18 (transmitting_from VARCHAR, launched VARCHAR)
Where is the station that was launched on 17 July 1997 transmitting from?
SELECT coverage FROM table_name_83 WHERE launched = "22 january 1996"
CREATE TABLE table_name_83 (coverage VARCHAR, launched VARCHAR)
What is the coverage of the station that was launched on 22 January 1996?
SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 25
CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?
SELECT SUM(total) FROM table_name_46 WHERE nation = "germany" AND bronze < 56
CREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, bronze VARCHAR)
How many total medals for germany with under 56 bronzes?
SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 6
CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
How many total medals for the nation with 1 gold and 6 bronzes?
SELECT loss FROM table_name_52 WHERE record = "32–34"
CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR)
What was the loss of the game when the record was 32–34?
SELECT date FROM table_name_15 WHERE score = "15–6"
CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR)
What was the date of the game with a score of 15–6?
SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx"
CREATE TABLE table_name_65 (frequency VARCHAR, website VARCHAR)
what is the frequency of visits to elmanana.com.mx
SELECT result FROM table_name_3 WHERE opponent = "minnesota vikings"
CREATE TABLE table_name_3 (result VARCHAR, opponent VARCHAR)
What was the game result against the minnesota vikings?
SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993"
CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR)
What week shows for december 31, 1993?
SELECT result FROM table_name_48 WHERE date = "october 4, 1993"
CREATE TABLE table_name_48 (result VARCHAR, date VARCHAR)
What was the result on October 4, 1993?
SELECT SUM(week) FROM table_name_52 WHERE result = "l 17-14"
CREATE TABLE table_name_52 (week INTEGER, result VARCHAR)
What Week has a Result of l 17-14?
SELECT COUNT(year) FROM table_name_86 WHERE position = "2nd"
CREATE TABLE table_name_86 (year VARCHAR, position VARCHAR)
How many years have a position of 2nd?
SELECT event FROM table_name_72 WHERE year = 2000
CREATE TABLE table_name_72 (event VARCHAR, year VARCHAR)
Which event has a year of 2000?
SELECT position FROM table_name_7 WHERE notes = "2:12:53"
CREATE TABLE table_name_7 (position VARCHAR, notes VARCHAR)
What position has notes of 2:12:53?
SELECT AVG(round) FROM table_name_90 WHERE college = "notre dame" AND pick__number = "49"
CREATE TABLE table_name_90 (round INTEGER, college VARCHAR, pick__number VARCHAR)
What is the average round for draft pick #49 from Notre Dame?
SELECT college FROM table_name_80 WHERE pick__number = "327"
CREATE TABLE table_name_80 (college VARCHAR, pick__number VARCHAR)
What college is draft pick #327 from?
SELECT college FROM table_name_44 WHERE pick__number = "268"
CREATE TABLE table_name_44 (college VARCHAR, pick__number VARCHAR)
What college is pick number 268 from?
SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"
CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
What round pick was pick number 101 who plays defensive back?
SELECT pick__number FROM table_name_65 WHERE round > 7 AND college = "maryland"
CREATE TABLE table_name_65 (pick__number VARCHAR, round VARCHAR, college VARCHAR)
What pick number was from the college of maryland and was picked in a round larger than 7?
SELECT SUM(overall) FROM table_name_25 WHERE pick__number = 26
CREATE TABLE table_name_25 (overall INTEGER, pick__number VARCHAR)
How much Overall has a Pick # of 26?
SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois"
CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, college VARCHAR)
Which Position has a Round smaller than 14, and a College of illinois?
SELECT SUM(overall) FROM table_name_68 WHERE round < 6 AND pick__number = 26
CREATE TABLE table_name_68 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
How much Overall has a Round smaller than 6, and a Pick # of 26?
SELECT MAX(round) FROM table_name_67 WHERE name = "roy hall"
CREATE TABLE table_name_67 (round INTEGER, name VARCHAR)
What is Roy Hall's highest round?
SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey"
CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)
How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
SELECT opponent FROM table_name_70 WHERE score = "5–0"
CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR)
What is the oppenent when the score was 5–0?
SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4–5"
CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR)
What is the opponent before game 57 when the score was 4–5?
SELECT score FROM table_name_7 WHERE points > 74 AND game = 57
CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR)
What is the score when the points are larger than 74 and the game is 57?
SELECT MAX(year) FROM table_name_4 WHERE chassis = "toro rosso str1" AND points < 1
CREATE TABLE table_name_4 (year INTEGER, chassis VARCHAR, points VARCHAR)
When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
SELECT COUNT(year) FROM table_name_4 WHERE engine = "mercedes fo 108w 2.4l v8" AND points > 0
CREATE TABLE table_name_4 (year VARCHAR, engine VARCHAR, points VARCHAR)
How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?
SELECT engine FROM table_name_6 WHERE points = 3
CREATE TABLE table_name_6 (engine VARCHAR, points VARCHAR)
What is the engine for the car with 3 points?
SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion"
CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR)
Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?
SELECT unwto_region FROM table_name_24 WHERE country = "italy"
CREATE TABLE table_name_24 (unwto_region VARCHAR, country VARCHAR)
What is Italy's UNWTO region?
SELECT international_tourism_expenditure__2011_ FROM table_name_4 WHERE country = "china"
CREATE TABLE table_name_4 (international_tourism_expenditure__2011_ VARCHAR, country VARCHAR)
What is China's International tourism expenditure (2011)?
SELECT format FROM table_name_86 WHERE _number_episodes < 22 AND _number_disc_s_ = 4 AND region_4 = "n/a"
CREATE TABLE table_name_86 (format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR)
What was the format for the 4 disc season that had less than 22 episodes and n/a for region 4?
SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3
CREATE TABLE table_name_55 (top_25 INTEGER, tournament VARCHAR, top_10 VARCHAR)
What is the lowest Top-25 for the open championship, with a Top-10 larger than 3?
SELECT MAX(top_5) FROM table_name_32 WHERE tournament = "the open championship" AND top_25 < 9
CREATE TABLE table_name_32 (top_5 INTEGER, tournament VARCHAR, top_25 VARCHAR)
What is the highest Top-5 when the Tournament is the open championship, with a Top-25 less than 9?
SELECT AVG(top_25) FROM table_name_58 WHERE top_10 < 7 AND tournament = "the open championship" AND top_5 > 1
CREATE TABLE table_name_58 (top_25 INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR)
What is the average Top-25 that has a Top-10 less than 7, and the Tournament is the open championship, with a Top-5more than 1?
SELECT COUNT(top_5) FROM table_name_40 WHERE top_25 = 6 AND cuts_made < 12
CREATE TABLE table_name_40 (top_5 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
What is the total number of Top-5 when the Top-25 is 6, and a Cuts made are less than 12?
SELECT date FROM table_name_15 WHERE home = "wizards"
CREATE TABLE table_name_15 (date VARCHAR, home VARCHAR)
Which date had a home team of the Wizards?
SELECT MAX(week) FROM table_name_60 WHERE date = "november 12, 1967" AND attendance < 34 OFFSET 761
CREATE TABLE table_name_60 (week INTEGER, date VARCHAR, attendance VARCHAR)
What was the latest week with a date of November 12, 1967 and less than 34,761 in attendance?
SELECT date FROM table_name_11 WHERE week < 3 AND opponent = "houston oilers"
CREATE TABLE table_name_11 (date VARCHAR, week VARCHAR, opponent VARCHAR)
What is the date for the game with an opponent of the Houston Oilers from before week 3?
SELECT SUM(game) FROM table_name_39 WHERE team = "new york"
CREATE TABLE table_name_39 (game INTEGER, team VARCHAR)
What is the total for New York's game?
SELECT round FROM table_name_71 WHERE college = "indiana"
CREATE TABLE table_name_71 (round VARCHAR, college VARCHAR)
What round was a player from Indiana picked?
SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10
CREATE TABLE table_name_94 (losses VARCHAR, total VARCHAR, wins VARCHAR)
How many losses had a total of 17 and more than 10 wins?
SELECT _percentage_win FROM table_name_98 WHERE total > 16 AND losses < 7
CREATE TABLE table_name_98 (_percentage_win VARCHAR, total VARCHAR, losses VARCHAR)
What is the win percentage when there's more than 16 totals and less than 7 losses?
SELECT MIN(no_result) FROM table_name_57 WHERE year = "2012" AND wins > 10
CREATE TABLE table_name_57 (no_result INTEGER, year VARCHAR, wins VARCHAR)
What is the smallest no result when the year was 2012 and there were more than 10 wins?
SELECT socialist_ticket FROM table_name_6 WHERE democratic_ticket = "george k. shuler"
CREATE TABLE table_name_6 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
What is the name on the Socialist ticket when the Democratic ticket is george k. shuler?
SELECT democratic_ticket FROM table_name_76 WHERE workers_ticket = "franklin p. brill"
CREATE TABLE table_name_76 (democratic_ticket VARCHAR, workers_ticket VARCHAR)
What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
SELECT democratic_ticket FROM table_name_32 WHERE workers_ticket = "james p. cannon"
CREATE TABLE table_name_32 (democratic_ticket VARCHAR, workers_ticket VARCHAR)
What is the name on the Democratic ticket when the Workers ticket is james p. cannon?
SELECT office FROM table_name_63 WHERE republican_ticket = "seymour lowman"
CREATE TABLE table_name_63 (office VARCHAR, republican_ticket VARCHAR)
What is the Office when the Republican ticket shows seymour lowman?
SELECT republican_ticket FROM table_name_17 WHERE socialist_ticket = "louis waldman"
CREATE TABLE table_name_17 (republican_ticket VARCHAR, socialist_ticket VARCHAR)
What is the name on the Republican ticket when the Socialist ticket was louis waldman?
SELECT republican_ticket FROM table_name_63 WHERE workers_ticket = "edward lindgren"
CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR)
What is the name on the Republican ticket when the Workers ticket is edward lindgren?
SELECT democratic_ticket FROM table_name_38 WHERE socialist_labor_ticket = "belle j. rosen"
CREATE TABLE table_name_38 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)
Who's the Democratic ticket with a Socialist Labor ticket of belle j. rosen?
SELECT socialist_labor_ticket FROM table_name_49 WHERE republican_ticket = "cuthbert w. pound"
CREATE TABLE table_name_49 (socialist_labor_ticket VARCHAR, republican_ticket VARCHAR)
Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound?
SELECT office FROM table_name_63 WHERE republican_ticket = "daniel h. conway"
CREATE TABLE table_name_63 (office VARCHAR, republican_ticket VARCHAR)
Which Office has a Republican ticket of daniel h. conway?
SELECT socialist_ticket FROM table_name_74 WHERE law_preservation_ticket = "(none)" AND socialist_labor_ticket = "belle j. rosen"
CREATE TABLE table_name_74 (socialist_ticket VARCHAR, law_preservation_ticket VARCHAR, socialist_labor_ticket VARCHAR)
Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen?