answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(the_wørd) FROM table_25691838_6 WHERE episode__number = 727
What was the number of "The Word" segments for episode number 727?
CREATE TABLE table_25691838_6 (the_wørd VARCHAR, episode__number VARCHAR)
SELECT afl_team FROM table_12165135_1 WHERE position = "Offensive Guard"
What is the afl team of the offensive guard?
CREATE TABLE table_12165135_1 (afl_team VARCHAR, position VARCHAR)
SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke"
What was the To par score for the tournament with a margin of victory of 1 stroke?
CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)
SELECT years_active FROM table_name_1 WHERE caps > 11 AND country = "new zealand"
What were the years active of the player from New Zealand with more than 11 caps?
CREATE TABLE table_name_1 (years_active VARCHAR, caps VARCHAR, country VARCHAR)
SELECT name FROM table_name_33 WHERE teams = "cornell-penn"
What is the name of the event where Cornell-Penn played?
CREATE TABLE table_name_33 (name VARCHAR, teams VARCHAR)
SELECT COUNT(no_in_series) FROM table_26168687_3 WHERE vessel_operator = "Canadian Coast Guard"
How many times is the vessel operator canadian coast guard?
CREATE TABLE table_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR)
SELECT class FROM table_name_75 WHERE name = "hms heartsease"
What's the class of the HMS Heartsease?
CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR)
SELECT venue FROM table_name_89 WHERE team_2 = "al-ain"
Team 2 Al-Ain played in what venue?
CREATE TABLE table_name_89 (venue VARCHAR, team_2 VARCHAR)
SELECT Total_Horses FROM farm ORDER BY Total_Horses
List the total number of horses on farms in ascending order.
CREATE TABLE farm (Total_Horses VARCHAR)
SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms"
What is the average year with Nathan Robertson Gail Emms in mixed doubles?
CREATE TABLE table_name_71 (year INTEGER, mixed_doubles VARCHAR)
SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6
How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6?
CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR)
SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83"
Which team was the opponent that had a location of Madison Square Garden with a score of 87-83?
CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)
SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565
How many status' are there with a population of 90565?
CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)
SELECT mens_singles FROM table_14904221_1 WHERE year = 1994
WHo won men's singles in 1994?
CREATE TABLE table_14904221_1 (mens_singles VARCHAR, year VARCHAR)
SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11
How much Technique has the Highest rank of yokozuna, and a Total larger than 11?
CREATE TABLE table_name_89 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR)
SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.0
who are all the players when season mvp is less than 1.0 and second team is less than 1.0
CREATE TABLE table_26130295_3 (player VARCHAR, season_mvp VARCHAR, second_team VARCHAR)
SELECT SUM(d__max_) FROM table_name_17 WHERE taper = "1:20.047" AND c__max_ > 65.5
What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5?
CREATE TABLE table_name_17 (d__max_ INTEGER, taper VARCHAR, c__max_ VARCHAR)
SELECT week FROM table_name_92 WHERE kickoff___et__ = "4:05 pm" AND result = "w 31–14"
What is the Week when the kick off was at 4:05 pm, and the result was w 31–14?
CREATE TABLE table_name_92 (week VARCHAR, kickoff___et__ VARCHAR, result VARCHAR)
SELECT party_name FROM party WHERE NOT party_id IN (SELECT party_id FROM Member)
Show names of parties that does not have any members.
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_name VARCHAR, party_id VARCHAR)
SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1
How many episodes have the season number of 1?
CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR)
SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th"
Name the successor for pennsylvania 15th
CREATE TABLE table_1958768_3 (successor VARCHAR, district VARCHAR)
SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"
Did Jason Pennycooke win the award he was nominated for?
CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_43 WHERE largest_ethnic_group__2002_ = "Slovaks" AND type = "village"
What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?
CREATE TABLE table_2562572_43 (dominant_religion__2002_ VARCHAR, largest_ethnic_group__2002_ VARCHAR, type VARCHAR)
SELECT rank FROM table_name_26 WHERE total < 9 AND bronze < 2 AND nation = "france"
Which rank has a total less than 9, less than 2 bronze, and from France?
CREATE TABLE table_name_26 (rank VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"
Who was the opponent at the game that had a loss of Leonard (7–8)?
CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)
SELECT pronunciation_a FROM table_name_83 WHERE word = "傳"
Name the pronunciation for 傳
CREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR)
SELECT nuts_3_region FROM table_name_38 WHERE area__km²_ = "41.58"
What is the NUT 3 region with area of 41.58?
CREATE TABLE table_name_38 (nuts_3_region VARCHAR, area__km²_ VARCHAR)
SELECT catalog FROM table_name_84 WHERE label = "alfa records" AND format = "cd"
Name the catalog for alfa records and cd format
CREATE TABLE table_name_84 (catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT socket FROM table_18823880_10 WHERE part_number_s_ = "BY80607002907AHBX80607I7720QM"
When by80607002907ahbx80607i7720qm is the part number what is the socket?
CREATE TABLE table_18823880_10 (socket VARCHAR, part_number_s_ VARCHAR)
SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [1]"
What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?
CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR)
SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes"
What was the group in the British Champion Stakes?
CREATE TABLE table_24850630_4 (group VARCHAR, race VARCHAR)
SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears"
Name the 1st match for brisbane bears
CREATE TABLE table_name_61 (team VARCHAR)
SELECT MIN(first_elected) FROM table_1341663_19
What year was the earliest first elected?
CREATE TABLE table_1341663_19 (first_elected INTEGER)
SELECT tournament FROM table_name_1 WHERE margin_of_victory = "1 stroke" AND winning_score = "69-75-71-70"
What tournament had a victory of a 1 stroke margin and the final winning score 69-75-71-70?
CREATE TABLE table_name_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
What is the Place of the Player with a Score of 70-71=141?
CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR)
SELECT player FROM table_name_73 WHERE country = "united states" AND to_par = "–5"
Name the Player who has a Country of united states, and a To par of –5?
CREATE TABLE table_name_73 (player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT AVG(heat) FROM table_name_35 WHERE nationality = "australia" AND rank < 1
what is the heat when the nationality is australia and the rank is less than 1?
CREATE TABLE table_name_35 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_36 WHERE total = 4 AND silver < 2
What is the average Bronze, when Total is 4, and when Silver is less than 2?
CREATE TABLE table_name_36 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT opponent FROM table_name_21 WHERE game_site = "indianapolis hoosierdome"
Who was the Opponent at the Game Site Indianapolis Hoosierdome?
CREATE TABLE table_name_21 (opponent VARCHAR, game_site VARCHAR)
SELECT player FROM table_name_5 WHERE to_par > 7 AND total = 298
Which player had a to par score larger than 7 and a total score of 298?
CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT name FROM table_name_78 WHERE chief_judge = "peter agre" AND award = "3rd"
What student won 3rd with Peter Agre as Chief Judge?
CREATE TABLE table_name_78 (name VARCHAR, chief_judge VARCHAR, award VARCHAR)
SELECT outcome FROM table_name_89 WHERE date = "march 20, 1994"
What is the outcome on March 20, 1994?
CREATE TABLE table_name_89 (outcome VARCHAR, date VARCHAR)
SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14
What was the position for team corinthians with over 14 against?
CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR)
SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23"
What is every original air date with U.S. viewers of 0.23 million?
CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6
Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28
CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR)
SELECT position FROM table_name_59 WHERE years_for_jazz = "2002-03"
Which position was active in Jazz in 2002-03?
CREATE TABLE table_name_59 (position VARCHAR, years_for_jazz VARCHAR)
SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million"
what's the premiere with hk viewers of 2.09 million
CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR)
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport"
What year shows the Entrant of bmw motorsport?
CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR)
SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 1996"
What series # had an original air date of november 30, 1996?
CREATE TABLE table_name_52 (series__number INTEGER, original_air_date VARCHAR)
SELECT total FROM table_name_41 WHERE time = "16:00" AND set_3 = "18–25"
How much is the total with a time at 16:00 and score for set 3 of 18–25?
CREATE TABLE table_name_41 (total VARCHAR, time VARCHAR, set_3 VARCHAR)
SELECT venue FROM table_name_32 WHERE notes = "am"
Which venue has a note of AM?
CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)
SELECT team FROM table_name_59 WHERE home_city = "terni"
What team is from terni?
CREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR)
SELECT no_in_series FROM table_14724369_1 WHERE directed_by = "Monte Young"
Which series numbers were directed by Monte Young?
CREATE TABLE table_14724369_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg"
The Eyserweg race was which race #?
CREATE TABLE table_1749567_2 (number INTEGER, name VARCHAR)
SELECT rec FROM table_name_25 WHERE player = "jerel myers"
Which Rec has Jerel Myers as the Player?
CREATE TABLE table_name_25 (rec VARCHAR, player VARCHAR)
SELECT AVG(total_apps) FROM table_name_41 WHERE total_goals = 0 AND fa_cup_goals > 0
It has fa cup goals larger than 0 and total goals of 0, what is the average total apps?
CREATE TABLE table_name_41 (total_apps INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards"
Which Paul McCartney has a Linda McCartney of keyboards?
CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR)
SELECT score FROM table_name_46 WHERE player = "bob rosburg"
What is the score of player bob rosburg?
CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR)
SELECT chassis FROM table_name_60 WHERE points = 7
Which of the chassis had a total of 7 points?
CREATE TABLE table_name_60 (chassis VARCHAR, points VARCHAR)
SELECT date FROM table_name_90 WHERE leading_scorer = "lebron james (25)"
What is the date when Lebron James (25) was the lead scorer?
CREATE TABLE table_name_90 (date VARCHAR, leading_scorer VARCHAR)
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input"
how many bubbles with category being input
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)
SELECT hadeda_ibis FROM table_20042805_2 WHERE whitefaced_duck = "Blacksmith Plover"
What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover?
CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, whitefaced_duck VARCHAR)
SELECT notes FROM table_name_85 WHERE time = "6:31.16"
What are the notes for 6:31.16?
CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)
SELECT date__yyyy_mm_dd_ FROM table_25675509_1 WHERE latitude = "08.909° S"
On which date did the shock at latitude 08.909° s occur?
CREATE TABLE table_25675509_1 (date__yyyy_mm_dd_ VARCHAR, latitude VARCHAR)
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
SELECT college FROM table_name_39 WHERE pick__number = 22
What college did the #22 overall draft pick attend?
CREATE TABLE table_name_39 (college VARCHAR, pick__number VARCHAR)
SELECT fuel_system FROM table_name_71 WHERE displacement = "1500cc" AND model = "berlina"
Which fuel system has a displacement of 1500cc for the Berlina model?
CREATE TABLE table_name_71 (fuel_system VARCHAR, displacement VARCHAR, model VARCHAR)
SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime"
What is shown on Friday when Monday is Fox Sports Primetime?
CREATE TABLE table_name_36 (friday VARCHAR, monday VARCHAR)
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
what's the result with district being louisiana 2
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)
SELECT score FROM table_name_67 WHERE game > 6 AND october < 28
Name the score for game more than 6 and before october 28
CREATE TABLE table_name_67 (score VARCHAR, game VARCHAR, october VARCHAR)
SELECT laps FROM table_name_59 WHERE driver = "yannick dalmas"
How many laps did Yannick Dalmas do?
CREATE TABLE table_name_59 (laps VARCHAR, driver VARCHAR)
SELECT away_team FROM table_name_3 WHERE home_team = "swindon town"
What is Away Team, when Home Team is "Swindon Town"?
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)
SELECT MAX(game) FROM table_name_34 WHERE time = "2:35"
What game had the highest score and a time of 2:35?
CREATE TABLE table_name_34 (game INTEGER, time VARCHAR)
SELECT score FROM table_name_78 WHERE date = "july 23, 2009"
What is the score of the event held on July 23, 2009?
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR)
SELECT MAX(founded) FROM table_27599216_6 WHERE team = "Dinos"
What is the year founded for the team Dinos?
CREATE TABLE table_27599216_6 (founded INTEGER, team VARCHAR)
SELECT order__number FROM table_name_30 WHERE result = "bottom 3" AND original_artist = "bee gees"
In what order were the Bee Gees as the artist when it was a result of bottom 3?
CREATE TABLE table_name_30 (order__number VARCHAR, result VARCHAR, original_artist VARCHAR)
SELECT COUNT(played) FROM table_17366952_1 WHERE team = "Lancaster City"
How many times did the Lancaster City team play?
CREATE TABLE table_17366952_1 (played VARCHAR, team VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason"
What was the year of Bridget Jones: The Edge of Reason that was nominated?
CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR)
SELECT SUM(time) FROM table_name_17 WHERE lane = 1 AND rank < 8
Name the sum of time for lane of 1 and rank less than 8
CREATE TABLE table_name_17 (time INTEGER, lane VARCHAR, rank VARCHAR)
SELECT MAX(grid) FROM table_name_31 WHERE driver = "piers courage"
What is the largest Grid with a Driver of piers courage?
CREATE TABLE table_name_31 (grid INTEGER, driver VARCHAR)
SELECT AVG(built) FROM table_name_75 WHERE name = "superb"
What is the average building year for Superb?
CREATE TABLE table_name_75 (built INTEGER, name VARCHAR)
SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = "stony point fashion park"
What is the retail space of the Stony Point Fashion Park Mall?
CREATE TABLE table_name_70 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR)
SELECT record FROM table_name_39 WHERE date = "february 19"
What is the record on February 19?
CREATE TABLE table_name_39 (record VARCHAR, date VARCHAR)
SELECT date FROM table_name_93 WHERE undecided = "–" AND martin = "7–9%"
What is the Date that has MARTIN of 7–9% and no Undecided?
CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR)
SELECT MIN(total_appearances) FROM table_29701419_2 WHERE total_goals = 289
What is the total appearances when the total goals is 289?
CREATE TABLE table_29701419_2 (total_appearances INTEGER, total_goals VARCHAR)
SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport"
For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?
CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT name___designation FROM table_26389588_1 WHERE country_of_origin = "Switzerland"
If the country of origin is switzerland, what is the name/ designation?
CREATE TABLE table_26389588_1 (name___designation VARCHAR, country_of_origin VARCHAR)
SELECT year FROM table_name_60 WHERE name = "asi peko"
What year was Asi Peko?
CREATE TABLE table_name_60 (year VARCHAR, name VARCHAR)
SELECT dish FROM table_name_8 WHERE resolution = "sd 480i" AND network = "bvb"
Name the dish for resolution of sd 480i and network of bvb
CREATE TABLE table_name_8 (dish VARCHAR, resolution VARCHAR, network VARCHAR)
SELECT score FROM table_name_30 WHERE year = 2000
What was the winning score in 2000?
CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR)
SELECT SUM(founded) FROM table_name_47 WHERE left = "1976"
What is the total number of teams founded that were left in 1976?
CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR)
SELECT score FROM table_name_15 WHERE winner = "c.f. atlante"
What was the Score during the Season in which the Winner was C.F. Atlante?
CREATE TABLE table_name_15 (score VARCHAR, winner VARCHAR)
SELECT country FROM table_name_21 WHERE player = "paul stankowski"
What country is Paul Stankowski from?
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
SELECT player FROM table_name_84 WHERE college = "western washington"
Which player went to the college of Western Washington?
CREATE TABLE table_name_84 (player VARCHAR, college VARCHAR)
SELECT city FROM table_name_61 WHERE icao = "oejn"
Which city has an ICAO of Oejn?
CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)
SELECT song FROM table_name_62 WHERE votes > 640 AND draw = 1
Which song has votes greater than 640 and a draw of 1?
CREATE TABLE table_name_62 (song VARCHAR, votes VARCHAR, draw VARCHAR)
SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)"
What is the Score of the game with a Loss of Kiprusoff (2–2)?
CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)
SELECT crowd FROM table_name_94 WHERE home_team = "fitzroy"
What was the size of the crowd at the game where Fitzroy was the home team?
CREATE TABLE table_name_94 (crowd VARCHAR, home_team VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2
What is the high earnings for players with 34 events and over 2 wins?
CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
SELECT no_in_series FROM table_2226817_2 WHERE production_code = "1.11"
How many number of series have a production code of 1.11?
CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR)