question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the highest rink for Kingston?
CREATE TABLE table_name_94 (rank INTEGER, location VARCHAR)
SELECT MAX(rank) FROM table_name_94 WHERE location = "kingston"
What round has a position of F/C from Iowa College?
CREATE TABLE table_name_56 (round VARCHAR, position VARCHAR, college VARCHAR)
SELECT round FROM table_name_56 WHERE position = "f/c" AND college = "iowa"
Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus?
CREATE TABLE table_name_96 (purpose VARCHAR, location VARCHAR, name VARCHAR)
SELECT purpose FROM table_name_96 WHERE location = "enewetak, runit (yvonne)" AND name = "cactus"
What is the Country with the T3 Place Player with a Score of 71-76-71=218?
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218
How many attended the game with an opponent of bye?
CREATE TABLE table_name_72 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_72 WHERE opponent = "bye"
what's the computing mechanbeingm with name being atanasoff–berry computer (us)
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, name VARCHAR)
SELECT computing_mechanism FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)"
What is the result for the Green-Communist party when the Left Bloc has 3.6%?
CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR)
SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%"
Which January has a Record of 28–14–8?
CREATE TABLE table_name_17 (january VARCHAR, record VARCHAR)
SELECT january FROM table_name_17 WHERE record = "28–14–8"
What is the Max Aggregate bandwidth with a HyperTransport of 2?
CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR)
SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2
Who is the actor in the original production when Troy Stephens is the GamePlan?
CREATE TABLE table_name_69 (actor_in_original_production VARCHAR, gameplan VARCHAR)
SELECT actor_in_original_production FROM table_name_69 WHERE gameplan = "troy stephens"
What is the championship of Jem Karacan that has a total of 2 and a league cup more than 0?
CREATE TABLE table_name_10 (championship VARCHAR, name VARCHAR, total VARCHAR, league_cup VARCHAR)
SELECT championship FROM table_name_10 WHERE total = 2 AND league_cup > 0 AND name = "jem karacan"
What is the 1st leg when team 2 is Asil Lysi?
CREATE TABLE table_name_91 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_91 WHERE team_2 = "asil lysi"
What was the record on March 22?
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_58 WHERE date = "march 22"
What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?
CREATE TABLE table_name_71 (jersey__number INTEGER, name VARCHAR, weight__kg_ VARCHAR)
SELECT AVG(jersey__number) FROM table_name_71 WHERE name = "steve griffith" AND weight__kg_ < 84
What is the date the new york giants were the visiting team and the Final Score was 37-34?
CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34"
What was Robert Doornbos' Best?
CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_47 WHERE name = "robert doornbos"
How many seasons have the production code 7.01 for an episode?
CREATE TABLE table_2226817_8 (no_in_season INTEGER, production_code VARCHAR)
SELECT MAX(no_in_season) FROM table_2226817_8 WHERE production_code = "7.01"
How many drivers are from Hartford city or younger than 40?
CREATE TABLE driver (home_city VARCHAR, age VARCHAR)
SELECT COUNT(*) FROM driver WHERE home_city = 'Hartford' OR age < 40
What is the total of the year with a point larger than 0 or the Chassis of Minardi m190?
CREATE TABLE table_name_32 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_32 WHERE chassis = "minardi m190" AND points > 0
What were the original teams for The Biggest Loser (Season 1)?
CREATE TABLE table_name_77 (original_teams VARCHAR, name VARCHAR)
SELECT original_teams FROM table_name_77 WHERE name = "the biggest loser (season 1)"
Which country scored 66-68=134?
CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_60 WHERE score = 66 - 68 = 134
Wat is the tax source system code and master customer id of the taxes related to each parking fine id?
CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)
SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id
Which name has a Roll of 270?
CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR)
SELECT name FROM table_name_97 WHERE roll = 270
What is the maximum 2006 census population of LGA name Opobo/Nkoro?
CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR)
SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro"
What is Date, when Home Team is "Luton Town"?
CREATE TABLE table_name_53 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_53 WHERE home_team = "luton town"
What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is "ʏ"?
CREATE TABLE table_name_8 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR)
SELECT pronunciation_spelled_free FROM table_name_8 WHERE pronunciation_spelled_checked = "ʏ"
What is the most recent year that China won a bronze?
CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)
SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"
What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings?
CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR)
SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0
How much Elevation (m) has a Col (m) smaller than 562, and a Rank of 10, and a Prominence (m) larger than 1,598?
CREATE TABLE table_name_15 (elevation__m_ VARCHAR, prominence__m_ VARCHAR, col__m_ VARCHAR, rank VARCHAR)
SELECT COUNT(elevation__m_) FROM table_name_15 WHERE col__m_ < 562 AND rank = 10 AND prominence__m_ > 1 OFFSET 598
What is the place of the player who scored less than 70?
CREATE TABLE table_name_96 (place VARCHAR, score INTEGER)
SELECT place FROM table_name_96 WHERE score < 70
What was Ralph Shoaf's pick number?
CREATE TABLE table_name_39 (pick VARCHAR, name VARCHAR)
SELECT pick FROM table_name_39 WHERE name = "ralph shoaf"
Tell me the nation for bronze more than 0 and total more than 8 with gold of 4
CREATE TABLE table_name_62 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT nation FROM table_name_62 WHERE bronze > 0 AND total > 8 AND gold = 4
What candidates ran in the election that featured harry lane englebright?
CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright"
How many incumbents represent district California 34?
CREATE TABLE table_1341568_6 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_1341568_6 WHERE district = "California 34"
What regular season did the team reach the conference semifinals in the playoffs?
CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals"
What country is ranked higher than 5?
CREATE TABLE table_name_29 (country VARCHAR, rank INTEGER)
SELECT country FROM table_name_29 WHERE rank > 5
How many drawns have 7 for the lost?
CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR)
SELECT SUM(drawn) FROM table_name_83 WHERE lost = 7
What Round was the Winning Team Engstler Motorsport Maurer Motorsport?
CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR)
SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport"
Name the listed owners for brevak racing
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR)
SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak Racing"
Show locations and nicknames of schools.
CREATE TABLE school (Location VARCHAR, School_ID VARCHAR); CREATE TABLE school_details (Nickname VARCHAR, School_ID VARCHAR)
SELECT T1.Location, T2.Nickname FROM school AS T1 JOIN school_details AS T2 ON T1.School_ID = T2.School_ID
List the race class with at least two races.
CREATE TABLE race (CLASS VARCHAR)
SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 2
Which Lost has Goals Against larger than 92?
CREATE TABLE table_name_13 (lost INTEGER, goals_against INTEGER)
SELECT MAX(lost) FROM table_name_13 WHERE goals_against > 92
What is Country, when Class is "15 meters", and when Qualifying Grand Prix is "Soaring Grand Prix Of United Kingdom"?
CREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)
SELECT country FROM table_name_43 WHERE class = "15 meters" AND qualifying_grand_prix = "soaring grand prix of united kingdom"
What country submitted miehen työ?
CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR)
SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ"
What player was the champion in the match where E.A. Lassen was the runner-up?
CREATE TABLE table_name_60 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen"
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)
SELECT school FROM table_11677691_2 WHERE college = "South Carolina"
What is the date when the tournament is san diego and the opponent is ann grossman?
CREATE TABLE table_name_92 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_92 WHERE tournament = "san diego" AND opponent = "ann grossman"
What Location has a Date of 1995-06-15?
CREATE TABLE table_name_3 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_3 WHERE date = "1995-06-15"
what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66?
CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR)
SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66
Who is the opponent of game 75?
CREATE TABLE table_name_44 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_44 WHERE game = 75
What is the 1987 value of the 1994 atp masters series?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT 1987 FROM table_name_45 WHERE 1994 = "atp masters series"
What was the surface where the outcome was winner on 12 march 1989?
CREATE TABLE table_name_19 (surface VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT surface FROM table_name_19 WHERE outcome = "winner" AND date = "12 march 1989"
What is the name of the airport with an IATA of KUF?
CREATE TABLE table_name_68 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_68 WHERE iata = "kuf"
Which athlete is ranked below 5 and is from China?
CREATE TABLE table_name_62 (athletes VARCHAR, rank VARCHAR, country VARCHAR)
SELECT athletes FROM table_name_62 WHERE rank < 5 AND country = "china"
What type of structure is there at the American Tower Christmas?
CREATE TABLE table_name_17 (structure_type VARCHAR, name VARCHAR)
SELECT structure_type FROM table_name_17 WHERE name = "american tower christmas"
What country or territory is małgorzata rożniecka from?
CREATE TABLE table_name_33 (country_territory VARCHAR, miss_international VARCHAR)
SELECT country_territory FROM table_name_33 WHERE miss_international = "małgorzata rożniecka"
What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)?
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR)
SELECT population__millions, _2011_ FROM table_2155836_1 WHERE hdi__2011_ = "0.453 (low)"
What is the capacity for b national - basketball?
CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)
SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball"
What was the largest crowd at vfl park?
CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_75 WHERE venue = "vfl park"
Which Played has a Drawn of 4, and a Position of 9, and Goals Against larger than 59?
CREATE TABLE table_name_70 (played INTEGER, goals_against VARCHAR, drawn VARCHAR, position VARCHAR)
SELECT AVG(played) FROM table_name_70 WHERE drawn = 4 AND position = 9 AND goals_against > 59
What is the last issue entry for Aron's Absurd Armada?
CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR)
SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada"
Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%"
How many bronze numbers had a total of more than 4 when the rank is less than four, germany is involved, and there's less than 5 silver?
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_67 WHERE total > 4 AND rank < 4 AND nation = "germany" AND silver < 5
Who is the runner-up at the Chicago challenge?
CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge"
What is the coupon that has an issuer of Commerzbank AG?
CREATE TABLE table_21692771_1 (coupon VARCHAR, issuer VARCHAR)
SELECT coupon FROM table_21692771_1 WHERE issuer = "COMMERZBANK AG"
What record company released a CD in 1964?
CREATE TABLE table_name_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR)
SELECT record_company FROM table_name_48 WHERE year_of_recording = 1964 AND format = "cd"
Which Player has a Score of 74-67-74-71=286?
CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286
Name the result for round 13
CREATE TABLE table_21269143_1 (result VARCHAR, round VARCHAR)
SELECT result FROM table_21269143_1 WHERE round = "13"
Who is the second member when RT Hon. Edward Stanley is the first member?
CREATE TABLE table_name_14 (second_member VARCHAR, first_member VARCHAR)
SELECT second_member FROM table_name_14 WHERE first_member = "rt hon. edward stanley"
What was the attendance of the game in week 13?
CREATE TABLE table_name_11 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_11 WHERE week = 13
Name the most game for us airways center 16,470
CREATE TABLE table_27756474_6 (game INTEGER, location_attendance VARCHAR)
SELECT MIN(game) FROM table_27756474_6 WHERE location_attendance = "US Airways Center 16,470"
In what region is the city of Austin?
CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)
SELECT region FROM table_name_36 WHERE city = "austin"
What is the most points that the Maserati 250F chassis scored in years after 1955?
CREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_39 WHERE chassis = "maserati 250f" AND year > 1955
Name the winner for rest day race leader
CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR)
SELECT winner FROM table_name_97 WHERE race_leader = "rest day"
What were the notes in 2011?
CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_89 WHERE year = 2011
What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "October 30, 2007 15:53"
What is the episode number where the English title is Pilot?
CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR)
SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = "Pilot"
What was the score from the game played on June 22?
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_84 WHERE date = "june 22"
What teams started at 39.1?
CREATE TABLE table_2649597_1 (team_s_ VARCHAR, start VARCHAR)
SELECT team_s_ FROM table_2649597_1 WHERE start = "39.1"
How many dates were played at the wachovia center?
CREATE TABLE table_23308178_6 (date VARCHAR, location VARCHAR)
SELECT COUNT(date) FROM table_23308178_6 WHERE location = "Wachovia Center"
What is the quantity of class B V?
CREATE TABLE table_name_55 (quantity VARCHAR, class VARCHAR)
SELECT quantity FROM table_name_55 WHERE class = "b v"
Name the wind m/s and fastest time of 10.25 and jeff demps
CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, fastest_time__s_ VARCHAR, athlete VARCHAR)
SELECT wind__m_s_ FROM table_1231316_6 WHERE fastest_time__s_ = "10.25" AND athlete = "Jeff Demps"
Which Selection has a College of texas a&m?
CREATE TABLE table_name_71 (selection INTEGER, college VARCHAR)
SELECT SUM(selection) FROM table_name_71 WHERE college = "texas a&m"
What is the highest November date that has a game under 19 and opponents of the Minnesota North Stars?
CREATE TABLE table_name_11 (november INTEGER, game VARCHAR, opponent VARCHAR)
SELECT MAX(november) FROM table_name_11 WHERE game < 19 AND opponent = "minnesota north stars"
What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8?
CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR)
SELECT AVG(2000) FROM table_name_97 WHERE location = "montana" AND reservation = "fort peck indian reservation" AND 1979 < 26.8
Who wrote the episodes that were directed by Peter O'Fallon?
CREATE TABLE table_28561455_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_28561455_1 WHERE directed_by = "Peter O'Fallon"
What was the 2008 election status when glenn nye was the running democrat?
CREATE TABLE table_17503169_1 (democratic VARCHAR)
SELECT 2008 AS _status FROM table_17503169_1 WHERE democratic = "Glenn Nye"
What is Li-FeS 2, when Type is Nominal Voltage?
CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR)
SELECT li_fes_2 FROM table_name_9 WHERE type = "nominal voltage"
The match that went 1 round, and had a method of submission (rear-naked choke) had what record?
CREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR)
SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"
What is the Artist of the Song with a Place of withdrawn?
CREATE TABLE table_name_28 (artist VARCHAR, place VARCHAR)
SELECT artist FROM table_name_28 WHERE place = "withdrawn"
Name the engine with rounds of 7 with geki driver
CREATE TABLE table_name_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_57 WHERE rounds = "7" AND driver = "geki"
What is the high run total associated with a high score of 385 and under 407 innings?
CREATE TABLE table_name_96 (runs INTEGER, high_score VARCHAR, innings VARCHAR)
SELECT MAX(runs) FROM table_name_96 WHERE high_score = "385" AND innings < 407
Which stage number did son bou arrive at?
CREATE TABLE table_name_22 (stage VARCHAR, arrival VARCHAR)
SELECT COUNT(stage) FROM table_name_22 WHERE arrival = "son bou"
What title was used in the nomination for the title Biola Tak Berdawai?
CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"
What is the highest Grid with a time of +1:19.905, and less than 20 laps?
CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 20
What was the attendance when Geelong played as the away team?
CREATE TABLE table_name_70 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_70 WHERE away_team = "geelong"
In what year was the rank less than 6 for Damac Heights?
CREATE TABLE table_name_10 (year VARCHAR, rank VARCHAR, name VARCHAR)
SELECT year FROM table_name_10 WHERE rank < 6 AND name = "damac heights"
Which Partner has a Date of 8 february 2009?
CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_57 WHERE date = "8 february 2009"
Which opening film has the opening date of august 23?
CREATE TABLE table_18220102_1 (opening_film VARCHAR, date__opening_ VARCHAR)
SELECT opening_film FROM table_18220102_1 WHERE date__opening_ = "August 23"
Which team was Bubba Vanegdom from?
CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_11 WHERE player = "bubba vanegdom"