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