question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the outgoing head coach when the incoming head coach is abdollah veysi?
CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi"
Name the mens singles for lee eun-sil moon hyun-jung
CREATE TABLE table_28138035_4 (mens_singles VARCHAR, womens_doubles VARCHAR)
SELECT mens_singles FROM table_28138035_4 WHERE womens_doubles = "Lee Eun-Sil Moon Hyun-Jung"
Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"
How many laps led when the Grid was 15?
CREATE TABLE table_name_29 (laps VARCHAR, grid VARCHAR)
SELECT laps AS Led FROM table_name_29 WHERE grid = "15"
What is the total number of rounds with a 4-0 record?
CREATE TABLE table_name_57 (round VARCHAR, record VARCHAR)
SELECT COUNT(round) FROM table_name_57 WHERE record = "4-0"
What is the color of the background of the white border and sign of information?
CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)
SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"
What is the latest stable release date for Crawltrack?
CREATE TABLE table_name_83 (latest_stable_release VARCHAR, name VARCHAR)
SELECT latest_stable_release FROM table_name_83 WHERE name = "crawltrack"
What position does the player from the Toronto Argonauts play?
CREATE TABLE table_name_99 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_name_99 WHERE cfl_team = "toronto argonauts"
What day was the attendance at the staples center 18,176?
CREATE TABLE table_13619135_7 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_13619135_7 WHERE location_attendance = "Staples Center 18,176"
Who was the game on July 12 played against?
CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_19789597_6 WHERE date = "July 12"
Who were the co-drivers in 2008?
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)
SELECT co_drivers FROM table_name_81 WHERE year = 2008
What is the sum of attendance for H/A values of "n"?
CREATE TABLE table_name_80 (attendance INTEGER, h___a VARCHAR)
SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n"
Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
CREATE TABLE table_12113818_1 (academic_ VARCHAR, _university_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
SELECT academic_ & _university_affairs FROM table_12113818_1 WHERE human_resources_ & _operations = "N. Charles Hamilton"
Which team has 26 points?
CREATE TABLE table_name_73 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_73 WHERE points = "26"
What type has rest day as a course and was on 21 may?
CREATE TABLE table_name_83 (type VARCHAR, course VARCHAR, date VARCHAR)
SELECT type FROM table_name_83 WHERE course = "rest day" AND date = "21 may"
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR)
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"
Which Sanskrit has a Chinese of β€”, and an English of cultivation of settling?
CREATE TABLE table_name_74 (sanskrit VARCHAR, chinese VARCHAR, english VARCHAR)
SELECT sanskrit FROM table_name_74 WHERE chinese = "β€”" AND english = "cultivation of settling"
What was the original air date (atv) of episode 1?
CREATE TABLE table_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)
SELECT original_air_date__atv_ FROM table_1439096_1 WHERE episode_no = 1
How many students live in HKG or CHI?
CREATE TABLE Student (city_code VARCHAR)
SELECT COUNT(*) FROM Student WHERE city_code = "HKG" OR city_code = "CHI"
What group of juventus had an attendance larger than 47,786?
CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)
SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786
What kind of Live births has a Migration of -14 873?
CREATE TABLE table_name_85 (live_births VARCHAR, migration VARCHAR)
SELECT live_births FROM table_name_85 WHERE migration = "-14 873"
Which School has a Location of peru?
CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR)
SELECT school FROM table_name_37 WHERE location = "peru"
What is the earliest year won with a total bigger than 156?
CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER)
SELECT MIN(year_won) FROM table_name_81 WHERE total > 156
What was the tie number for the game with an away team of Hartlepool United?
CREATE TABLE table_name_81 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_81 WHERE away_team = "hartlepool united"
Name the capacity for the engine of 2.0 duratorq
CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR)
SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq"
What team has a Rank Ret, and rider Frank A Applebee?
CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR)
SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee"
Which team had a rank under 4 with a time of 1:14.04.88?
CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR)
SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"
Which Trofeo Fast Team has a Winner of alessandro paganessi?
CREATE TABLE table_name_10 (trofeo_fast_team VARCHAR, winner VARCHAR)
SELECT trofeo_fast_team FROM table_name_10 WHERE winner = "alessandro paganessi"
What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?
CREATE TABLE table_name_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)
SELECT total FROM table_name_91 WHERE coppa_italia = 0 AND champions_league = 1 AND serie_a < 2 AND name = "mauro camoranesi"
When did the oldest airline start operations?
CREATE TABLE table_15637071_1 (commenced_operations INTEGER)
SELECT MIN(commenced_operations) FROM table_15637071_1
What Date Released, when # Of Discs is greater than 4?
CREATE TABLE table_name_33 (date_released VARCHAR, _number_of_discs INTEGER)
SELECT date_released FROM table_name_33 WHERE _number_of_discs > 4
Name the leading scorer for april 12, 2008
CREATE TABLE table_name_13 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_13 WHERE date = "april 12, 2008"
Name who wrote the episode when the viewers was 1.81
CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81"
What is the original title of the Gypsy Magic film title used in nomination?
CREATE TABLE table_name_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic"
How many features did Adam Carroll win 6 times when the start was larger than 32?
CREATE TABLE table_name_88 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)
SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32
Name the film title for german
CREATE TABLE table_name_8 (film_title_used_in_nomination VARCHAR, language VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_8 WHERE language = "german"
Which Series 1 has a Series 11 of peter jones?
CREATE TABLE table_name_13 (series_1 VARCHAR, series_11 VARCHAR)
SELECT series_1 FROM table_name_13 WHERE series_11 = "peter jones"
What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?
CREATE TABLE table_name_19 (silver INTEGER, nation VARCHAR, total VARCHAR, rank VARCHAR)
SELECT SUM(silver) FROM table_name_19 WHERE total < "6" AND rank = "6" AND nation = "bulgaria"
What was the result of the april 6, 2002 game against the greensboro prowlers?
CREATE TABLE table_name_89 (result VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT result FROM table_name_89 WHERE opponent = "greensboro prowlers" AND date = "april 6, 2002"
How many different positions did Sherbrooke Faucons (qmjhl) provide in the draft?
CREATE TABLE table_1013129_2 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(position) FROM table_1013129_2 WHERE college_junior_club_team = "Sherbrooke Faucons (QMJHL)"
What is the name of the ship with the largest tonnage?
CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)
SELECT Name FROM ship ORDER BY Tonnage DESC LIMIT 1
how many times is the country united states and the score 72-71-73-73=289?
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT COUNT(to_par) FROM table_name_93 WHERE country = "united states" AND score = 72 - 71 - 73 - 73 = 289
What is the build date for PRR Class gf30a?
CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR)
SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"
How many states had a population density of 10188.8?
CREATE TABLE table_22916979_1 (state VARCHAR, population_density__people_per_mi_2__ VARCHAR)
SELECT COUNT(state) FROM table_22916979_1 WHERE population_density__people_per_mi_2__ = "10188.8"
Who directed the nominated film 'blood on his hands'?
CREATE TABLE table_name_45 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_45 WHERE rank = "nominated" AND film = "blood on his hands"
At what Location was the match against Opponent of Mostapha Al-Turk lasting less than 2 Rounds?
CREATE TABLE table_name_31 (location VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_31 WHERE round < 2 AND opponent = "mostapha al-turk"
Which Outcome has a Surface of clay, and a Tournament of morocco f5, rabat , morocco?
CREATE TABLE table_name_79 (outcome VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_79 WHERE surface = "clay" AND tournament = "morocco f5, rabat , morocco"
Which Doctor Who episode has a Episode # of 11?
CREATE TABLE table_name_78 (doctor_who_episode VARCHAR, episode__number VARCHAR)
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "11"
Which Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0?
CREATE TABLE table_name_9 (fumb_yds INTEGER, fumb_f VARCHAR, int_lg VARCHAR)
SELECT MAX(fumb_yds) FROM table_name_9 WHERE fumb_f = 0 AND int_lg < 0
What is the name of the player acquired via import and larger than 22?
CREATE TABLE table_name_55 (name VARCHAR, acquisition_via VARCHAR, number VARCHAR)
SELECT name FROM table_name_55 WHERE acquisition_via = "import" AND number > 22
What percentage voted for Tom Horner according to the poll source with sampling error of 2.5%?
CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, sampling_error VARCHAR)
SELECT tom_horner__i_ FROM table_20032301_3 WHERE sampling_error = "2.5%"
Which Years in Orlando has a Player of bo outlaw?
CREATE TABLE table_name_54 (years_in_orlando VARCHAR, player VARCHAR)
SELECT years_in_orlando FROM table_name_54 WHERE player = "bo outlaw"
What is the played number when the high checkout is 135?
CREATE TABLE table_name_32 (played INTEGER, high_checkout VARCHAR)
SELECT SUM(played) FROM table_name_32 WHERE high_checkout = 135
What is the lowest U Wins, when Alianza Wins is greater than 0, when Alianza Goals is greater than 25, and when Draws is "99"?
CREATE TABLE table_name_52 (u_wins INTEGER, draws VARCHAR, alianza_wins VARCHAR, alianza_goals VARCHAR)
SELECT MIN(u_wins) FROM table_name_52 WHERE alianza_wins > 0 AND alianza_goals > 25 AND draws = 99
What's the RECNet when the identifier is cbf-fm-20?
CREATE TABLE table_name_38 (recnet VARCHAR, identifier VARCHAR)
SELECT recnet FROM table_name_38 WHERE identifier = "cbf-fm-20"
What country is the player moving to Hamburger SV from?
CREATE TABLE table_name_36 (country VARCHAR, moving_to VARCHAR)
SELECT country FROM table_name_36 WHERE moving_to = "hamburger sv"
How much money was there when the to par was 15?
CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15
What is the IATA code for SHahjalal International Airport?
CREATE TABLE table_name_7 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_7 WHERE airport = "shahjalal international airport"
What is the top attendance for weeks past 2 on october 29, 1961?
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR)
SELECT MAX(attendance) FROM table_name_57 WHERE week > 2 AND date = "october 29, 1961"
What was the result when competing in the Opening NIght Film category?
CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR)
SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film"
What is the college/junior/club team name of player Mats Lindgren?
CREATE TABLE table_2781227_1 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2781227_1 WHERE player = "Mats Lindgren"
What is the time/retired for grid 9?
CREATE TABLE table_name_30 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_30 WHERE grid = 9
Name the sum of grid with laps more than 97
CREATE TABLE table_name_82 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_82 WHERE laps > 97
How many bronzes were held by those with a total of 4 and less than 3 silvers.
CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_37 WHERE total = 4 AND silver < 3
Which venue held a basketball team?
CREATE TABLE table_name_98 (venue VARCHAR, sport VARCHAR)
SELECT venue FROM table_name_98 WHERE sport = "basketball"
what was the date of the game on week 2?
CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_2 WHERE week = 2
What ground had a match smaller than 6 and Chelsea Reserves as the opponent?
CREATE TABLE table_name_17 (ground VARCHAR, match VARCHAR, opponent VARCHAR)
SELECT ground FROM table_name_17 WHERE match < 6 AND opponent = "chelsea reserves"
When austin, texas is the hometown what is the lowest age?
CREATE TABLE table_1859855_2 (age INTEGER, hometown VARCHAR)
SELECT MIN(age) FROM table_1859855_2 WHERE hometown = "Austin, Texas"
List all names of courses with 1 credit?
CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR)
SELECT CName FROM COURSE WHERE Credits = 1
In the championship Miami , United States, what is the score in the final?
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States"
Which club is located in Thomson, Victoria?
CREATE TABLE table_name_15 (club VARCHAR, location VARCHAR)
SELECT club FROM table_name_15 WHERE location = "thomson, victoria"
Which Attendance is the highest one that has a Loss of batista (4-5)?
CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)"
When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?
CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)
SELECT venue FROM table_name_74 WHERE winner = "sydney roosters" AND crowd > 7 OFFSET 426
What genre is the song recorded in 1926?
CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR)
SELECT genre FROM table_name_56 WHERE year_recorded = "1926"
In 1865, what was the first party?
CREATE TABLE table_name_20 (year VARCHAR)
SELECT 1 AS st_party FROM table_name_20 WHERE year = "1865"
What is the int percentage that has Ravg of 2.8?
CREATE TABLE table_name_29 (int_percentage VARCHAR, ravg VARCHAR)
SELECT int_percentage FROM table_name_29 WHERE ravg = "2.8"
What is the smallest number of drawn games when there are fewer than 4 points and more than 4 lost games?
CREATE TABLE table_name_52 (drawn INTEGER, points VARCHAR, lost VARCHAR)
SELECT MIN(drawn) FROM table_name_52 WHERE points < 4 AND lost > 4
What is the Gaelic name for an area less than 127 in Kintyre?
CREATE TABLE table_name_63 (gaelic_name VARCHAR, area___ha__ VARCHAR, location VARCHAR)
SELECT gaelic_name FROM table_name_63 WHERE area___ha__ < 127 AND location = "kintyre"
Name the position for judy-ann ramirez
CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR)
SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez"
Name the lowest points for officine alfieri maserati
CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)
SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati"
What Date has a Winning driver of ugo sivocci?
CREATE TABLE table_name_61 (date VARCHAR, winning_driver VARCHAR)
SELECT date FROM table_name_61 WHERE winning_driver = "ugo sivocci"
Which event had 4th place and took place in the year 2007?
CREATE TABLE table_name_76 (event VARCHAR, position VARCHAR, year VARCHAR)
SELECT event FROM table_name_76 WHERE position = "4th" AND year = 2007
Which position was in Orlando in 2000?
CREATE TABLE table_name_15 (position VARCHAR, years_in_orlando VARCHAR)
SELECT position FROM table_name_15 WHERE years_in_orlando = "2000"
What was the capacity percentage when attendance was 71080?
CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, average_attendance VARCHAR)
SELECT capacity_percentage FROM table_28884858_2 WHERE average_attendance = 71080
What's the total Lost with Games that's less than 4?
CREATE TABLE table_name_23 (lost INTEGER, games INTEGER)
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
Which Driver has a Sponsor of pdvsa?
CREATE TABLE table_name_26 (driver_s_ VARCHAR, sponsor_s_ VARCHAR)
SELECT driver_s_ FROM table_name_26 WHERE sponsor_s_ = "pdvsa"
What date has 2:48 as the time?
CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_48 WHERE time = "2:48"
Name the nickname that was founded 1798
CREATE TABLE table_2293402_2 (nickname VARCHAR, founded VARCHAR)
SELECT nickname FROM table_2293402_2 WHERE founded = 1798
What is the Closure date of Hunterston B
CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR)
SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B"
What is the 2005 value for the 2010 grand slam tournaments?
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2005 FROM table_name_37 WHERE 2010 = "grand slam tournaments"
What was the away team's score at western oval?
CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_14 WHERE venue = "western oval"
What was the Surface in the match with a Score of 7–5, 6–7, 4–6?
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6"
what is the record when the game is 13?
CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_17 WHERE game = 13
What is the IATA that has new south wales as the state/territory beginning on july 2009?
CREATE TABLE table_name_1 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR)
SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009"
How many people attended the game when Calgary was the home team and the decision was McLean?
CREATE TABLE table_name_11 (attendance VARCHAR, decision VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_11 WHERE decision = "mclean" AND home = "calgary"
How many bronze medals did the country with 7 medals and over 5 silver medals receive?
CREATE TABLE table_name_88 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_88 WHERE total = 7 AND silver > 5
What is the Place of the Player with a Score of 67-76-74-67=284?
CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284
Name the replaced by for august 9
CREATE TABLE table_25361570_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_25361570_2 WHERE date_of_vacancy = "August 9" AND date_of_appointment = "August 9"
Who is the visitor on May 9?
CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_14 WHERE date = "may 9"
What is the partially deleted result for a completed construction of m– in St. Maries Creosote?
CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR)
SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote"