answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT player FROM table_17308269_2 WHERE college_country_team = "Mercer"
Name the player for mercer
CREATE TABLE table_17308269_2 (player VARCHAR, college_country_team VARCHAR)
SELECT starts FROM table_2725949_6 WHERE season = 2009
Name the starts for 2009
CREATE TABLE table_2725949_6 (starts VARCHAR, season VARCHAR)
SELECT directed_by FROM table_27332038_1 WHERE written_by = "Elaine Ko"
who directed the episode that elaine ko wrote?
CREATE TABLE table_27332038_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT 3 AS rd_place FROM table_name_2 WHERE winners = "nicolai klindt"
Who came in 3rd when Nicolai Klindt won?
CREATE TABLE table_name_2 (winners VARCHAR)
SELECT MIN(effic) FROM table_name_20 WHERE name = "total"
What was the total effic for the quarterbacks?
CREATE TABLE table_name_20 (effic INTEGER, name VARCHAR)
SELECT Birth AS name FROM table_name_61 WHERE start_of_reign = 1986
What is the date of birth of the person who started their reign in 1986?
CREATE TABLE table_name_61 (Birth VARCHAR, start_of_reign VARCHAR)
SELECT home_captain FROM table_name_65 WHERE venue = "sabina park"
Who was the Home Captain at Sabina Park?
CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park"
Game site of candlestick park had what opponent?
CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59"
What is the title that has 14.59 u.s. viewers (millions)?
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT score FROM table_name_88 WHERE player = "fredrik jacobson"
What was Fredrik Jacobson's score?
CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR)
SELECT coach FROM table_name_4 WHERE details = "2012 gold coast titans season"
Who is the coach of the 2012 Gold Coast Titans season?
CREATE TABLE table_name_4 (coach VARCHAR, details VARCHAR)
SELECT date FROM table_name_74 WHERE save = "||3,073"
What was the date of the game with a save of ||3,073?
CREATE TABLE table_name_74 (date VARCHAR, save VARCHAR)
SELECT sales__billion_$_ FROM table_name_70 WHERE company = "exxonmobil"
Name the Sales (billion $) which have a Company of exxonmobil?
CREATE TABLE table_name_70 (sales__billion_$_ VARCHAR, company VARCHAR)
SELECT results FROM table_1805191_48 WHERE first_elected = 2000
What was the result in the election where the date of first elected was 2000?
CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR)
SELECT format FROM table_name_84 WHERE branding = "cbc radio 2"
What format is CBC Radio 2?
CREATE TABLE table_name_84 (format VARCHAR, branding VARCHAR)
SELECT total_tenure_time FROM table_name_31 WHERE uninterrupted_rank > 4 AND total_tenure_rank > 9 AND name = "warren magnuson"
What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?
CREATE TABLE table_name_31 (total_tenure_time VARCHAR, name VARCHAR, uninterrupted_rank VARCHAR, total_tenure_rank VARCHAR)
SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107
What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group"
What is the first round that had #67 the racer's group with the fastest lap?
CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR)
SELECT SUM(played) FROM table_name_35 WHERE drawn < 2 AND against > 29
What is the sum of Played when the drawn is less than 2 and against is more than 29?
CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR)
SELECT population FROM table_name_83 WHERE total_congregations < 4 AND _percentage_lds = "0.54%"
What is Population, when Total Congregations is less than 4, and when % LDS is 0.54%?
CREATE TABLE table_name_83 (population VARCHAR, total_congregations VARCHAR, _percentage_lds VARCHAR)
SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames"
Opponent of @ atlanta flames had what game?
CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR)
SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler"
How many teams does Jeff Wyler own?
CREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR)
SELECT outcome FROM table_name_81 WHERE opponent = "jing-jing lu"
What was the outcome when Jing-Jing Lu was the opponent?
CREATE TABLE table_name_81 (outcome VARCHAR, opponent VARCHAR)
SELECT MIN(tier) FROM table_name_68 WHERE postseason = "quarterfinalist"
What is the lowest tier for a postseason result of quarterfinalist?
CREATE TABLE table_name_68 (tier INTEGER, postseason VARCHAR)
SELECT venue FROM table_name_57 WHERE year < 2005 AND category = "world class" AND result = "bronze"
What are the venues prior to 2005 in the World Class category that resulted in a bronze?
CREATE TABLE table_name_57 (venue VARCHAR, result VARCHAR, year VARCHAR, category VARCHAR)
SELECT COUNT(*) FROM Highschooler
How many high schoolers are there?
CREATE TABLE Highschooler (Id VARCHAR)
SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii"
What is VFB Stuttgart II Team's Stadiuim?
CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR)
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121"
What was the title when 1.121 million US people watched it?
CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT MAX(year) FROM table_name_81 WHERE result = "16-14"
In what Year was the Result of the game 16-14?
CREATE TABLE table_name_81 (year INTEGER, result VARCHAR)
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4"
What is the NOAA of the higher harmonics that have a Darwin of mn 4?
CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR)
SELECT population FROM table_name_38 WHERE county = "sargent"
What is the Population of Sargent County?
CREATE TABLE table_name_38 (population VARCHAR, county VARCHAR)
SELECT original_air_date FROM table_24648983_1 WHERE us_viewers__million_ = "8.61"
What date did the episode with 8.61 million U.S. viewers originally air?
CREATE TABLE table_24648983_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT text FROM table_16162581_1 WHERE simplified_characters = "心猿意马"
Name the text for 心猿意马
CREATE TABLE table_16162581_1 (text VARCHAR, simplified_characters VARCHAR)
SELECT tv_time FROM table_name_93 WHERE date = "november 10, 1996"
WHAT IS THE TV TIME FOR NOVEMBER 10, 1996?
CREATE TABLE table_name_93 (tv_time VARCHAR, date VARCHAR)
SELECT MIN(rd__number) FROM table_name_13 WHERE pl_gp > 0 AND pick__number > 51
Name the least RD number that has PI GP more than 0 and pick # more than 51
CREATE TABLE table_name_13 (rd__number INTEGER, pl_gp VARCHAR, pick__number VARCHAR)
SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22"
What is the combined crowd in Vancouver on may 22?
CREATE TABLE table_name_43 (attendance INTEGER, home VARCHAR, date VARCHAR)
SELECT MIN(drawn) FROM table_name_79 WHERE points < 7 AND against > 31
What is the smallest drawn when the points are less than 7 and the against greater than 31?
CREATE TABLE table_name_79 (drawn INTEGER, points VARCHAR, against VARCHAR)
SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia"
What is the average lane for Australia?
CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR)
SELECT MIN(different_holders) FROM table_name_93 WHERE country = "ireland" AND giro_wins < 1
what is the least different holders when the country is ireland and giro wins is less than 1?
CREATE TABLE table_name_93 (different_holders INTEGER, country VARCHAR, giro_wins VARCHAR)
SELECT outcome FROM table_name_1 WHERE tournament = "hershey"
What is the outcome for the Hershey tournament?
CREATE TABLE table_name_1 (outcome VARCHAR, tournament VARCHAR)
SELECT team FROM table_11959669_6 WHERE score = "88–86"
What is the team when the score is 88–86?
CREATE TABLE table_11959669_6 (team VARCHAR, score VARCHAR)
SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard"
Name the least field goals for chantel hilliard
CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR)
SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545
What is the highest drawn for points over 545?
CREATE TABLE table_name_81 (drawn INTEGER, points_for INTEGER)
SELECT COUNT(*), T1.fault_log_entry_id FROM Fault_Log AS T1 JOIN Engineer_Visits AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY COUNT(*) DESC LIMIT 1
How many engineer visits are required at most for a single fault log? List the number and the log entry id.
CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR); CREATE TABLE Engineer_Visits (fault_log_entry_id VARCHAR)
SELECT date FROM table_name_34 WHERE result = "l 30-27"
What date was the game that resulted in L 30-27?
CREATE TABLE table_name_34 (date VARCHAR, result VARCHAR)
SELECT weight_at_birth FROM table_name_24 WHERE meaning = "god knows my journey"
How much did the baby who name means God knows my journey weigh at birth?
CREATE TABLE table_name_24 (weight_at_birth VARCHAR, meaning VARCHAR)
SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992"
What was the Week on October 18, 1992?
CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)
SELECT winner FROM table_name_53 WHERE year = "2003"
who was the winner in 2003?
CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR)
SELECT high_points FROM table_name_97 WHERE team = "toronto"
Who was the high scorer in the Toronto game?
CREATE TABLE table_name_97 (high_points VARCHAR, team VARCHAR)
SELECT network FROM table_name_9 WHERE origin_of_programming = "india" AND genre = "general" AND service = "bell fibe tv" AND language = "tamil"
Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language?
CREATE TABLE table_name_9 (network VARCHAR, language VARCHAR, service VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
CREATE TABLE table_name_91 (Id VARCHAR)
SELECT price FROM table_name_24 WHERE upstream = "256 kbit" AND downstream = "512 kbit"
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?
CREATE TABLE table_name_24 (price VARCHAR, upstream VARCHAR, downstream VARCHAR)
SELECT title FROM table_11630008_8 WHERE production_code = 624
What is the title of the episode with the production code 624?
CREATE TABLE table_11630008_8 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(year) FROM table_name_4 WHERE engine = "mercedes fo 108w 2.4l v8" AND points > 0
How many entrants have a mercedes fo 108w 2.4l v8 engine and over 0 points?
CREATE TABLE table_name_4 (year VARCHAR, engine VARCHAR, points VARCHAR)
SELECT first FROM table_name_42 WHERE surname = "searle"
Which First has a Surname of searle?
CREATE TABLE table_name_42 (first VARCHAR, surname VARCHAR)
SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"
WHAT DATE HAS A CATALOG OF 486553.4?
CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)
SELECT SUM(drawn) FROM table_name_41 WHERE games < 7
Which Drawn has Games smaller than 7?
CREATE TABLE table_name_41 (drawn INTEGER, games INTEGER)
SELECT AVG(episode__number) FROM table_name_65 WHERE location = "tanzania" AND _number_in_season > 5
What is the average episode # located in Tanzania and whose # in season is larger than 5?
CREATE TABLE table_name_65 (episode__number INTEGER, location VARCHAR, _number_in_season VARCHAR)
SELECT venue FROM table_name_94 WHERE event = "marathon" AND year > 1995 AND position = "4th"
Which Venue has an Event of marathon, and a Year larger than 1995, and a Position of 4th?
CREATE TABLE table_name_94 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks"
Which country has a score of 72 by Andrew Brooks?
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT record_label FROM table_name_84 WHERE album = "tera roop"
Which Record label has an Album of tera roop?
CREATE TABLE table_name_84 (record_label VARCHAR, album VARCHAR)
SELECT rank FROM table_name_76 WHERE gatchaman = "jinpei"
What is the rank of the gatchaman of Jinpei?
CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR)
SELECT state___territory FROM table_name_58 WHERE height = "121 m"
What state/territory has 121 m as the height?
CREATE TABLE table_name_58 (state___territory VARCHAR, height VARCHAR)
SELECT MAX(total) FROM table_28677723_16 WHERE couple = "Aylar & Egor" AND karianne_gulliksen = 8
What is the greatest total score received by aylar & egor when karianne Gulliksen gave an 8?
CREATE TABLE table_28677723_16 (total INTEGER, couple VARCHAR, karianne_gulliksen VARCHAR)
SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)"
What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)?
CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT score FROM table_name_4 WHERE tournament = "portugal f1, faro , portugal"
Name the Score of Tournament of portugal f1, faro , portugal?
CREATE TABLE table_name_4 (score VARCHAR, tournament VARCHAR)
SELECT home_city FROM table_name_69 WHERE stadium = "gradski stadion u poljudu"
What is the home city when the stadium was Gradski Stadion U Poljudu?
CREATE TABLE table_name_69 (home_city VARCHAR, stadium VARCHAR)
SELECT party FROM table_1342013_31 WHERE incumbent = "Frank J. Becker"
What party did Frank J. Becker represent?
CREATE TABLE table_1342013_31 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(wrestler) FROM table_24628683_2 WHERE method_of_elimination = "Pinned after being hit by a lead pipe"
How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe?
CREATE TABLE table_24628683_2 (wrestler VARCHAR, method_of_elimination VARCHAR)
SELECT owner FROM table_name_8 WHERE format = "adult hits"
Who is the owner of the radio station that plays adult hits?
CREATE TABLE table_name_8 (owner VARCHAR, format VARCHAR)
SELECT rank FROM table_19744915_16 WHERE couple = "Zoe and Matt"
What is Zoe and Matt's rank?
CREATE TABLE table_19744915_16 (rank VARCHAR, couple VARCHAR)
SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000
display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000.
CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)
SELECT salmonella FROM table_10321124_1 WHERE escherichia = "SepB (EscN)"
what's the salmonella with escherichia being sepb (escn)
CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR)
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"
The Rainbow District School Board is associated with what type?
CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR)
SELECT champion_score FROM table_15161170_1 WHERE division = "division 2 Men"
When the division is Division 2 men what is the champion score?
CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR)
SELECT home FROM table_name_62 WHERE away = "hispano"
Which Home has an Away of hispano?
CREATE TABLE table_name_62 (home VARCHAR, away VARCHAR)
SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 6"
How many times is the formula tl 2 ba 2 cuo 6?
CREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR)
SELECT SUM(bronze) FROM table_name_53 WHERE silver > 1 AND total > 3 AND nation = "turkey" AND gold < 2
Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2?
CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)
SELECT 17 AS th_c FROM table_name_76 WHERE initial_syllable_open_semi_open_unstressed_vowels = "o /ɵ/"
What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is "o /ɵ/"?
CREATE TABLE table_name_76 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
SELECT MIN(goal_s_) FROM table_28286776_12 WHERE club_s_ = "Ipswich Town"
How many goals did the player from Ipswich town score?
CREATE TABLE table_28286776_12 (goal_s_ INTEGER, club_s_ VARCHAR)
SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"
What was the par for the t5 place player Steve Jones?
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT city FROM table_name_51 WHERE iata = "muc"
What is the City with an IATA of MUC?
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)
SELECT candidates FROM table_2668336_24 WHERE district = "Virginia 12"
Who are the candidates for district virginia 12?
CREATE TABLE table_2668336_24 (candidates VARCHAR, district VARCHAR)
SELECT name FROM table_name_52 WHERE town_city = "rudyard"
What is the museum name located in Rudyard?
CREATE TABLE table_name_52 (name VARCHAR, town_city VARCHAR)
SELECT time FROM table_name_89 WHERE points = 1
What was the time for the man who scored 1 point?
CREATE TABLE table_name_89 (time VARCHAR, points VARCHAR)
SELECT SUM(pages) FROM table_name_75 WHERE isbn = "isbn 91-7713-035-9"
How many pages associated with isbn 91-7713-035-9?
CREATE TABLE table_name_75 (pages INTEGER, isbn VARCHAR)
SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56
What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013?
CREATE TABLE table_name_17 (Id VARCHAR)
SELECT head_linesman FROM table_name_66 WHERE game = "xxxv"
Who is the head linesman at game xxxv?
CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR)
SELECT title FROM table_29803475_3 WHERE directed_by = "James Bobin"
what is the name of the episode directed by james bobin
CREATE TABLE table_29803475_3 (title VARCHAR, directed_by VARCHAR)
SELECT no_in_season FROM table_228973_11 WHERE original_air_date = "February 11, 2005"
The episode which originally aired on February 11, 2005 had which episode # of the season?
CREATE TABLE table_228973_11 (no_in_season VARCHAR, original_air_date VARCHAR)
SELECT report FROM table_name_88 WHERE race = "argentine grand prix"
What is the report for the race of Argentine Grand Prix?
CREATE TABLE table_name_88 (report VARCHAR, race VARCHAR)
SELECT team FROM table_name_54 WHERE rounds = "all" AND engine = "mercedes hwa" AND driver = "sam abay"
what is the team when the rounds is all engine is mercedes hwa and driver is sam abay?
CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, rounds VARCHAR, engine VARCHAR)
SELECT league_finish FROM table_22962745_12 WHERE w = 11
Name the league finish for w being 11
CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR)
SELECT club FROM table_name_28 WHERE years = "1995–1996"
What is the Club during the Years 1995–1996?
CREATE TABLE table_name_28 (club VARCHAR, years VARCHAR)
SELECT first_elected FROM table_1341472_45 WHERE incumbent = "Larry Combest"
What year was Larry combest elected
CREATE TABLE table_1341472_45 (first_elected VARCHAR, incumbent VARCHAR)
SELECT AVG(gold) FROM table_name_27 WHERE rank < 5 AND silver > 0 AND total = 2
How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals?
CREATE TABLE table_name_27 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT COUNT(points) FROM table_name_86 WHERE entrant = "beta team march" AND year = 1975 AND chassis = "march 751"
Name the total number of points for beta team march 1975 and chassis of march 751
CREATE TABLE table_name_86 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT points_difference FROM table_name_96 WHERE points_against = "451"
What is Points Difference, when Points Against is 451?
CREATE TABLE table_name_96 (points_difference VARCHAR, points_against VARCHAR)
SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11
Name the most bronze for silver more than 6 and total less than 127 with gold less than 11
CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT MAX(played) FROM table_name_92 WHERE against < 18 AND points < 10
Which Played is the highest one that has an Against smaller than 18, and Points smaller than 10?
CREATE TABLE table_name_92 (played INTEGER, against VARCHAR, points VARCHAR)