text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (byes INTEGER, draws INTEGER) ### Question: How many byes were there recorded with 0 draws? ### Answer: SELECT SUM(byes) FROM table_name_27 WHERE draws < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_262560_2 (type VARCHAR, nickname VARCHAR) ### Question: What type of school has the nickname the Oilers? ### Answer: SELECT type FROM table_262560_2 WHERE nickname = "Oilers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR) ### Question: Who did the Toronto Blue Jays play against where the score was 4 - 2? ### Answer: SELECT opponent FROM table_name_66 WHERE score = "4 - 2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) ### Question: Which venue hosted South Melbourne? ### Answer: SELECT venue FROM table_name_50 WHERE away_team = "south melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (away_team VARCHAR) ### Question: What is the St Kilda Away team score? ### Answer: SELECT away_team AS score FROM table_name_24 WHERE away_team = "st kilda"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (absorb__nm_ VARCHAR, color VARCHAR, emit__nm_ VARCHAR) ### Question: What is the Absorbtion (in nanometers) of the color Violet with an emission of 432 nm? ### Answer: SELECT absorb__nm_ FROM table_name_59 WHERE color = "violet" AND emit__nm_ = "432"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (report VARCHAR, set_1 VARCHAR) ### Question: What shows for Report hen there is a set 1 of 19–25? ### Answer: SELECT report FROM table_name_15 WHERE set_1 = "19–25"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_262527_1 (nickname VARCHAR, institution VARCHAR) ### Question: what is the total number of nicknames for southwestern college? ### Answer: SELECT COUNT(nickname) FROM table_262527_1 WHERE institution = "Southwestern College"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR) ### Question: How many episodes have the season number of 1? ### Answer: SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (rank INTEGER, nation VARCHAR) ### Question: What is the lowest Rank with a Nation that is east germany? ### Answer: SELECT MIN(rank) FROM table_name_43 WHERE nation = "east germany"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR) ### Question: what is the nationality when the heat is less than 3 and the time is 2:35.31? ### Answer: SELECT nationality FROM table_name_81 WHERE heat < 3 AND time = "2:35.31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (week INTEGER, date VARCHAR) ### Question: What week was the December 24, 1994 game? ### Answer: SELECT SUM(week) FROM table_name_78 WHERE date = "december 24, 1994"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (election VARCHAR) ### Question: What was the 3rd Party in the Election of 1922? ### Answer: SELECT 3 AS rd_party FROM table_name_35 WHERE election = "1922"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1876825_6 (original_air_date VARCHAR, production_code VARCHAR) ### Question: What was the original air for the 06-03-521 production code? ### Answer: SELECT original_air_date FROM table_1876825_6 WHERE production_code = "06-03-521"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10020178_1 (year_of_construction INTEGER, name VARCHAR) ### Question: What is year of construction of spitallamm? ### Answer: SELECT MIN(year_of_construction) FROM table_10020178_1 WHERE name = "Spitallamm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (points VARCHAR, country VARCHAR, place VARCHAR) ### Question: What points has united kingdom as the country, and 10 as the place? ### Answer: SELECT points FROM table_name_29 WHERE country = "united kingdom" AND place = 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) ### Question: Which Surface has a Result of fernando verdasco? ### Answer: SELECT surface FROM table_name_10 WHERE result = "fernando verdasco"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (opponent VARCHAR, season VARCHAR) ### Question: What opponent has 2011/12 as the season? ### Answer: SELECT opponent FROM table_name_79 WHERE season = "2011/12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (year VARCHAR) ### Question: What's the year when 1851 had 634? ### Answer: SELECT year FROM table_name_29 WHERE 1851 = "634"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24224647_2 (main_presenter VARCHAR, year_premiered VARCHAR) ### Question: Who is every main presenter for the year 2011? ### Answer: SELECT main_presenter FROM table_24224647_2 WHERE year_premiered = 2011
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR) ### Question: Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I? ### Answer: SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group I"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (Id VARCHAR) ### Question: What is the 2008 for the 2009 ch our charming lady? ### Answer: SELECT 2008 FROM table_name_89 WHERE 2009 = "ch our charming lady"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (play_by_play VARCHAR, studio_host VARCHAR) ### Question: Studio host of jimmy myers had what play by play? ### Answer: SELECT play_by_play FROM table_name_80 WHERE studio_host = "jimmy myers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR) ### Question: What result has miami dolphins as the opponent? ### Answer: SELECT result FROM table_name_36 WHERE opponent = "miami dolphins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR) ### Question: What is the max torque of the 1.2 mpi engine? ### Answer: SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE game (Date VARCHAR, home_team VARCHAR) ### Question: List the dates of games by the home team name in descending order. ### Answer: SELECT Date FROM game ORDER BY home_team DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (party VARCHAR, representative VARCHAR) ### Question: Which Party has a Representative of brian bosma? ### Answer: SELECT party FROM table_name_61 WHERE representative = "brian bosma"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR) ### Question: Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? ### Answer: SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR) ### Question: What is Record, when Game is "36"? ### Answer: SELECT record FROM table_name_79 WHERE game = 36
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR) ### Question: How many years was lynn muscarella the high school principal and charlie wiltse the superintendent? ### Answer: SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR) ### Question: Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota? ### Answer: SELECT week FROM table_name_40 WHERE home_team = "detroit" AND divisional_record = "(3-0)" AND overall_record = "(5-1)" AND away_team = "minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR) ### Question: Which team had a game of 82? ### Answer: SELECT team FROM table_name_60 WHERE game = 82
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (state VARCHAR, circuit VARCHAR) ### Question: In which state can you find the Sandown circuit? ### Answer: SELECT state FROM table_name_74 WHERE circuit = "sandown"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)? ### Answer: SELECT dominant_religion__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE ARTIST (Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR) ### Question: Find the names of artists that do not have any albums. ### Answer: SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (floors INTEGER, built VARCHAR, roof___m__ VARCHAR) ### Question: What's the average number of floors that were built in 2004, and have a roof (m) of 106? ### Answer: SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR) ### Question: What seasons does Nick lucas appear? ### Answer: SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR) ### Question: How many points did Carlton score? ### Answer: SELECT home_team AS score FROM table_name_41 WHERE away_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2679061_6 (pick__number INTEGER, player VARCHAR) ### Question: What is the highest pick number for player don barber? ### Answer: SELECT MAX(pick__number) FROM table_2679061_6 WHERE player = "Don Barber"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR) ### Question: Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position? ### Answer: SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (bb_pop VARCHAR, riaa VARCHAR, year VARCHAR) ### Question: What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961? ### Answer: SELECT bb_pop FROM table_name_8 WHERE riaa = "g" AND year < 1961
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (place VARCHAR, nation VARCHAR) ### Question: What is the Place associated with Cuba? ### Answer: SELECT place FROM table_name_49 WHERE nation = "cuba"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) ### Question: Name the starting from thiruvezhukkurrirukkai ### Answer: SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (crowd VARCHAR, venue VARCHAR) ### Question: How many people have attended victoria park? ### Answer: SELECT COUNT(crowd) FROM table_name_62 WHERE venue = "victoria park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR) ### Question: How many teams are listed for 3rd wickets? ### Answer: SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (minimum_height VARCHAR, name_of_the_tunnel VARCHAR) ### Question: What is the minimum Height of the Little Switzerland Tunnel? ### Answer: SELECT minimum_height FROM table_name_49 WHERE name_of_the_tunnel = "little switzerland tunnel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) ### Question: Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3? ### Answer: SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (version VARCHAR, year VARCHAR, length VARCHAR) ### Question: What is the Version before 2001 with a Length of 7:42? ### Answer: SELECT version FROM table_name_64 WHERE year < 2001 AND length = "7:42"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (player VARCHAR, college VARCHAR) ### Question: Who plays for sam houston state? ### Answer: SELECT player FROM table_name_79 WHERE college = "sam houston state"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR) ### Question: What Date was the Country of japan, and a Label of sony? ### Answer: SELECT date FROM table_name_75 WHERE country = "japan" AND label = "sony"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17839_1 (future_stock VARCHAR, map_colour VARCHAR) ### Question: When green is the map colour what is the future stock? ### Answer: SELECT future_stock FROM table_17839_1 WHERE map_colour = "Green"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16388478_2 (home_team VARCHAR, ground VARCHAR) ### Question: What were the home team scores at york park? ### Answer: SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: What is the total for Austria when there is less than 1 bronze? ### Answer: SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (prize VARCHAR, name VARCHAR) ### Question: What is Prize, when Name is "Valdemar Kwaysser"? ### Answer: SELECT prize FROM table_name_58 WHERE name = "valdemar kwaysser"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1410384_1 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR) ### Question: what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson ### Answer: SELECT character_name FROM table_1410384_1 WHERE voice_actor__english_1998___pioneer_ = "Paul Dobson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR) ### Question: What title aired on March 19, 1998? ### Answer: SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (score VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What is the score of the game with Grizzlies as the visitor team on 30 December 2007? ### Answer: SELECT score FROM table_name_21 WHERE visitor = "grizzlies" AND date = "30 december 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (city VARCHAR, airport VARCHAR) ### Question: What city is Jaffna Airport in? ### Answer: SELECT city FROM table_name_25 WHERE airport = "jaffna airport"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (scorers VARCHAR, date VARCHAR) ### Question: Who was on 12 March 2000? ### Answer: SELECT scorers FROM table_name_24 WHERE date = "12 march 2000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR) ### Question: What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken? ### Answer: SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25008327_8 (macedonian VARCHAR, slovianski VARCHAR) ### Question: How many values for Macedonian correspond to Slovianski value of Veliki? ### Answer: SELECT COUNT(macedonian) FROM table_25008327_8 WHERE slovianski = "veliki"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR) ### Question: What date has aus by 382 runs as the result? ### Answer: SELECT date FROM table_name_25 WHERE result = "aus by 382 runs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29756040_1 (song_choice VARCHAR, week__number VARCHAR) ### Question: Which song was chosen during the audition week? ### Answer: SELECT song_choice FROM table_29756040_1 WHERE week__number = "Audition"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) ### Question: How many laps does jean-christophe boullion have with a time/retired of +1 lap? ### Answer: SELECT laps FROM table_name_67 WHERE time_retired = "+1 lap" AND driver = "jean-christophe boullion"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR) ### Question: What was the score on may 21? ### Answer: SELECT score FROM table_name_43 WHERE date = "may 21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR) ### Question: What is the sum of Week when there were 67,968 people in attendance? ### Answer: SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (wins INTEGER, against INTEGER) ### Question: What is the sum of wins for teams with against under 1067? ### Answer: SELECT SUM(wins) FROM table_name_16 WHERE against < 1067
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR) ### Question: Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst? ### Answer: SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27969432_3 (original_air_date VARCHAR, written_by VARCHAR) ### Question: How many episodes were written by david j. north & janet tamaro? ### Answer: SELECT COUNT(original_air_date) FROM table_27969432_3 WHERE written_by = "David J. North & Janet Tamaro"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (dubose_porter VARCHAR, roy_barnes VARCHAR) ### Question: What is the DuBose Porter with Roy Barnes at 54%? ### Answer: SELECT dubose_porter FROM table_name_16 WHERE roy_barnes = "54%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (first_election VARCHAR, name VARCHAR) ### Question: What is Kerry J. Donley's First Election date? ### Answer: SELECT first_election FROM table_name_23 WHERE name = "kerry j. donley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR) ### Question: what position has a handicap of 10-2? ### Answer: SELECT position FROM table_25429986_1 WHERE handicap = "10-2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (points INTEGER, assists VARCHAR) ### Question: How many points have 41 assists? ### Answer: SELECT SUM(points) FROM table_name_28 WHERE assists = 41
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (producer VARCHAR, year VARCHAR) ### Question: Who were the producers in 1961? ### Answer: SELECT producer FROM table_name_60 WHERE year = 1961
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR) ### Question: When 3t7458 is the production code who are the writers? ### Answer: SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) ### Question: Which entrant had a Brabham BT10 chassis before 1965? ### Answer: SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (tournament VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) ### Question: What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"? ### Answer: SELECT tournament FROM table_name_46 WHERE black = "kramnik" AND result = "½–½" AND moves = 40
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR) ### Question: Who had the fastest lap on september 4? ### Answer: SELECT fastest_lap FROM table_30134667_2 WHERE date = "September 4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (country VARCHAR) ### Question: What is the 2013 index of economic freedom of Slovenia? ### Answer: SELECT 2013 AS _index_of_economic_freedom FROM table_name_22 WHERE country = "slovenia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR) ### Question: What is Player, when Total is greater than 148, and when To Par is "12"? ### Answer: SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (winner VARCHAR, circuit VARCHAR) ### Question: Who was the winner on the Amaroo Park circuit? ### Answer: SELECT winner FROM table_name_38 WHERE circuit = "amaroo park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (game_site VARCHAR, result VARCHAR) ### Question: Name the game site with result of l 7-38 ### Answer: SELECT game_site FROM table_name_36 WHERE result = "l 7-38"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (score VARCHAR, game VARCHAR) ### Question: What was the score of game 43? ### Answer: SELECT score FROM table_name_57 WHERE game = 43
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (winning_constructor VARCHAR, circuit VARCHAR) ### Question: What Winning constructor has a Circuit of lasarte? ### Answer: SELECT winning_constructor FROM table_name_82 WHERE circuit = "lasarte"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR) ### Question: Which nation is where the horse parkmore ed is? ### Answer: SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) ### Question: Where is the University that is also called Hawks? ### Answer: SELECT location FROM table_19210115_1 WHERE nickname = "Hawks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR) ### Question: What is donovan's surname? ### Answer: SELECT surname FROM table_name_12 WHERE first = "donovan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25764073_3 (episode__number INTEGER, writer_s_ VARCHAR) ### Question: Name the least episode number for anne brooksbank and vicki madden ### Answer: SELECT MIN(episode__number) FROM table_25764073_3 WHERE writer_s_ = "Anne Brooksbank and Vicki Madden"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1756284_1 (kerry_percentage VARCHAR, kerry_number VARCHAR) ### Question: When Kerry# was 199060, what was the percentage? ### Answer: SELECT kerry_percentage FROM table_1756284_1 WHERE kerry_number = 199060
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26168687_5 (vessel_type VARCHAR, vessel_operator VARCHAR) ### Question: Name the vessel type for dof subsea ### Answer: SELECT vessel_type FROM table_26168687_5 WHERE vessel_operator = "DOF Subsea"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (year INTEGER, result VARCHAR) ### Question: What is the sum of Year, when Result is 9th? ### Answer: SELECT SUM(year) FROM table_name_10 WHERE result = "9th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) ### Question: Name the points classification for quick step-innergetic with stage 7 ### Answer: SELECT points_classification FROM table_name_66 WHERE team_classification = "quick step-innergetic" AND stage = "7"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (rank INTEGER, rider VARCHAR) ### Question: What is the highest rank for Peter Symes? ### Answer: SELECT MAX(rank) FROM table_name_64 WHERE rider = "peter symes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (team_1 VARCHAR) ### Question: What is the 1st leg result when team 1 is Gambia? ### Answer: SELECT 1 AS st_leg FROM table_name_10 WHERE team_1 = "gambia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (fall_08 VARCHAR, fall_06 VARCHAR, fall_05 VARCHAR) ### Question: What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05? ### Answer: SELECT COUNT(fall_08) FROM table_name_52 WHERE fall_06 = 57 AND fall_05 < 74
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) ### Question: Which date was the Memorial Tournament held on, when Payne Stewart was runner-up? ### Answer: SELECT date FROM table_name_40 WHERE tournament = "memorial tournament" AND runner_s__up = "payne stewart"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, bronze VARCHAR) ### Question: What is the high silver total for nations with 3 golds and under 5 bronzes? ### Answer: SELECT MAX(silver) FROM table_name_61 WHERE gold = 3 AND bronze < 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR) ### Question: Which Avg/G has a Name of josh freeman, and a Loss smaller than 134? ### Answer: SELECT SUM(avg_g) FROM table_name_59 WHERE name = "josh freeman" AND loss < 134
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (tamil VARCHAR, kannada VARCHAR) ### Question: WHAT TAMIL HAS Kannada of budhavara? ### Answer: SELECT tamil FROM table_name_91 WHERE kannada = "budhavara"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR) ### Question: Name the republican steve sauerberg where dates administered september 15-september 18, 2008 ### Answer: SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008"