answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT player FROM table_name_78 WHERE place = "t8"
What is the T8 Place Player?
CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR)
SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0
What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Buenos Aires"
What country's capital is buenos aires?
CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 0
What is the earliest last year with a yr plyf less than 0?
CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER)
SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik"
What is the Sub-Parish called that has a church located in Fresvik?
CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)
SELECT lane FROM table_name_84 WHERE react > 0.209 AND rank > 6
What Lane has a 0.209 React entered with a Rank entry that is larger than 6?
CREATE TABLE table_name_84 (lane VARCHAR, react VARCHAR, rank VARCHAR)
SELECT opponent FROM table_name_18 WHERE date = "october 9, 1966"
Who was the game played against on October 9, 1966?
CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)
SELECT team FROM table_name_46 WHERE class = "c1" AND laps = 40
What Team had 40 Laps in C1 Class?
CREATE TABLE table_name_46 (team VARCHAR, class VARCHAR, laps VARCHAR)
SELECT date FROM table_name_98 WHERE opponent = "cleveland browns"
What is the date of the game when the opponent is the Cleveland Browns?
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)
SELECT away_team FROM table_name_63 WHERE home_team = "solon"
What is the away team when solon was the home team?
CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR)
SELECT SUM(events) FROM table_name_57 WHERE wins < 1 AND top_25 = 3 AND top_5 < 1
What was the sum of Events, when Wins were less than 1, when Top-25 was 3, and when Top-5 was less than 1?
CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)
SELECT season FROM table_name_22 WHERE promoted = "norwich union league"
What season was Norwich Union League promoted?
CREATE TABLE table_name_22 (season VARCHAR, promoted VARCHAR)
SELECT school FROM table_name_8 WHERE year_left = 1966 AND mascot = "indians"
Which School has a Year Left of 1966, and a Mascot of indians?
CREATE TABLE table_name_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR)
SELECT english FROM table_name_43 WHERE DUTCH(Limburgish) = twie
What is the English word for twie?
CREATE TABLE table_name_43 (english VARCHAR, twie VARCHAR, Limburgish VARCHAR)
SELECT country FROM table_name_97 WHERE label = "debemur morti prod."
What country is the Debemur Morti prod. label from?
CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR)
SELECT termination_of_mission FROM table_name_37 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "reynold e. carlson"
What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?
CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)
SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval"
Moorabbin oval is home to what team?
CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR)
SELECT country FROM table_name_24 WHERE assets_us$billion = "x" AND inception = "2007" AND abbreviation = "adic"
Which country has assets of x, an inception of 2007, and an abbreviation of adic?
CREATE TABLE table_name_24 (country VARCHAR, abbreviation VARCHAR, assets_us$billion VARCHAR, inception VARCHAR)
SELECT date FROM table_name_76 WHERE home_team = "north melbourne"
What wa the date of the North Melbourne home game?
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)
SELECT stadium FROM table_name_65 WHERE date = "november 20"
What stadium was the game played in on november 20?
CREATE TABLE table_name_65 (stadium VARCHAR, date VARCHAR)
SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"
Name the district for anti-jacksonian
CREATE TABLE table_2668243_18 (district VARCHAR, party VARCHAR)
SELECT location FROM table_name_24 WHERE opponent = "arras paul arras"
Where was the location for Arras Paul Arras?
CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR)
SELECT MIN(mins_played) FROM table_28461589_2 WHERE good_passes = 638
What is the fewest minutes played for the player with exactly 638 good passes?
CREATE TABLE table_28461589_2 (mins_played INTEGER, good_passes VARCHAR)
SELECT surface FROM table_name_88 WHERE tournament = "aptos"
What is the tournament surface at Aptos?
CREATE TABLE table_name_88 (surface VARCHAR, tournament VARCHAR)
SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 71
Name the week 3 with week 6 of 31+40=71
CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR)
SELECT diameter__km_ FROM table_16799784_3 WHERE year_named = 1997
What was the diameter of the feature found in 1997?
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, year_named VARCHAR)
SELECT skip FROM table_name_63 WHERE second = "oliver dupont"
Which skip has Oliver Dupont as a second?
CREATE TABLE table_name_63 (skip VARCHAR, second VARCHAR)
SELECT thursday_day_five FROM table_1277350_7 WHERE friday_day_six = "პარასკევი p'arask'evi"
What is thursday day five when friday day six is პარასკევი p'arask'evi?
CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, friday_day_six VARCHAR)
SELECT player FROM table_name_69 WHERE team = "st. louis bombers" AND position = "g"
Who plays g position for the st. louis bombers?
CREATE TABLE table_name_69 (player VARCHAR, team VARCHAR, position VARCHAR)
SELECT result FROM table_name_31 WHERE date = "2007-08-22"
Which result has a Date of 2007-08-22?
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)
SELECT MAX(grid) FROM table_name_89 WHERE rider = "gregorio lavilla"
What is the highest grid that has gregorio lavilla as the rider?
CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR)
SELECT title FROM table_2342078_5 WHERE written_by = "Harry Winkler"
What's the title of the episode written by Harry Winkler?
CREATE TABLE table_2342078_5 (title VARCHAR, written_by VARCHAR)
SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"
what score is it with tathiana garbin as partner?
CREATE TABLE table_name_84 (score VARCHAR, partner VARCHAR)
SELECT date FROM table_25428629_1 WHERE stadium = "Thuwunna stadium"
If the stadium name is the Thuwunna Stadium, what is the date?
CREATE TABLE table_25428629_1 (date VARCHAR, stadium VARCHAR)
SELECT season FROM table_name_48 WHERE draws = "10"
Which season had 10 draws?
CREATE TABLE table_name_48 (season VARCHAR, draws VARCHAR)
SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd"
Which owner had MRT 1 HD?
CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR)
SELECT road_race FROM table_26166836_3 WHERE country = "Germany" AND month_held = "May"
What race is held in Germany in the month of May?
CREATE TABLE table_26166836_3 (road_race VARCHAR, country VARCHAR, month_held VARCHAR)
SELECT COUNT(DISTINCT eid) FROM Certificate
How many employees have certificate.
CREATE TABLE Certificate (eid VARCHAR)
SELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = "2001-037A"
What is the estimated end date for the 2001-037a international designated satellite?
CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)
SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
What is Stephen Thompson's School/Club Team?
CREATE TABLE table_name_80 (school_club_team VARCHAR, player VARCHAR)
SELECT COUNT(first_elected) FROM table_25030512_4 WHERE district = "Alabama 3"
Name the first elected for alabama 3
CREATE TABLE table_25030512_4 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm"
How much is the total ERP W for an 107.9 fm freqeuncy MHz?
CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013"
How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?
CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
SELECT ifop_5_11_09 FROM table_name_23 WHERE opinionway_5_11_09 = "2%" AND ipsos_3_14_09 = "2%"
Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2%
CREATE TABLE table_name_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR)
SELECT date FROM table_name_23 WHERE result = "sa by 10 wkts"
When was the match with a result of sa by 10 wkts?
CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR)
SELECT COUNT(location) FROM table_1987995_5 WHERE ballpark = "Memorial Stadium"
How many locations have been used for ballparks named Memorial Stadium?
CREATE TABLE table_1987995_5 (location VARCHAR, ballpark VARCHAR)
SELECT outcome FROM table_name_73 WHERE opponent = "magdalena maleeva"
What was the outcome of the match against Magdalena Maleeva?
CREATE TABLE table_name_73 (outcome VARCHAR, opponent VARCHAR)
SELECT MIN(Number_products), MAX(Number_products) FROM shop
find the minimum and maximum number of products of all stores.
CREATE TABLE shop (Number_products INTEGER)
SELECT label FROM table_name_82 WHERE date < 2008 AND catalog = "fall cd 006"
Which Label has a Date smaller than 2008, and a Catalog of fall cd 006?
CREATE TABLE table_name_82 (label VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT date FROM table_24278858_2 WHERE week = 8
What date did the team play on week 8?
CREATE TABLE table_24278858_2 (date VARCHAR, week VARCHAR)
SELECT test_taker FROM table_10749367_3 WHERE _number = 4
Who took test #4?
CREATE TABLE table_10749367_3 (test_taker VARCHAR, _number VARCHAR)
SELECT home FROM table_name_23 WHERE record = "36–21–8"
Who was the home team when the record was 36–21–8?
CREATE TABLE table_name_23 (home VARCHAR, record VARCHAR)
SELECT written_by FROM table_26136228_3 WHERE us_viewers__millions_ = "1.08"
Who wrote the episode that had 1.08 million U.S. viewers?
CREATE TABLE table_26136228_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies)
Which customer is associated with the latest policy?
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER)
SELECT role FROM table_name_62 WHERE studio = "mono" AND title = "paradise canyon"
Name the role for mono studio and title of paradise canyon
CREATE TABLE table_name_62 (role VARCHAR, studio VARCHAR, title VARCHAR)
SELECT runs_conceded FROM table_15700367_6 WHERE er = "4.96"
How many runs conceded when the earned runs was 4.96?
CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, er VARCHAR)
SELECT record FROM table_name_36 WHERE home = "buffalo"
What is the Record when Buffalo is at Home?
CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR)
SELECT baltimore_group FROM table_name_62 WHERE family = "retroviridae"
Which Baltimore group is of the retroviridae family?
CREATE TABLE table_name_62 (baltimore_group VARCHAR, family VARCHAR)
SELECT area_km² FROM table_name_72 WHERE density__hab_km²_ = "955.6"
What is the area of the city with a density of 955.6?
CREATE TABLE table_name_72 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?
CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)
SELECT AVG(played) FROM table_name_97 WHERE lost > 14 AND drawn = 10 AND points > 46
Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46?
CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44"
what heat number had a time of 58.44?
CREATE TABLE table_name_49 (heat VARCHAR, time VARCHAR)
SELECT model FROM table_name_54 WHERE wheelbase_in = "136"
Which model had a wheelbase of 136 inches?
CREATE TABLE table_name_54 (model VARCHAR, wheelbase_in VARCHAR)
SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11"
What were the Bills points on Nov. 11?
CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR)
SELECT year FROM table_name_13 WHERE venue = "oslo, norway"
In what year was this event held in Oslo, Norway?
CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)
SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor"
Name the lowest first elected for chester w. taylor
CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
SELECT status FROM table_name_54 WHERE year < 2014 AND floors = 33
What is the status of the building for 2014 with 33 floors?
CREATE TABLE table_name_54 (status VARCHAR, year VARCHAR, floors VARCHAR)
SELECT psip_short_name FROM table_name_95 WHERE station = "kstc-tv" AND channel = 5.5
What is the short name of channel 5.5, KSTC-TV?
CREATE TABLE table_name_95 (psip_short_name VARCHAR, station VARCHAR, channel VARCHAR)
SELECT AVG(administrative_panel) FROM table_name_36 WHERE nominated_by_the_taoiseach = 0 AND total < 4
What is the average administrative panel of the composition nominated by Taoiseach 0 times with a total less than 4?
CREATE TABLE table_name_36 (administrative_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
SELECT colour_commentator_s_ FROM table_name_1 WHERE play_by_play = "bob cole"
Who was the colour commmentator that broadcasted along with the Play-by-play of bob cole?
CREATE TABLE table_name_1 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR)
SELECT place FROM table_name_21 WHERE money___$__ = 350
What place did the player that took won $350 finish in?
CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR)
SELECT lost FROM table_name_39 WHERE draw < 2
How many games did they lose when they tied less than 2 games?
CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER)
SELECT MAX(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War"
What is the sexual abuse rate where the conflict is the Burundi Civil War?
CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR)
SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005"
What is the Score of West Asian Games 2005 on 10 dec 2005?
CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT year FROM table_1908049_1 WHERE playoffs = "Champions"
what was the year where in the playoffs was champions
CREATE TABLE table_1908049_1 (year VARCHAR, playoffs VARCHAR)
SELECT partner FROM table_name_75 WHERE date = "14 october 2007"
Name the partner for 14 october 2007
CREATE TABLE table_name_75 (partner VARCHAR, date VARCHAR)
SELECT hometown FROM table_name_11 WHERE player = "dajuan wagner"
Which hometown is the played Dajuan Wagner from?
CREATE TABLE table_name_11 (hometown VARCHAR, player VARCHAR)
SELECT COUNT(lost) FROM table_name_50 WHERE points > 14
Hoe many of lost have points greater than 14?
CREATE TABLE table_name_50 (lost VARCHAR, points INTEGER)
SELECT candidates FROM table_2668243_17 WHERE district = "New York 21"
Name the candidates for new york 21
CREATE TABLE table_2668243_17 (candidates VARCHAR, district VARCHAR)
SELECT date FROM table_name_78 WHERE record = "58–10"
Which Date has a Record of 58–10?
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)
SELECT location FROM table_name_79 WHERE game > 20 AND date = "wed. dec. 26"
Which Location has a Game greater than 20 and a Date of Wed. Dec. 26?
CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR)
SELECT DISTINCT form_type_code FROM forms
List all the types of forms.
CREATE TABLE forms (form_type_code VARCHAR)
SELECT result FROM table_name_5 WHERE date = "1979-01-17"
Tell me the result for 1979-01-17
CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
SELECT city FROM table_name_66 WHERE building = "telus plaza south"
Which city contains Telus Plaza South?
CREATE TABLE table_name_66 (city VARCHAR, building VARCHAR)
SELECT SUM(general_election) FROM table_name_92 WHERE share_of_votes = "17%"
How much General election has a Share of votes of 17%?
CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR)
SELECT archive FROM table_2102898_1 WHERE broadcast_date = "18April1970"
What is the archive of the show that aired on 18april1970?
CREATE TABLE table_2102898_1 (archive VARCHAR, broadcast_date VARCHAR)
SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "17"
Name the class for makoto tamada and races is 17
CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR)
SELECT second FROM table_name_27 WHERE skip = "barbora vojtusova"
Which Second has a Skip of barbora vojtusova?
CREATE TABLE table_name_27 (second VARCHAR, skip VARCHAR)
SELECT COUNT(grid) FROM table_name_66 WHERE time_retired = "+2 laps" AND laps < 70
Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70
CREATE TABLE table_name_66 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 7
What is the top grid that roger williamson lapped less than 7?
CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)"
What date did Lanny Wadkins (6) win?
CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR)
SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"
Which Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)?
CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)
SELECT fastest_lap FROM table_name_33 WHERE pole_position = "damon hill" AND location = "magny-cours"
Who did the fastest lap when pole position was damon hill and the location was magny-cours?
CREATE TABLE table_name_33 (fastest_lap VARCHAR, pole_position VARCHAR, location VARCHAR)
SELECT high_points FROM table_13464416_4 WHERE game = 7
Who were the high point scorers in game 7?
CREATE TABLE table_13464416_4 (high_points VARCHAR, game VARCHAR)
SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11
What lane has a time of 24.83 and a heat less than 11?
CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR)
SELECT date FROM table_name_48 WHERE home = "calgary"
What Date has a Home listed as Calgary?
CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR)
SELECT closed FROM table_name_79 WHERE name = "caphouse colliery"
What year did the Caphouse Colliery railway close?
CREATE TABLE table_name_79 (closed VARCHAR, name VARCHAR)
SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5"
When 4.5 is the rating (18-49) what is the air date?
CREATE TABLE table_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR)
SELECT result FROM table_28298589_2 WHERE visiting_team = "Syracuse"
What is the result when the visiting team is syracuse?
CREATE TABLE table_28298589_2 (result VARCHAR, visiting_team VARCHAR)
SELECT home_team AS score FROM table_name_40 WHERE venue = "glenferrie oval"
What is the home team's score in the game played at glenferrie oval?
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)