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_23 (investment_earnings VARCHAR, total_revenue VARCHAR) ### Question: What were the investment earnings in a year when total revenue was $21,779,618? ### Answer: SELECT investment_earnings FROM table_name_23 WHERE total_revenue = "21,779,618"
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 (date VARCHAR, venue VARCHAR) ### Question: Which date had a venue of the Gold Coast Convention Centre? ### Answer: SELECT date FROM table_name_36 WHERE venue = "gold coast convention centre"
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_94 (pick__number INTEGER, player VARCHAR) ### Question: What is Rhett Mclane's highest pick number? ### Answer: SELECT MAX(pick__number) FROM table_name_94 WHERE player = "rhett mclane"
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 (score VARCHAR, date VARCHAR) ### Question: What is the Score of the competition on October 25? ### Answer: SELECT score FROM table_name_47 WHERE date = "october 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_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) ### Question: What are the the approximate translations when the Morphological Category is 1st. plur. perfect? ### Answer: SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"
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 (score INTEGER, year VARCHAR) ### Question: Which Score is the lowest one that has a Year of 1868? ### Answer: SELECT MIN(score) FROM table_name_75 WHERE year = 1868
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_26218783_7 (points VARCHAR) ### Question: how many time was points 6675? ### Answer: SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675
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 (country VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: What country has a To par of +1 and the score of 71-76-70=217? ### Answer: SELECT country FROM table_name_25 WHERE to_par = "+1" AND score = 71 - 76 - 70 = 217
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 (record VARCHAR, december VARCHAR) ### Question: What was the record on December 3? ### Answer: SELECT record FROM table_name_40 WHERE december = 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_27 (year VARCHAR, finish VARCHAR) ### Question: What year was there a finish of 3? ### Answer: SELECT year FROM table_name_27 WHERE finish = "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_16278673_1 (population VARCHAR, municipality VARCHAR) ### Question: Name the population for sørvágur ### Answer: SELECT population FROM table_16278673_1 WHERE municipality = "Sørvágur"
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 (date VARCHAR, score VARCHAR) ### Question: What is the Date of the Match with a Score of 6–4, 7–5? ### Answer: SELECT date FROM table_name_27 WHERE score = "6–4, 7–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_19 (carriers VARCHAR, rank VARCHAR) ### Question: Which carrier is ranked 20? ### Answer: SELECT carriers FROM table_name_19 WHERE rank = 20
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_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR) ### Question: What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein? ### Answer: SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = "4.1" AND written_by = "Douglas Lieblein"
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_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR) ### Question: what is the outcome when the surface is grass on 23 june 1997? ### Answer: SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997"
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_29860752_11 (name__namesake_ VARCHAR) ### Question: What are all the name(namesakes) for the entire chart? ### Answer: SELECT name__namesake_ FROM table_29860752_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 has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR) ### Question: Find the name of amenities Smith Hall dorm have. ordered the results by amenity names. ### Answer: SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall' ORDER BY T3.amenity_name
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 (pick__number VARCHAR, overall VARCHAR) ### Question: How many picks have an Overall of 114? ### Answer: SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114
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_22056184_1 (position VARCHAR, poles VARCHAR) ### Question: Which positions are the poles 2? ### Answer: SELECT position FROM table_22056184_1 WHERE poles = 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_90 (occupation VARCHAR, residence VARCHAR) ### Question: What job is at red bank? ### Answer: SELECT occupation FROM table_name_90 WHERE residence = "red bank"
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_86 (title VARCHAR, content VARCHAR, translation VARCHAR) ### Question: Which title has content including mysticism, spiritualism, and a translation of the minaret of light? ### Answer: SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light"
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 (high_points VARCHAR, team VARCHAR) ### Question: What are the High points for Team @ portland? ### Answer: SELECT high_points FROM table_name_75 WHERE team = "@ portland"
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 (chapter VARCHAR, chinese VARCHAR) ### Question: Name the chapter with chinese of 釋水 ### Answer: SELECT chapter FROM table_name_28 WHERE chinese = "釋水"
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 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ### Question: What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? ### Answer: SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city"
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 (h___a VARCHAR, date VARCHAR) ### Question: What is the H/A of the game on 24 january 2009? ### Answer: SELECT h___a FROM table_name_50 WHERE date = "24 january 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 table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR) ### Question: What is the listed population from the 2010 census of West Bogor? ### Answer: SELECT MIN(population_at_2010_census) FROM table_1104312_5 WHERE english_name = "West Bogor"
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 (week INTEGER, result VARCHAR) ### Question: Which Week has a Result of l 41-14? ### Answer: SELECT MIN(week) FROM table_name_89 WHERE result = "l 41-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_23 (losses INTEGER, goals_for INTEGER) ### Question: What is the average losses for 22 goals? ### Answer: SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
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 (position VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR) ### Question: What position does Toby Flood, who is from Newcastle and has fewer than 24 caps, play? ### Answer: SELECT position FROM table_name_47 WHERE club_province = "newcastle" AND caps < 24 AND player = "toby flood"
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 (crowd INTEGER, venue VARCHAR) ### Question: What was the highest crowd at the venue MCG? ### Answer: SELECT MAX(crowd) FROM table_name_97 WHERE venue = "mcg"
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_34 (pick INTEGER, college VARCHAR) ### Question: What is the pick number for New Mexico? ### Answer: SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico"
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 (record VARCHAR, opponent VARCHAR) ### Question: What is the record of Tampa Bay Buccaneers? ### Answer: SELECT record FROM table_name_69 WHERE opponent = "tampa bay buccaneers"
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 (professional_partner VARCHAR, celebrity VARCHAR, rank VARCHAR, season VARCHAR, average VARCHAR) ### Question: Who is the professional partner of celebrity małgorzata foremniak with a season less than 7, an average greater than 34.66, and a rank less than 10? ### Answer: SELECT professional_partner FROM table_name_52 WHERE season < 7 AND average > 34.66 AND rank < 10 AND celebrity = "małgorzata foremniak"
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 (partner VARCHAR, date VARCHAR) ### Question: Who is the partner of the tournament on 6 July 1987? ### Answer: SELECT partner FROM table_name_12 WHERE date = "6 july 1987"
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 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR) ### Question: What College/Junior/Club Team (League) from Canada has a round smaller than 3? ### Answer: SELECT college_junior_club_team__league_ FROM table_name_52 WHERE nationality = "canada" 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_5 (surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: Which Surface has an Opponent in the final of daniella dominikovic? ### Answer: SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic"
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_85 (grid VARCHAR, driver VARCHAR) ### Question: Which Grid has a Driver of johnny dumfries? ### Answer: SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries"
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 (team VARCHAR, runner_up VARCHAR) ### Question: What team defeated the Capital City Giants? ### Answer: SELECT team FROM table_name_11 WHERE runner_up = "capital city giants"
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_19457_1 (town_ships INTEGER, village_groups VARCHAR) ### Question: How many townships are there in the region with 376 village groups? ### Answer: SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376
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 INTEGER, games VARCHAR, losses VARCHAR, team_name VARCHAR) ### Question: What's the lowest number of points with fewer than 8 losses and fewer than 24 games for the vancouver burrards? ### Answer: SELECT MIN(points) FROM table_name_66 WHERE losses < 8 AND team_name = "vancouver burrards" AND games < 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_1 (mintage VARCHAR, theme VARCHAR) ### Question: How many cowboy coins were minted? ### Answer: SELECT mintage FROM table_name_1 WHERE theme = "cowboy"
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_17521433_1 (swimsuit VARCHAR, average VARCHAR) ### Question: What was the swimsuit score for the country with the average score of 8.848? ### Answer: SELECT swimsuit FROM table_17521433_1 WHERE average = "8.848"
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 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR) ### Question: What position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws? ### Answer: SELECT COUNT(position) FROM table_name_83 WHERE difference = "- 6" AND lost = 3 AND drawn > 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_94 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR) ### Question: In what place did Nick Faldo, who had more than 284 points and a to par score of +5, finish? ### Answer: SELECT finish FROM table_name_94 WHERE total > 284 AND to_par = "+5" AND player = "nick faldo"
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 (overall INTEGER, college VARCHAR, pick__number VARCHAR) ### Question: What is the overall number for Louisiana Tech college, and a pick more than 10? ### Answer: SELECT SUM(overall) FROM table_name_59 WHERE college = "louisiana tech" AND pick__number > 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_17322817_10 (location_attendance VARCHAR, date VARCHAR) ### Question: Name the location attendance for april 13 ### Answer: SELECT location_attendance FROM table_17322817_10 WHERE date = "April 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_name_97 (overall VARCHAR, college VARCHAR, round VARCHAR) ### Question: How many overall values have a college of Notre Dame and rounds over 2? ### Answer: SELECT COUNT(overall) FROM table_name_97 WHERE college = "notre dame" AND round > 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_31 (class VARCHAR, peak VARCHAR) ### Question: Which class has a peak named fountains fell south top? ### Answer: SELECT class FROM table_name_31 WHERE peak = "fountains fell south top"
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_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) ### Question: What was the original air date of the episode written by amanda segel? ### Answer: SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel"
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_13700749_1 (language_s_ VARCHAR, film_title VARCHAR) ### Question: What are all the languages for tsotsi? ### Answer: SELECT language_s_ FROM table_13700749_1 WHERE film_title = "Tsotsi"
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_1 (byes VARCHAR, draws VARCHAR, against VARCHAR) ### Question: What is the total number of byes that has 1 draw and an against of 1374? ### Answer: SELECT COUNT(byes) FROM table_name_1 WHERE draws = 1 AND against = 1374
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 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, name_in_polish VARCHAR) ### Question: Tell me the population for gubernia łomżyńska ### Answer: SELECT population, _in_thousands, __1905__ FROM table_name_79 WHERE name_in_polish = "gubernia łomżyńska"
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_45 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent with the 20-12 record? ### Answer: SELECT opponent FROM table_name_45 WHERE record = "20-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_84 (grid VARCHAR, driver VARCHAR) ### Question: Jacques Villeneuve was on what grid? ### Answer: SELECT grid FROM table_name_84 WHERE driver = "jacques villeneuve"
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 (losses INTEGER, wins VARCHAR, against VARCHAR) ### Question: What are the losses when there are 9 wins and more than 1326 against? ### Answer: SELECT SUM(losses) FROM table_name_47 WHERE wins = 9 AND against > 1326
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_42 (per_capita VARCHAR, region VARCHAR) ### Question: What is the per capita of Greece? ### Answer: SELECT per_capita FROM table_name_42 WHERE region = "greece"
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 (tyres VARCHAR, chassis VARCHAR) ### Question: What tyres were used with the mp4/14 chassis? ### Answer: SELECT tyres FROM table_name_40 WHERE chassis = "mp4/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_19753079_4 (incumbent VARCHAR, district VARCHAR) ### Question: Name the incumbent for alabama 6 ### Answer: SELECT incumbent FROM table_19753079_4 WHERE district = "Alabama 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_name_39 (series VARCHAR, editor VARCHAR, albums VARCHAR) ### Question: Which series with a total of 27 albums did Dargaud edit? ### Answer: SELECT series FROM table_name_39 WHERE editor = "dargaud" AND albums = "27"
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 (competition VARCHAR, date VARCHAR) ### Question: what is the competition when the date is 1995-08-06? ### Answer: SELECT competition FROM table_name_35 WHERE date = "1995-08-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_6 (date VARCHAR, game VARCHAR) ### Question: What is Date, when Game is "65"? ### Answer: SELECT date FROM table_name_6 WHERE game = 65
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 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR) ### Question: What is the Hanyu Pinyin with a density of 39.63? ### Answer: SELECT hanyu_pinyin FROM table_name_32 WHERE density___km²_ = "39.63"
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_85 (rank VARCHAR, mark VARCHAR, nationality VARCHAR) ### Question: What rank has a mark of NM and is from India? ### Answer: SELECT rank FROM table_name_85 WHERE mark = "nm" AND nationality = "india"
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 (result VARCHAR, date VARCHAR) ### Question: What was the Result of the game dated 21st? ### Answer: SELECT result FROM table_name_97 WHERE date = "21st"
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 (score VARCHAR, opponent VARCHAR) ### Question: What is Score, when Opponent is "Daniel Gimeno-Traver"? ### Answer: SELECT score FROM table_name_38 WHERE opponent = "daniel gimeno-traver"
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 phone_market (Num_of_stock INTEGER, Phone_ID VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR) ### Question: For each phone, show its names and total number of stocks. ### Answer: SELECT T2.Name, SUM(T1.Num_of_stock) FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name
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_1929755_1 (top_5 VARCHAR, avg_start VARCHAR) ### Question: HOw many top 5 starts did the team with an average start of 17.7 have? ### Answer: SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start = "17.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_90 (year INTEGER, nominee VARCHAR) ### Question: In what year was Lesli Margherita nominated? ### Answer: SELECT SUM(year) FROM table_name_90 WHERE nominee = "lesli margherita"
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_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR) ### Question: What is the final score in 2007 for the world league in novi sad played against Italy? ### Answer: SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy"
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_31 (team VARCHAR, location_attendance VARCHAR, series VARCHAR) ### Question: what is the team when the location attendace is boston garden and the series is 0-1? ### Answer: SELECT team FROM table_name_31 WHERE location_attendance = "boston garden" AND series = "0-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_45 (goal INTEGER, competition VARCHAR) ### Question: What is the smallest goal during the 2006 fifa world cup qualification competition? ### Answer: SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification"
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 (other_b VARCHAR, fa_cup VARCHAR) ### Question: What is the Other b when the FA Cup shows 3 (17)? ### Answer: SELECT other_b FROM table_name_96 WHERE fa_cup = "3 (17)"
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_12547903_3 (branding VARCHAR, location VARCHAR) ### Question: What was the branding in Dagupan? ### Answer: SELECT branding FROM table_12547903_3 WHERE location = "Dagupan"
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_28177800_5 (late_middle_english VARCHAR, late_old_english__anglian_ VARCHAR) ### Question: What is the Late Middle English equivalent of the Anglian æg, ǣg? ### Answer: SELECT late_middle_english FROM table_28177800_5 WHERE late_old_english__anglian_ = "æg, ǣg"
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_21234111_6 (song VARCHAR, scoreboard VARCHAR) ### Question: Name the number of song for scoreboard being 3rd ### Answer: SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "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_74 (lap_by_lap VARCHAR, year VARCHAR, pit_reporters VARCHAR) ### Question: Which lap-by-lap has a year after 1973, with pit reporter Bill Flemming? ### Answer: SELECT lap_by_lap FROM table_name_74 WHERE year > 1973 AND pit_reporters = "bill flemming"
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_1140111_5 (report VARCHAR, winning_driver VARCHAR) ### Question: How many different kinds of reports are there for races that Juan Manuel Fangio won? ### Answer: SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio"
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 (attendance INTEGER, result VARCHAR, year VARCHAR) ### Question: What was the total attendance for a result of 7-23 before 1960? ### Answer: SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960
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 (date VARCHAR, sample_size VARCHAR, republican VARCHAR) ### Question: What was the date for Ron Paul as republican and a sample sized less than 472? ### Answer: SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"
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 (year VARCHAR, chassis VARCHAR, points VARCHAR) ### Question: Name the total number of year for chassis of kurtis kraft 4000 and points more than 2 ### Answer: SELECT COUNT(year) FROM table_name_89 WHERE chassis = "kurtis kraft 4000" AND points > 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_1341884_45 (first_elected VARCHAR, district VARCHAR) ### Question: how many voted in the texas 6 section ### Answer: SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 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_name_24 (year INTEGER, attendance VARCHAR) ### Question: What year was the average attendance 80,388? ### Answer: SELECT AVG(year) FROM table_name_24 WHERE attendance = "80,388"
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_71 (margin_of_victory VARCHAR, winning_score VARCHAR) ### Question: Who were the runner(s)-up when the winning score was –10 (69-68-74-67=278)? ### Answer: SELECT margin_of_victory FROM table_name_71 WHERE winning_score = –10(69 - 68 - 74 - 67 = 278)
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_1140083_2 (rnd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) ### Question: How many rounds were won with James Hunt as pole position and John Watson as fastest lap? ### Answer: SELECT COUNT(rnd) FROM table_1140083_2 WHERE pole_position = "James Hunt" AND fastest_lap = "John Watson"
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_in_the_final VARCHAR, outcome VARCHAR) ### Question: What is the Opponent in the final when the outcome was runner-up? ### Answer: SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up"
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 (winning_driver VARCHAR, race_name VARCHAR) ### Question: What driver won the VII Rand Grand Prix? ### Answer: SELECT winning_driver FROM table_name_26 WHERE race_name = "vii rand grand prix"
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_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR) ### Question: Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi? ### Answer: SELECT MIN(fifa_club_world_championship) FROM table_name_56 WHERE uefa_champions_league = 0 AND total < 3 AND name = "geremi"
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_1557752_1 (prothrombin_time VARCHAR, condition VARCHAR) ### Question: What is the prothrombin time in Von willebrand disease? ### Answer: SELECT prothrombin_time FROM table_1557752_1 WHERE condition = "Von Willebrand disease"
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 (score VARCHAR, opponents VARCHAR, date VARCHAR) ### Question: What is the score of the September 20, 2005 match when the Opponents are FC Bayern Munich? ### Answer: SELECT score FROM table_name_2 WHERE opponents = "fc bayern munich" AND date = "september 20, 2005"
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 (wicket VARCHAR, runs__balls_ VARCHAR) ### Question: Which wicket had a 100 (45) Runs (balls) amount? ### Answer: SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)"
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 (film_name VARCHAR, year VARCHAR) ### Question: Which film was released in the year 2002? ### Answer: SELECT film_name FROM table_name_63 WHERE year = 2002
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_72 (score VARCHAR, game VARCHAR) ### Question: What is the score of game 37? ### Answer: SELECT score FROM table_name_72 WHERE game = 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_50 (year INTEGER, delegate VARCHAR) ### Question: Which Year jennifer tarol barrientos is in? ### Answer: SELECT MAX(year) FROM table_name_50 WHERE delegate = "jennifer tarol barrientos"
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 (record VARCHAR, home VARCHAR) ### Question: What was the record while at home in Anaheim? ### Answer: SELECT record FROM table_name_95 WHERE home = "anaheim"
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_39 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home team played against Geelong? ### Answer: SELECT home_team FROM table_name_39 WHERE away_team = "geelong"
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 (median_family_income VARCHAR, median_household_income VARCHAR) ### Question: What is Median Family Income, when Median Household Income is "$50,717"? ### Answer: SELECT median_family_income FROM table_name_76 WHERE median_household_income = "$50,717"
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 (date VARCHAR, catalog VARCHAR, format VARCHAR) ### Question: Which Date has a Catalog of 887 195-2, and a Format of cd maxi? ### Answer: SELECT date FROM table_name_63 WHERE catalog = "887 195-2" AND format = "cd maxi"
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_15887683_6 (package_option VARCHAR, television_service VARCHAR) ### Question: Name the number of package/option for sky primafila 24 ### Answer: SELECT COUNT(package_option) FROM table_15887683_6 WHERE television_service = "Sky Primafila 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_1213511_2 (nhl_team VARCHAR, player VARCHAR) ### Question: How many NHL teams does Terry French play for? ### Answer: SELECT COUNT(nhl_team) FROM table_1213511_2 WHERE player = "Terry French"
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_1341598_10 (district VARCHAR, incumbent VARCHAR) ### Question: In what district was the incumbent Michael Bilirakis? ### Answer: SELECT district FROM table_1341598_10 WHERE incumbent = "Michael Bilirakis"