question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Time has Notes of men's speed skating?
CREATE TABLE table_name_93 (time VARCHAR, notes VARCHAR)
SELECT time FROM table_name_93 WHERE notes = "men's speed skating"
When was there 8.9% Green-Communist?
CREATE TABLE table_1463383_1 (date_released VARCHAR, green_communist VARCHAR)
SELECT date_released FROM table_1463383_1 WHERE green_communist = "8.9%"
WHich FCC info has 3,000 ERP W?
CREATE TABLE table_name_22 (fcc_info VARCHAR, erp_w VARCHAR)
SELECT fcc_info FROM table_name_22 WHERE erp_w = "3,000"
When was the film Här har du ditt liv used in nomination?
CREATE TABLE table_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_20061872_1 WHERE original_title = "Här har du ditt liv"
Name the world rank for market value 17.2
CREATE TABLE table_19112_3 (world_rank VARCHAR, market_value__billion_$_ VARCHAR)
SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.2"
Which Ensemble Name has the Advertisement date October 2007?
CREATE TABLE table_name_79 (ensemble_name VARCHAR, advertisement_date VARCHAR)
SELECT ensemble_name FROM table_name_79 WHERE advertisement_date = "october 2007"
What is the frequency of the train to Bangalore?
CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR)
SELECT frequency FROM table_name_82 WHERE destination = "bangalore"
Which Position has a Pick # of 18?
CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_99 WHERE pick__number = 18
Tell me the opponents for runner-up and surface of grass
CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass"
Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152?
CREATE TABLE table_name_58 (games_won VARCHAR, points_for VARCHAR, points_against VARCHAR, bonus_points VARCHAR, points_difference VARCHAR)
SELECT COUNT(games_won) FROM table_name_58 WHERE bonus_points > 1 AND points_difference < 50 AND points_against = 106 AND points_for < 152
Name the bed 2010 for 6.5%
CREATE TABLE table_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR)
SELECT february_2010 FROM table_25256368_1 WHERE june_2010 = "6.5%"
Which From club has a Date of 20 oct. 2008?
CREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR)
SELECT from_club FROM table_name_49 WHERE date = "20 oct. 2008"
Tell me the lowest year for shubert theatre
CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)
SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"
Which surface has a Date of 22 august 2006?
CREATE TABLE table_name_57 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_57 WHERE date = "22 august 2006"
What is the language used most often in the songs?
CREATE TABLE song (languages VARCHAR)
SELECT languages FROM song GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1
How many values for attendance on the date of September 5?
CREATE TABLE table_23916462_3 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_23916462_3 WHERE date = "September 5"
Which country is Lemd the ICAO of?
CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_34 WHERE icao = "lemd"
Which GDP per capita (US$) (2004) is the highest one that has an Area (km²) larger than 148825.6, and a State of roraima?
CREATE TABLE table_name_37 (gdp_per_capita__us INTEGER, area__km²_ VARCHAR, state VARCHAR)
SELECT MAX(gdp_per_capita__us) AS $___2004_ FROM table_name_37 WHERE area__km²_ > 148825.6 AND state = "roraima"
What was the stadium for the home team of shamrock rovers and result of 3–0?
CREATE TABLE table_24949975_1 (stadium VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT stadium FROM table_24949975_1 WHERE home_team = "Shamrock Rovers" AND result = "3–0"
What is the US modern rock rank of code bad 0003?
CREATE TABLE table_name_90 (us_modern_rock VARCHAR, code VARCHAR)
SELECT us_modern_rock FROM table_name_90 WHERE code = "bad 0003"
Who was the winning driver when Michael Schumacher had the pole and the fastest lap?
CREATE TABLE table_1137695_3 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT winning_driver FROM table_1137695_3 WHERE fastest_lap = "Michael Schumacher" AND pole_position = "Michael Schumacher"
Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47?
CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_ > 47
What album had the reunion label in 2006?
CREATE TABLE table_name_21 (album VARCHAR, label VARCHAR, year VARCHAR)
SELECT album FROM table_name_21 WHERE label = "reunion" AND year = 2006
What is the least amount of prize money when there are 21 events?
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21
How many millions of viewers are listed where the writer is Matthew Okumura?
CREATE TABLE table_2866503_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_2866503_1 WHERE written_by = "Matthew Okumura"
What is the report listed for the race in San Marino Grand Prix?
CREATE TABLE table_1140076_2 (report VARCHAR, race VARCHAR)
SELECT report FROM table_1140076_2 WHERE race = "San Marino Grand Prix"
Opponent of leonardo castello branco had what record?
CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_66 WHERE opponent = "leonardo castello branco"
When did Alan Hutcheson won Class B on round 1?
CREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR)
SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1
What is the average number of points for clubs that have played more than 42 times?
CREATE TABLE table_name_96 (points INTEGER, played INTEGER)
SELECT AVG(points) FROM table_name_96 WHERE played > 42
What was the winning time in the year when the odds of the winner were 2.94?
CREATE TABLE table_21676617_1 (winning_time__km_rate_ VARCHAR, odds_of_winner VARCHAR)
SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94"
Which college had a pick of under 5?
CREATE TABLE table_name_92 (college VARCHAR, pick INTEGER)
SELECT college FROM table_name_92 WHERE pick < 5
Name the game site with result of w 20-14
CREATE TABLE table_name_88 (game_site VARCHAR, result VARCHAR)
SELECT game_site FROM table_name_88 WHERE result = "w 20-14"
What is the transfer window for Christian Nerlinger?
CREATE TABLE table_name_23 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_23 WHERE name = "christian nerlinger"
Who were the opponents when the score was 122-135 and the H/A/N was H?
CREATE TABLE table_name_87 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_87 WHERE h_a_n = "h" AND score = "122-135"
If the registered voters is 66.8%, what is the minimum population?
CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR)
SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%"
What Airport's ICAO is ENTO?
CREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_23 WHERE icao = "ento"
Which average's against score has 2 as a difference and a lost of 5?
CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR)
SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5
What is the maximumum number of wins?
CREATE TABLE table_1507423_4 (wins INTEGER)
SELECT MIN(wins) FROM table_1507423_4
Tell me the highest Laps for grid less than 22 and riderS of ruben xaus
CREATE TABLE table_name_40 (laps INTEGER, grid VARCHAR, rider VARCHAR)
SELECT MAX(laps) FROM table_name_40 WHERE grid < 22 AND rider = "ruben xaus"
Who was the opponent with a points for of 177?
CREATE TABLE table_25229283_4 (opponent VARCHAR, points_for VARCHAR)
SELECT opponent FROM table_25229283_4 WHERE points_for = 177
Which Producer has a Role of rizzette?
CREATE TABLE table_name_74 (producer VARCHAR, role VARCHAR)
SELECT producer FROM table_name_74 WHERE role = "rizzette"
When did the 113 episode air?
CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR)
SELECT original_air_date FROM table_10718631_2 WHERE no_in_series = 113
What are the number of storms where fog is lower than 74, and sunshine is 2 668?
CREATE TABLE table_name_74 (storms__days_year_ VARCHAR, fog__days_year_ VARCHAR, sunshine__hrs_year_ VARCHAR)
SELECT COUNT(storms__days_year_) FROM table_name_74 WHERE fog__days_year_ < 74 AND sunshine__hrs_year_ = "2 668"
What is the nationality of the player kevin stevens?
CREATE TABLE table_2679061_6 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_2679061_6 WHERE player = "Kevin Stevens"
What state/territory has 121 m as the height?
CREATE TABLE table_name_58 (state___territory VARCHAR, height VARCHAR)
SELECT state___territory FROM table_name_58 WHERE height = "121 m"
Tell me the service for versions l-410uvp
CREATE TABLE table_name_52 (in_service VARCHAR, versions VARCHAR)
SELECT in_service FROM table_name_52 WHERE versions = "l-410uvp"
What was the call sign for ERP W of 99?
CREATE TABLE table_name_68 (call_sign VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_68 WHERE erp_w = 99
What was the team's record when they faced orlando?
CREATE TABLE table_17323042_5 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17323042_5 WHERE team = "Orlando"
Name the record for charlotte
CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR)
SELECT record FROM table_23281862_10 WHERE team = "Charlotte"
List the number of years where ritchie ocampo was the mutya ng pilipinas winner.
CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)
SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo"
What is the car with the lowest extinct year that has a NBR class of 32?
CREATE TABLE table_name_21 (extinct INTEGER, nbr_class VARCHAR)
SELECT MIN(extinct) FROM table_name_21 WHERE nbr_class = 32
What was the final score for the game on May 4?
CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_91 WHERE date = "may 4"
What is the name of the away team who play Collingwood?
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_7 WHERE home_team = "collingwood"
What are the records when Elzbieta Urbanczik competed?
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)
SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"
Name the townland for fermoy and ballynoe
CREATE TABLE table_30120664_1 (townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)
SELECT townland FROM table_30120664_1 WHERE poor_law_union = "Fermoy" AND civil_parish = "Ballynoe"
If the episode title is Pressures, what are the names of the cast?
CREATE TABLE table_2570269_2 (cast VARCHAR, episode_title VARCHAR)
SELECT cast FROM table_2570269_2 WHERE episode_title = "Pressures"
What is the Studio of the Film directed by Paul Greengrass?
CREATE TABLE table_name_45 (studio_s_ VARCHAR, director VARCHAR)
SELECT studio_s_ FROM table_name_45 WHERE director = "paul greengrass"
what is the minimum voted yes where percent no is 68.2
CREATE TABLE table_120778_2 (voted_yes INTEGER, percent_no VARCHAR)
SELECT MIN(voted_yes) FROM table_120778_2 WHERE percent_no = "68.2"
what is lost when the points against is 231?
CREATE TABLE table_name_28 (lost VARCHAR, points_against VARCHAR)
SELECT lost FROM table_name_28 WHERE points_against = "231"
who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?
CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)
SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster"
What location has tatsuhito takaiwa as the wrestler?
CREATE TABLE table_name_14 (location VARCHAR, wrestler VARCHAR)
SELECT location FROM table_name_14 WHERE wrestler = "tatsuhito takaiwa"
What are the lowest laps of Graham Hill?
CREATE TABLE table_name_68 (laps INTEGER, driver VARCHAR)
SELECT MIN(laps) FROM table_name_68 WHERE driver = "graham hill"
What is the average final with an all around greater than 19.35 and a total over 40?
CREATE TABLE table_name_42 (final INTEGER, all_around VARCHAR, total VARCHAR)
SELECT AVG(final) FROM table_name_42 WHERE all_around > 19.35 AND total > 40
Who was the away team on 9 February 1988?
CREATE TABLE table_name_3 (away_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_3 WHERE date = "9 february 1988"
when 68 is the episode number what is the series number?
CREATE TABLE table_28967275_3 (series__number VARCHAR, episode__number VARCHAR)
SELECT series__number FROM table_28967275_3 WHERE episode__number = 68
what is the court surface when the tournament is paris masters?
CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR)
SELECT court_surface FROM table_name_47 WHERE tournament = "paris masters"
what is the lowest votes of the candidate ranked 5th and riding in victoria?
CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)
SELECT MIN(votes) FROM table_name_94 WHERE rank = "5th" AND riding = "victoria"
What is the draw when the tries against was 69?
CREATE TABLE table_name_75 (drawn VARCHAR, tries_against VARCHAR)
SELECT drawn FROM table_name_75 WHERE tries_against = "69"
what is the y = 2008 when the expression is easter day (julian calendar)?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, expression VARCHAR)
SELECT y_ = _2008 FROM table_214479_8 WHERE expression = "Easter Day (Julian calendar)"
Name the number of locations for uk32
CREATE TABLE table_19897294_8 (location_s_ VARCHAR, no_overall VARCHAR)
SELECT COUNT(location_s_) FROM table_19897294_8 WHERE no_overall = "UK32"
Driver at larger than 10 with a Q1 of 18.
CREATE TABLE table_name_28 (driver VARCHAR, q1_order VARCHAR, q1_pos VARCHAR)
SELECT driver FROM table_name_28 WHERE q1_order > 10 AND q1_pos = 18
What is the highest game with a 47-21-3 record?
CREATE TABLE table_name_77 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_name_77 WHERE record = "47-21-3"
What is the 2011 value for the paris masters tournament with 1r in 2008?
CREATE TABLE table_name_5 (tournament VARCHAR)
SELECT 2011 FROM table_name_5 WHERE 2008 = "1r" AND tournament = "paris masters"
In 2008, what was the world ranking that ranked 5th in L.A.?
CREATE TABLE table_name_54 (world_ranking__1_ VARCHAR, ranking_la__2_ VARCHAR, year_of_publication VARCHAR)
SELECT world_ranking__1_ FROM table_name_54 WHERE ranking_la__2_ = "5th" AND year_of_publication = "2008"
How many points per game did he have when he had 1.5 assists per game?
CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR)
SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.5"
What is Tournament, when 2005 is "N/A", and when 2002 is "0 / 1"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT tournament FROM table_name_74 WHERE 2005 = "n/a" AND 2002 = "0 / 1"
What was the date of the week 13 game?
CREATE TABLE table_name_96 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_96 WHERE week = 13
What is the round of the game at venue H and opponent of Derby County?
CREATE TABLE table_name_31 (round VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_31 WHERE venue = "h" AND opponent = "derby county"
What was the highest number of wins for any team?
CREATE TABLE table_18018214_3 (wins INTEGER)
SELECT MAX(wins) FROM table_18018214_3
Who sanctioned the event in lincoln, illinois?
CREATE TABLE table_16275828_4 (sanction VARCHAR, location VARCHAR)
SELECT sanction FROM table_16275828_4 WHERE location = "Lincoln, Illinois"
What is the total number of positions for teams with more than 5 points, 3 draws, and under 2 losses?
CREATE TABLE table_name_56 (position VARCHAR, lost VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT COUNT(position) FROM table_name_56 WHERE points > 5 AND drawn = 3 AND lost < 2
Where does center Joakim Andersson come from?
CREATE TABLE table_name_67 (nationality VARCHAR, position VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_67 WHERE position = "center" AND player = "joakim andersson"
What are the cities/towns located in the municipality of Moss?
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR)
SELECT city_town FROM table_157826_1 WHERE municipality = "Moss"
What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4?
CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_22 WHERE manufacturer = "ktm" AND time_retired = "+3.578" AND grid > 4
Which Notre Dame coach lost 15 games?
CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR)
SELECT coach FROM table_name_27 WHERE losses = 15
How much money did the company Neurotica request?
CREATE TABLE table_name_39 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
SELECT money_requested__£_ FROM table_name_39 WHERE company_or_product_name = "neurotica"
What was the location and it's attendance when the Bobcats played against Washington?
CREATE TABLE table_23248940_10 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_23248940_10 WHERE team = "Washington"
What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR)
SELECT foundation FROM table_name_5 WHERE name_in_english = "tanjung puteri technical secondary school"
How many capitals are there when area (km²) is 1111.14?
CREATE TABLE table_1888051_1 (capital VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(capital) FROM table_1888051_1 WHERE area__km²_ = "1111.14"
Who is every high points for the Pistons team?
CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
What was the score when stefan edberg won after 1978?
CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)
SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg"
what district is Brooks Hays in
CREATE TABLE table_1342013_4 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342013_4 WHERE incumbent = "Brooks Hays"
What is the date of the match in Vilnius, Lithuania?
CREATE TABLE table_name_60 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_60 WHERE location = "vilnius, lithuania"
What is the Score that has a To standard of –2, and a Country of Spain?
CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain"
What is the title and source for the game developed by Hydravision Entertainment?
CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR)
SELECT title_and_source FROM table_26538035_1 WHERE developer = "Hydravision Entertainment"
How many people attended the game that had the Clippers as visiting team?
CREATE TABLE table_name_47 (attendance VARCHAR, visitor VARCHAR)
SELECT attendance FROM table_name_47 WHERE visitor = "clippers"
I want the event for method of points with notes of opening round
CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, notes VARCHAR)
SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round"
What are the id and name of the mountains that have at least 2 photos?
CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR)
SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id GROUP BY T1.id HAVING COUNT(*) >= 2
Who is the player that attended Notre Dame with a pick smaller than 304?
CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame"
Who was the girl on week 4 after week 3's Mikaela James?
CREATE TABLE table_name_12 (week_4 VARCHAR, week_3 VARCHAR)
SELECT week_4 FROM table_name_12 WHERE week_3 = "mikaela james"