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_29 (tournament VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR) ### Question: Which tournament has a clay surface and partner henri leconte in 1983? ### Answer: SELECT tournament FROM table_name_29 WHERE surface = "clay" AND partner = "henri leconte" AND date = 1983
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 (attendance INTEGER, date VARCHAR, week VARCHAR) ### Question: What is the highest attendance for December 14, 1958 for after week 12 ### Answer: SELECT MAX(attendance) FROM table_name_40 WHERE date = "december 14, 1958" AND week > 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_79 (rbis INTEGER, team VARCHAR, date VARCHAR) ### Question: When the team is the Boston Red Sox and the is date July 27, 1946, what are the average RBIs? ### Answer: SELECT AVG(rbis) FROM table_name_79 WHERE team = "boston red sox" AND date = "july 27, 1946"
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 (team VARCHAR, score VARCHAR) ### Question: Which Team has a Score of 108-107? ### Answer: SELECT team FROM table_name_82 WHERE score = "108-107"
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_6 (year VARCHAR, engine_s_ VARCHAR) ### Question: Which year has an Engine(s) of yamaha v8? ### Answer: SELECT year FROM table_name_6 WHERE engine_s_ = "yamaha v8"
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 (loss INTEGER, avg_g VARCHAR, long VARCHAR, gain VARCHAR) ### Question: What is the highest Loss, when Long is greater than 0, when Gain is greater than 484, and when Avg/g is greater than 126.4? ### Answer: SELECT MAX(loss) FROM table_name_75 WHERE long > 0 AND gain > 484 AND avg_g > 126.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_17 (worship_leader VARCHAR, time VARCHAR) ### Question: Who was the Worship Leader for the song that was 7:05 long? ### Answer: SELECT worship_leader FROM table_name_17 WHERE time = "7:05"
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_1553485_1 (channel_tv___dt__ VARCHAR, station VARCHAR) ### Question: What channel tv (dt) plays the KPIX station? ### Answer: SELECT channel_tv___dt__ FROM table_1553485_1 WHERE station = "KPIX"
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 (opponent VARCHAR, date VARCHAR) ### Question: What is the opponent from April 19? ### Answer: SELECT opponent FROM table_name_35 WHERE date = "april 19"
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 (away_team VARCHAR) ### Question: What is the Away team score for Away team North Melbourne? ### Answer: SELECT away_team AS score FROM table_name_13 WHERE away_team = "north 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_50 (rank INTEGER, goals VARCHAR, name VARCHAR) ### Question: What is the lowest Rank when the goals are less than 124 for Jeff Cunningham? ### Answer: SELECT MIN(rank) FROM table_name_50 WHERE goals > 124 AND name = "jeff cunningham"
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 products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR) ### Question: Find the name and price of the product that has been ordered the greatest number of times. ### Answer: SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 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_79 (Id VARCHAR) ### Question: What is the 2009 value with a 2010 A value? ### Answer: SELECT 2009 FROM table_name_79 WHERE 2010 = "a"
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 (attendance INTEGER, visitor VARCHAR) ### Question: How many were in attendance at the game where the visiting team was the Jazz? ### Answer: SELECT SUM(attendance) FROM table_name_67 WHERE visitor = "jazz"
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_21655290_1 (director VARCHAR, original_title VARCHAR) ### Question: Who is the director of kon-tiki original title? ### Answer: SELECT director FROM table_21655290_1 WHERE original_title = "Kon-Tiki"
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 (round INTEGER, player VARCHAR, pick VARCHAR) ### Question: What is the lowest round of Ed Smith, who had a pick lower than 19? ### Answer: SELECT MIN(round) FROM table_name_29 WHERE player = "ed smith" AND pick > 19
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_18138132_2 (function VARCHAR, version VARCHAR, title VARCHAR) ### Question: What is the function of 1.4 version of Windows live messenger? ### Answer: SELECT function FROM table_18138132_2 WHERE version = "1.4" AND title = "Windows Live Messenger"
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 (name VARCHAR, dcsf_number VARCHAR) ### Question: Who has a DCSF number of 3373? ### Answer: SELECT name FROM table_name_19 WHERE dcsf_number = 3373
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_15187735_8 (segment_b VARCHAR, segment_c VARCHAR) ### Question: Name the segment b for graphite s fly rod ### Answer: SELECT segment_b FROM table_15187735_8 WHERE segment_c = "Graphite s Fly Rod"
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_2 (races INTEGER, series VARCHAR, team VARCHAR) ### Question: How many races did the Formula Three Euroseries signature team have? ### Answer: SELECT SUM(races) FROM table_name_2 WHERE series = "formula three euroseries" AND team = "signature"
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 (away VARCHAR, home VARCHAR) ### Question: Which Away has a Home of 1–0? ### Answer: SELECT away FROM table_name_41 WHERE home = "1–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_name_16 (away_team VARCHAR, attendance VARCHAR) ### Question: Who was the away team when the attendance was 76? ### Answer: SELECT away_team FROM table_name_16 WHERE attendance = "76"
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_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR) ### Question: What is Opponents in Final, when Partner is "Jill Hetherington", and when Year is after 1988? ### Answer: SELECT opponents_in_final FROM table_name_96 WHERE partner = "jill hetherington" AND year > 1988
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_22673956_1 (race_name VARCHAR, track VARCHAR) ### Question: How many races took place on the Indianapolis Motor Speedway track? ### Answer: SELECT COUNT(race_name) FROM table_22673956_1 WHERE track = "Indianapolis Motor Speedway"
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_90 (home VARCHAR, score VARCHAR) ### Question: Which home team has a score of 5 – 6? ### Answer: SELECT home FROM table_name_90 WHERE score = "5 – 6"
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_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR) ### Question: What is the frequency of the model with part number lf80537gf0411m? ### Answer: SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M"
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_68 (first_airdate VARCHAR, episodes VARCHAR, nielsen_ranking VARCHAR) ### Question: What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38? ### Answer: SELECT first_airdate FROM table_name_68 WHERE episodes < 24 AND nielsen_ranking = "#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_21062353_1 (wildcats_points VARCHAR, game VARCHAR) ### Question: How many times did the Wildcats play a game 11 regardless of points scored? ### Answer: SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11
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 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR) ### Question: What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32? ### Answer: SELECT MIN(area) FROM table_name_75 WHERE density > 234.77 AND rank = 32 AND population < 965 OFFSET 040
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_18626383_2 (contestant VARCHAR, hometown VARCHAR) ### Question: When johannesburg is the hometown who is the contestant? ### Answer: SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg"
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_6 (best VARCHAR, qual_1 VARCHAR) ### Question: What is the best time for a team with a first-qualifying time of 59.448? ### Answer: SELECT best FROM table_name_6 WHERE qual_1 = "59.448"
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_30057479_1 (researched_at VARCHAR, geometry VARCHAR) ### Question: Where was d: ~100nm, l: 1 μm geometry researched? ### Answer: SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm"
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 (score VARCHAR, date VARCHAR) ### Question: What is the Score on January 23? ### Answer: SELECT score FROM table_name_8 WHERE date = "january 23"
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 (record VARCHAR, visitor VARCHAR) ### Question: Can you tell me the Record that has the Visitor of vancouver? ### Answer: SELECT record FROM table_name_67 WHERE visitor = "vancouver"
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_44 (proto_oceanic VARCHAR, verb VARCHAR) ### Question: What is the Proto-Oceanic verb for to die, be dead? ### Answer: SELECT proto_oceanic FROM table_name_44 WHERE verb = "to die, be dead"
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 (score VARCHAR, date VARCHAR) ### Question: On 21/07/07, what was the score? ### Answer: SELECT score FROM table_name_12 WHERE date = "21/07/07"
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_1341973_3 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the election where the incumbent is George M. Grant? ### Answer: SELECT candidates FROM table_1341973_3 WHERE incumbent = "George M. Grant"
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 (Id VARCHAR) ### Question: Name the 2010 for 2011 of a and 2008 of 1r ### Answer: SELECT 2010 FROM table_name_61 WHERE 2011 = "a" AND 2008 = "1r"
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_30 (record VARCHAR, date VARCHAR) ### Question: What is Record, when Date is Oct 19? ### Answer: SELECT record FROM table_name_30 WHERE date = "oct 19"
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 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR) ### Question: What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? ### Answer: SELECT SUM(a_score) FROM table_name_74 WHERE e_score > 9.383 AND total < 19.716 AND t_score > 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_54 (drawn INTEGER, team VARCHAR, points VARCHAR) ### Question: How many Drawns have a Team of aa são bento and Points larger than 1? ### Answer: SELECT SUM(drawn) FROM table_name_54 WHERE team = "aa são bento" AND points > 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_83 (player VARCHAR, year_s__won VARCHAR) ### Question: Who is the player who won in 1993? ### Answer: SELECT player FROM table_name_83 WHERE year_s__won = "1993"
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_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR) ### Question: What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance? ### Answer: SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949"
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_69 (final_year INTEGER, north_or_east_terminus VARCHAR) ### Question: What is the most minimal Final year that has a North or east end of covington? ### Answer: SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington"
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 (time VARCHAR, eliminated_by VARCHAR, wrestler VARCHAR) ### Question: What time was the Wrestler Henry eliminated by Batista? ### Answer: SELECT time FROM table_name_12 WHERE eliminated_by = "batista" AND wrestler = "henry"
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_32 (wamalwa VARCHAR, turnout__percentage VARCHAR) ### Question: What's listed for the Wamalwa that has a Turnout % of 55.9%? ### Answer: SELECT wamalwa FROM table_name_32 WHERE turnout__percentage = "55.9%"
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_21636599_2 (security_forces VARCHAR, civilians VARCHAR) ### Question: What are the security forces when the civilians are 202? ### Answer: SELECT security_forces FROM table_21636599_2 WHERE civilians = "202"
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_69 (attendance INTEGER, date VARCHAR, week VARCHAR) ### Question: What is the lowest Attendance, when Date is "December 20, 1970", and when Week is less than 14? ### Answer: SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14
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 Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR) ### Question: Which professionals have done at least two types of treatments? List the professional id and cell phone. ### Answer: SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 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_1182314_5 (percent__1990_ VARCHAR, state VARCHAR) ### Question: what are all the percent (1990) where state is mississippi ### Answer: SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi"
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_97 (high_points VARCHAR, high_rebounds VARCHAR) ### Question: who had the high points when chris bosh (13) had the high rebounds? ### Answer: SELECT high_points FROM table_name_97 WHERE high_rebounds = "chris bosh (13)"
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_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR) ### Question: How many episodes were directed by Rod Hardy? ### Answer: SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy"
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_76 (home VARCHAR, visitor VARCHAR) ### Question: Name the home with chicago visiting ### Answer: SELECT home FROM table_name_76 WHERE visitor = "chicago"
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 (team_1 VARCHAR, team_2 VARCHAR) ### Question: What is the team 1 with nîmes olympique (d2) as team 2? ### Answer: SELECT team_1 FROM table_name_66 WHERE team_2 = "nîmes olympique (d2)"
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_90 (total_score VARCHAR, champion VARCHAR) ### Question: When the champion was Gay Brewer Category:Articles with hCards what was the total score? ### Answer: SELECT total_score FROM table_name_90 WHERE champion = "gay brewer category:articles with hcards"
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_93 (money___ INTEGER, country VARCHAR, player VARCHAR) ### Question: What is the most money United States player Bob Gilder won? ### Answer: SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder"
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, class VARCHAR) ### Question: On which date was the class 157? ### Answer: SELECT date FROM table_name_40 WHERE class = 157
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 (venue VARCHAR, goal__number VARCHAR) ### Question: What was the venue where goal #2 occured? ### Answer: SELECT venue FROM table_name_11 WHERE goal__number = 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_63 (player VARCHAR, to_par VARCHAR, country VARCHAR) ### Question: Which united states player had a To par of 12? ### Answer: SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states"
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 (game INTEGER, date VARCHAR, batting_2nd VARCHAR) ### Question: what is the game for 23 april when batting 2nd is england 5/113 (19)? ### Answer: SELECT MIN(game) FROM table_name_62 WHERE date = "23 april" AND batting_2nd = "england 5/113 (19)"
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_95 (points INTEGER, drawn VARCHAR, played VARCHAR) ### Question: Which Points have Drawn of 1, and a Played larger than 14? ### Answer: SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14
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 (record VARCHAR, game VARCHAR) ### Question: Which Record has a Game of 19? ### Answer: SELECT record FROM table_name_78 WHERE game = 19
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 (gold INTEGER, silver VARCHAR, nation VARCHAR) ### Question: How many golds does Germany have with more than 1 silver? ### Answer: SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "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_57 (funny_car VARCHAR, pro_stock VARCHAR, year VARCHAR) ### Question: Who won Funny Car when Jim Yates won Pro Stock, in years after 1996? ### Answer: SELECT funny_car FROM table_name_57 WHERE pro_stock = "jim yates" AND year > 1996
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 (ties INTEGER, team VARCHAR, goals_against VARCHAR) ### Question: How many ties did the Montreal Victorias have with a GA of less than 24? ### Answer: SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24
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_9 (home_team VARCHAR, away_team VARCHAR) ### Question: Who is the team that played away team watford? ### Answer: SELECT home_team FROM table_name_9 WHERE away_team = "watford"
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 (date_of_death VARCHAR, name VARCHAR, cause_of_death VARCHAR, tenure VARCHAR) ### Question: What is gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death? ### Answer: SELECT date_of_death FROM table_name_47 WHERE cause_of_death = "gunfire" AND tenure = "6 years" AND name = "maria cecilia rosa"
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 (year VARCHAR, silver VARCHAR) ### Question: What is the total number of years when Mika Miyazato won the silver? ### Answer: SELECT COUNT(year) FROM table_name_11 WHERE silver = "mika miyazato"
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 (year VARCHAR, award VARCHAR) ### Question: How many years has the Mercury Prize award been given? ### Answer: SELECT COUNT(year) FROM table_name_47 WHERE award = "mercury prize"
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_2 (gold INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: What is the average Gold, when Nation is Hungary, and when Bronze is greater than 1? ### Answer: SELECT AVG(gold) FROM table_name_2 WHERE nation = "hungary" 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_97 (date VARCHAR, score VARCHAR) ### Question: When was the score 123-112? ### Answer: SELECT date FROM table_name_97 WHERE score = "123-112"
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 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) ### Question: Which Sub-Parish has a church built in 1866? ### Answer: SELECT sub_parish__sokn_ FROM table_name_19 WHERE year_built = "1866"
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 (coach VARCHAR, year VARCHAR) ### Question: Who was the coach in 1953? ### Answer: SELECT coach FROM table_name_19 WHERE year = "1953"
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 (staying_councillors INTEGER, new_council VARCHAR, previous_council VARCHAR) ### Question: Which Staying councillors have a New council of 7, and a Previous council larger than 8? ### Answer: SELECT AVG(staying_councillors) FROM table_name_22 WHERE new_council = 7 AND previous_council > 8
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_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR) ### Question: What is the pseudoknot prediction of the software named tfold? ### Answer: SELECT knots_knots AS :_pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold"
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 (opponent VARCHAR, round VARCHAR, season VARCHAR) ### Question: What is the Opponent with a Round of q2, in the 2005–06 season? ### Answer: SELECT opponent FROM table_name_75 WHERE round = "q2" AND season = "2005–06"
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 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR) ### Question: What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1? ### Answer: SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 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_18710512_3 (single VARCHAR, date VARCHAR, other_details VARCHAR) ### Question: What single(s) released in 2008 and had 4000 copies? ### Answer: SELECT single FROM table_18710512_3 WHERE date = 2008 AND other_details = "4000 copies"
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_20 (money___$__ VARCHAR, player VARCHAR) ### Question: What was the Money ($) amount for Cary Middlecoff? ### Answer: SELECT money___$__ FROM table_name_20 WHERE player = "cary middlecoff"
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_28116528_1 (original_air_date VARCHAR, production_code VARCHAR) ### Question: What date did the episode with a production code of 3x6316 originally air? ### Answer: SELECT original_air_date FROM table_28116528_1 WHERE production_code = "3X6316"
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_2501754_2 (production_count VARCHAR, episode__number VARCHAR) ### Question: How many episodes were numbered 5? ### Answer: SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 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_24122653_2 (finish VARCHAR, eliminated VARCHAR) ### Question: What is the number of finishes associated with an elimination of Adriana? ### Answer: SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana"
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_95 (fleet_number VARCHAR, model VARCHAR) ### Question: What is the fleet number for the model of Gillig Phantom 3096TB? ### Answer: SELECT fleet_number FROM table_name_95 WHERE model = "gillig phantom 3096tb"
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_20 (white VARCHAR, opening VARCHAR, moves VARCHAR, black VARCHAR, result VARCHAR) ### Question: What's the white for a black of Anand, a result of ½–½, 39 moves, and an opening of d37 queen's gambit declined? ### Answer: SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND moves = 39 AND opening = "d37 queen's gambit declined"
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_17058116_5 (high_points VARCHAR, date VARCHAR) ### Question: Who scored the high points on the date November 2? ### Answer: SELECT high_points FROM table_17058116_5 WHERE date = "November 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_44 (site VARCHAR, date VARCHAR) ### Question: WHAT IS THE SITE ON OCTOBER 7? ### Answer: SELECT site FROM table_name_44 WHERE date = "october 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_11 (league VARCHAR, number INTEGER) ### Question: What league has a number less than 1? ### Answer: SELECT league FROM table_name_11 WHERE 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_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) ### Question: What was the Result F–A on 21 February 2009, when the league position was 1st? ### Answer: SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
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 market (Country VARCHAR) ### Question: List all countries of markets in ascending alphabetical order. ### Answer: SELECT Country FROM market ORDER BY Country
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_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) ### Question: For how many series were there 11.84 million watchers? ### Answer: SELECT no_in_series FROM table_28561455_1 WHERE us_viewers__million_ = "11.84"
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_16034882_2 (loses VARCHAR, goals_scored VARCHAR) ### Question: How many games were lost when the goals scored was 37? ### Answer: SELECT COUNT(loses) FROM table_16034882_2 WHERE goals_scored = 37
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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on april 26, 2003? ### Answer: SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003"
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 (lost INTEGER, drawn VARCHAR, points VARCHAR) ### Question: How many games lost for the team that drew 5 times and had over 41 points? ### Answer: SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 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_13301516_1 (no_in_series VARCHAR, original_air_date VARCHAR) ### Question: How many episodes originally aired on April 29, 2008? ### Answer: SELECT COUNT(no_in_series) FROM table_13301516_1 WHERE original_air_date = "April 29, 2008"
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 (game VARCHAR, team VARCHAR) ### Question: What is the game number when the game was against phoenix? ### Answer: SELECT game FROM table_name_83 WHERE team = "phoenix"
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_26 (country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR) ### Question: Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956? ### Answer: SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956"
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_44 (home VARCHAR, opponent VARCHAR) ### Question: Who was the home when the opponent was slovan liberec? ### Answer: SELECT home FROM table_name_44 WHERE opponent = "slovan liberec"
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_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) ### Question: What is the league cup app with league cup goals more than 0? ### Answer: SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals > 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_287659_2 (state_name VARCHAR, regional_page__number VARCHAR) ### Question: What states have a regional page # of 1, 5-7, 9-11, 13-15? ### Answer: SELECT state_name FROM table_287659_2 WHERE regional_page__number = "1, 5-7, 9-11, 13-15"
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_9 (opponent VARCHAR, week INTEGER) ### Question: What's the Opponent with a Week that's larger than 16? ### Answer: SELECT opponent FROM table_name_9 WHERE week > 16