answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT playoffs FROM table_name_99 WHERE regular_season = "on hiatus."
Who Playoffs has a Regular Season of on hiatus.?
CREATE TABLE table_name_99 (playoffs VARCHAR, regular_season VARCHAR)
SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie bronnimann"
What is the Date of the Competition with Man of the Match Ollie Bronnimann?
CREATE TABLE table_name_41 (date VARCHAR, man_of_the_match VARCHAR)
SELECT polling_firm FROM table_name_42 WHERE dates = "august 2006"
Which firm conducted a poll in August 2006?
CREATE TABLE table_name_42 (polling_firm VARCHAR, dates VARCHAR)
SELECT set_1 FROM table_name_42 WHERE time = "13:00" AND total = "97–74"
What is the set 1 when the time is 13:00, and total is 97–74?
CREATE TABLE table_name_42 (set_1 VARCHAR, time VARCHAR, total VARCHAR)
SELECT club_team FROM table_name_70 WHERE overall = 216
What club team has 216 overall?
CREATE TABLE table_name_70 (club_team VARCHAR, overall VARCHAR)
SELECT format FROM table_name_83 WHERE code = "9 40231-2 (us only)"
What is the format of code 9 40231-2 (us only)?
CREATE TABLE table_name_83 (format VARCHAR, code VARCHAR)
SELECT memory___ram__ FROM table_name_40 WHERE operating_system_version = "maemo 5"
How much memory (RAM) does the Maemo 5 operating system have?
CREATE TABLE table_name_40 (memory___ram__ VARCHAR, operating_system_version VARCHAR)
SELECT SUM(week) FROM table_name_24 WHERE result = "w 20–6"
How many weeks had a Result of w 20–6?
CREATE TABLE table_name_24 (week INTEGER, result VARCHAR)
SELECT college FROM table_name_74 WHERE round > 9 AND player = "butch webster"
WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?
CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)
SELECT music FROM table_name_32 WHERE points_jury = "18 (5,5,4,4)"
Which Music has a Points Jury of 18 (5,5,4,4)?
CREATE TABLE table_name_32 (music VARCHAR, points_jury VARCHAR)
SELECT name FROM table_name_52 WHERE area = "balclutha" AND roll < 55
Which school in Balclutha has a roll smaller than 55?
CREATE TABLE table_name_52 (name VARCHAR, area VARCHAR, roll VARCHAR)
SELECT COUNT(wins) FROM table_2182562_1 WHERE avg_start = "29.0"
How many wins when the average start is 29.0?
CREATE TABLE table_2182562_1 (wins VARCHAR, avg_start VARCHAR)
SELECT 1992 FROM table_name_74 WHERE 1999 = "year-end championship"
What is 1992, when 1999 is "Year-End Championship"?
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT opponent FROM table_name_9 WHERE tournament = "tarragona"
What was the Opponent in the Tarragona Tournament?
CREATE TABLE table_name_9 (opponent VARCHAR, tournament VARCHAR)
SELECT AVG(top_25) FROM table_name_31 WHERE events < 0
Name the averae top 25 with events less than 0
CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER)
SELECT MIN(grid) FROM table_name_47 WHERE entrant = "fred saunders"
What's the lowest grid with and entrant of fred saunders?
CREATE TABLE table_name_47 (grid INTEGER, entrant VARCHAR)
SELECT country FROM table_name_69 WHERE winner_and_nominees = "hidden agenda"
The winner and nominee 'Hidden Agenda' is from which country?
CREATE TABLE table_name_69 (country VARCHAR, winner_and_nominees VARCHAR)
SELECT score FROM table_name_89 WHERE outcome = "winner" AND opponent = "byron black"
WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK?
CREATE TABLE table_name_89 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
SELECT license FROM table_name_11 WHERE name = "rygel"
What is the license for Rygel?
CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR)
SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%"
what's the party with candidates  jerry weller (r) 51.77% clem balanoff (d) 48.23%
CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR)
SELECT team_1 FROM table_name_79 WHERE team_2 = "asante kotoko"
Which team 1 had a team 2 of Asante Kotoko?
CREATE TABLE table_name_79 (team_1 VARCHAR, team_2 VARCHAR)
SELECT result FROM table_name_36 WHERE date = "november 25, 1973"
What were the results for november 25, 1973?
CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)
SELECT date FROM table_name_18 WHERE attendance = "16,404"
What was the date of the game with 16,404 people?
CREATE TABLE table_name_18 (date VARCHAR, attendance VARCHAR)
SELECT decision FROM table_name_53 WHERE record = "45–18–6"
What was the decision of the Red Wings game when they had a record of 45–18–6?
CREATE TABLE table_name_53 (decision VARCHAR, record VARCHAR)
SELECT COUNT(wins) FROM table_name_8 WHERE winnings = "$184,190" AND top_10 > 1
How many Wins have Winnings of $184,190, and a Top 10 larger than 1?
CREATE TABLE table_name_8 (wins VARCHAR, winnings VARCHAR, top_10 VARCHAR)
SELECT winning_score FROM table_name_92 WHERE date = "aug 21, 1977"
What was the winning score on Aug 21, 1977?
CREATE TABLE table_name_92 (winning_score VARCHAR, date VARCHAR)
SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61"
What tyre has a chassis of p57 p61?
CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR)
SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand"
Name the si prefix for thousand chuquet
CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR)
SELECT dates FROM table_1529260_2 WHERE score = 66 - 72 - 64 - 65 = 267
At what date is the score 66-72-64-65=267?
CREATE TABLE table_1529260_2 (dates VARCHAR, score VARCHAR)
SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois"
List the total number of institutions founded in Rock Island, Illinois.
CREATE TABLE table_18483171_1 (founded VARCHAR, location VARCHAR)
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
What To par has a Country of united states, and a Score of 67-66-78-77=288?
CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972
Who was elected in 1972
CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)
SELECT podcast_date FROM table_name_21 WHERE episode_number = 103
What is the date for the podcast episode number 103?
CREATE TABLE table_name_21 (podcast_date VARCHAR, episode_number VARCHAR)
SELECT SUM(bronze) FROM table_name_77 WHERE silver = 1 AND rank < 6 AND gold < 6
What is the total number of bronzes associated with 1 silver, ranks under 6 and under 6 golds?
CREATE TABLE table_name_77 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(station) FROM table_14688744_2 WHERE station_code = "AWY"
what amount of stations have station code is awy?
CREATE TABLE table_14688744_2 (station VARCHAR, station_code VARCHAR)
SELECT english FROM table_name_88 WHERE character = "lin ming kuan (林明寬)"
What is the English character for Lin Ming Kuan (林明寬)?
CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR)
SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi"
Which team had a manager replaced by Ebrahim Talebi?
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)
SELECT MIN(to_par) FROM table_name_91 WHERE player = "bob charles"
What is the lowest to par for Bob Charles?
CREATE TABLE table_name_91 (to_par INTEGER, player VARCHAR)
SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott"
What was the average number of rounds in the fight where Tank Abbott lost?
CREATE TABLE table_name_66 (round INTEGER, loser VARCHAR)
SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President"
What are the first and last name of the president of the club "Bootup Baltimore"?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR, position VARCHAR)
SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"
What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?
CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)"
What are the losses where the award is Mike Miller (Smoy)?
CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR)
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-4)"
Result of 86-87 (2-4) involves what home team?
CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR)
SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill"
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?
CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
SELECT location FROM table_name_80 WHERE game > 6
What was the location of the game after game 6?
CREATE TABLE table_name_80 (location VARCHAR, game INTEGER)
SELECT county FROM table_23014476_1 WHERE others__percentage = "5.8"
Name the couty for others% 5.8
CREATE TABLE table_23014476_1 (county VARCHAR, others__percentage VARCHAR)
SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945
When did the episode originally air with a nick production number of 945?
CREATE TABLE table_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR)
SELECT results¹ FROM table_name_84 WHERE opponent = "egypt"
What were the results against the game against Egypt?
CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR)
SELECT frequency FROM table_name_77 WHERE owner = "rogers communications rogers radio" AND call_sign = "cikz-fm"
Which Frequency has an Owner of rogers communications rogers radio, and a Call sign of cikz-fm?
CREATE TABLE table_name_77 (frequency VARCHAR, owner VARCHAR, call_sign VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"
What was the score when geelong was the away team?
CREATE TABLE table_name_45 (home_team VARCHAR)
SELECT classification__judges_ FROM table_21829580_1 WHERE detailed_grades = "9, 9, 8, 9"
Name the classification for 9, 9, 8, 9
CREATE TABLE table_21829580_1 (classification__judges_ VARCHAR, detailed_grades VARCHAR)
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
When was Jonny Leadbeater President?
CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)
SELECT record FROM table_name_7 WHERE score = "135–134"
Which record has a score of 135–134?
CREATE TABLE table_name_7 (record VARCHAR, score VARCHAR)
SELECT alma_mater FROM table_18042409_1 WHERE player = "Steve Hoar"
What university did Steve Hoar attend.
CREATE TABLE table_18042409_1 (alma_mater VARCHAR, player VARCHAR)
SELECT date FROM table_name_67 WHERE penciller = "tomás giorello" AND title = "cimmeria"
What was the Date of the Cimmeria Issue for which the Penciller was Tomás Giorello?
CREATE TABLE table_name_67 (date VARCHAR, penciller VARCHAR, title VARCHAR)
SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1"
What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?
CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR)
SELECT SUM(attendance) FROM table_name_11 WHERE opponent = "detroit lions"
How many attendances had the Detroit Lions as opponents?
CREATE TABLE table_name_11 (attendance INTEGER, opponent VARCHAR)
SELECT award FROM table_name_85 WHERE result = "nominated" AND year = 2003
Which Award has a Result of nominated, and a Year of 2003?
CREATE TABLE table_name_85 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT SUM(against) FROM table_name_75 WHERE ballarat_fl = "east point" AND wins < 16
What is the sum of against in Ballarat FL of East Point and wins less than 16?
CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR)
SELECT COUNT(*) FROM farm
How many farms are there?
CREATE TABLE farm (Id VARCHAR)
SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND chassis = "ts19 ts20"
Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20
CREATE TABLE table_name_22 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT 2005 FROM table_name_46 WHERE cargo = "all product carriers"
What was the cargo value in 2005 for all product carriers?
CREATE TABLE table_name_46 (cargo VARCHAR)
SELECT party FROM table_name_1 WHERE municipality = "tampere"
Municipality of tampere involves which party?
CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR)
SELECT money___$__ FROM table_name_62 WHERE player = "horton smith"
How much money does player horton smith have?
CREATE TABLE table_name_62 (money___$__ VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_19 WHERE tv_time = "bye"
What was the name of the opponent that having a TV time of Bye?
CREATE TABLE table_name_19 (opponent VARCHAR, tv_time VARCHAR)
SELECT record FROM table_23308178_5 WHERE date = "November 7"
What was the record in the November 7 game?
CREATE TABLE table_23308178_5 (record VARCHAR, date VARCHAR)
SELECT MIN(round) FROM table_name_26 WHERE college = "northeastern" AND player = "reggie lewis"
What round was northeastern college player Reggie Lewis drafted in?
CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR)
SELECT venue FROM table_name_57 WHERE away_team = "richmond"
Where did Richmond play as the away team?
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
SELECT time FROM table_name_93 WHERE notes = "men's speed skating"
Which Time has Notes of men's speed skating?
CREATE TABLE table_name_93 (time VARCHAR, notes VARCHAR)
SELECT enrollment, primary_conference FROM university ORDER BY founded LIMIT 1
Show the enrollment and primary_conference of the oldest college.
CREATE TABLE university (enrollment VARCHAR, primary_conference VARCHAR, founded VARCHAR)
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
What are the candidates in the district whose incumbent is Gus Yatron?
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"
What is the weight for the v t e of živko gocić category:articles with hcards?
CREATE TABLE table_name_91 (weight VARCHAR, name_v_t_e VARCHAR)
SELECT status FROM table_20898602_1 WHERE pick__number = 32
state the status of pick # 32
CREATE TABLE table_20898602_1 (status VARCHAR, pick__number VARCHAR)
SELECT capacity FROM table_name_36 WHERE code = "d4f bi-fuel 732"
what is the capacity when the code is d4f bi-fuel 732?
CREATE TABLE table_name_36 (capacity VARCHAR, code VARCHAR)
SELECT agg FROM table_name_49 WHERE opponent = "koper"
What was the aggregate total for the match against Koper?
CREATE TABLE table_name_49 (agg VARCHAR, opponent VARCHAR)
SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 2
What is the lowest feature with 2 wins and 2 sprints?
CREATE TABLE table_name_32 (feature INTEGER, wins VARCHAR, sprint VARCHAR)
SELECT season FROM table_name_33 WHERE away = "2-2" AND home = "1-0"
In which season was the Away record 2-2 and At Home record 1-0?
CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR)
SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009"
What is the catalog of the record released on May 27, 2009?
CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)
SELECT name FROM table_name_49 WHERE term_end = "2013"
What was the name of the leader whose term ended in 2013?
CREATE TABLE table_name_49 (name VARCHAR, term_end VARCHAR)
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
How many digital terrestrial channels are there for channel 4?
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
SELECT tail_number FROM table_name_32 WHERE fatalities = "3/3"
What was the tail number with 3/3 fatalities?
CREATE TABLE table_name_32 (tail_number VARCHAR, fatalities VARCHAR)
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1
Which rec has Yards of 192, and a Touchdown smaller than 1?
CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR)
SELECT license FROM table_name_23 WHERE release_date = "2009-08"
Which licence has a release date of 2009-08?
CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)
SELECT COUNT(game) FROM table_name_87 WHERE location = "toronto" AND points < 31
What is the total number of games at Toronto with less than 31 points?
CREATE TABLE table_name_87 (game VARCHAR, location VARCHAR, points VARCHAR)
SELECT visiting_team FROM table_name_49 WHERE stadium = "3com park" AND date = "october 7"
What visiting team played at 3com park on October 7?
CREATE TABLE table_name_49 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR)
SELECT series FROM table_name_16 WHERE team = "@boston" AND game < 3
what is the series when the team is @boston and the game is smaller than 3?
CREATE TABLE table_name_16 (series VARCHAR, team VARCHAR, game VARCHAR)
SELECT component FROM table_name_21 WHERE integrated = "one"
What component has an integrated of one?
CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR)
SELECT department_id, SUM(salary) FROM employees GROUP BY department_id HAVING COUNT(*) >= 2
display the department id and the total salary for those departments which contains at least two employees.
CREATE TABLE employees (department_id VARCHAR, salary INTEGER)
SELECT SUM(year) FROM table_name_97 WHERE start = "33"
What year was the start 33?
CREATE TABLE table_name_97 (year INTEGER, start VARCHAR)
SELECT combined FROM table_name_80 WHERE overall = "8"
Which combined score has an overall of 8?
CREATE TABLE table_name_80 (combined VARCHAR, overall VARCHAR)
SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.16"
Name the original air date for 9.16 viewers
CREATE TABLE table_21550870_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT score_in_the_final FROM table_name_12 WHERE outcome = "winner" AND surface = "hard (i)"
Which Score in the final has an Outcome of winner, and a Surface of hard (i)?
CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2
What is the number of silver when bronze is 0, and rank is less than 2?
CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR)
SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.2%"
What was the Obama% when McCain% was 61.2%?
CREATE TABLE table_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
SELECT function__figure_ FROM table_name_95 WHERE serial_number = "af 934103"
What Function (figure) has Serial number AF 934103?
CREATE TABLE table_name_95 (function__figure_ VARCHAR, serial_number VARCHAR)
SELECT MIN(no_in_season) FROM table_18481791_3 WHERE directed_by = "Bryan Spicer"
How many seasons were directed by Bryan Spicer?
CREATE TABLE table_18481791_3 (no_in_season INTEGER, directed_by VARCHAR)
SELECT score FROM table_name_9 WHERE place = "t9" AND player = "harold mcspaden"
What was the score for t9 place for Harold Mcspaden?
CREATE TABLE table_name_9 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT directed_by FROM table_2409041_6 WHERE original_air_date = "September 24, 1993"
Who was the director for the episode airing on September 24, 1993?
CREATE TABLE table_2409041_6 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT film FROM table_name_67 WHERE result = "nominated" AND year = 2001
Which Film has a Result of nominated, and a Year of 2001?
CREATE TABLE table_name_67 (film VARCHAR, result VARCHAR, year VARCHAR)
SELECT AVG(regional_finals) FROM table_name_3 WHERE record = "3-2" AND _number_of_bids > 3
What is the average Regional Finals score when the record is 3-2 and there are more than 3 bids?
CREATE TABLE table_name_3 (regional_finals INTEGER, record VARCHAR, _number_of_bids VARCHAR)