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_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR) ### Question: What's the service number of the Pune Duronto train that departures at 21:35? ### Answer: SELECT service FROM table_23477312_1 WHERE train_name = "Pune Duronto" AND departure = "21:35"
Below is an context that describes a 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: Which is the lowest 1980 growth that had 2,610 in 1970? ### Answer: SELECT MIN(1980) FROM table_name_61 WHERE 1970 = 2 OFFSET 610
Below is an context that describes a 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 (name VARCHAR, medal VARCHAR, games VARCHAR) ### Question: Who received the bronze medal in the 2000 Sydney games? ### Answer: SELECT name FROM table_name_95 WHERE medal = "bronze" AND games = "2000 sydney"
Below is an context that describes a 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 (country VARCHAR, tournament VARCHAR) ### Question: What country was the Paris Masters tournament played in? ### Answer: SELECT country FROM table_name_83 WHERE tournament = "paris masters"
Below is an context that describes a 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 (team VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) ### Question: What team has tony parker (10) as the high assists, kurt thomas (12) as the high rebounds? ### Answer: SELECT team FROM table_name_57 WHERE high_assists = "tony parker (10)" AND high_rebounds = "kurt thomas (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_14 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) ### Question: What is the lowest events that have 17 as the cuts made, with a top-25 less than 8? ### Answer: SELECT MIN(events) FROM table_name_14 WHERE cuts_made = 17 AND top_25 < 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_1341586_14 (result VARCHAR, incumbent VARCHAR) ### Question: How did the election end for Terry L. Bruce? ### Answer: SELECT result FROM table_1341586_14 WHERE incumbent = "Terry L. Bruce"
Below is an context that describes a 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_88 (score VARCHAR, visiting_team VARCHAR, date VARCHAR) ### Question: What was the score for Edmonton Drillers on January 6, 2008? ### Answer: SELECT score FROM table_name_88 WHERE visiting_team = "edmonton drillers" AND date = "january 6, 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_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR) ### Question: What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 ### Answer: SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683
Below is an context that describes a 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 (pick INTEGER, name VARCHAR, overall VARCHAR) ### Question: What is the pick of Charley Taylor, who has an overall greater than 3? ### Answer: SELECT SUM(pick) FROM table_name_58 WHERE name = "charley taylor" AND overall > 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_23346303_5 (points VARCHAR, assists VARCHAR) ### Question: What is the points total number if the assists is 7? ### Answer: SELECT COUNT(points) FROM table_23346303_5 WHERE assists = 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_93 (home_team VARCHAR, venue VARCHAR) ### Question: Which home team played at MCG? ### Answer: SELECT home_team FROM table_name_93 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_82 (year INTEGER, co_drivers VARCHAR) ### Question: In what year Year has a Co-Drivers of jérôme policand christopher campbell? ### Answer: SELECT SUM(year) FROM table_name_82 WHERE co_drivers = "jérôme policand christopher campbell"
Below is an context that describes a 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 (content VARCHAR, sign VARCHAR) ### Question: Name the content for sign of g e ### Answer: SELECT content FROM table_name_54 WHERE sign = "g e"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR) ### Question: How many numbers were recorded on the fields goals of the Left End player? ### Answer: SELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = "Left end"
Below is an context that describes a 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 (school VARCHAR, team VARCHAR, position VARCHAR) ### Question: From which school did the Minnesota Twins SS come from? ### Answer: SELECT school FROM table_name_50 WHERE team = "minnesota twins" AND position = "ss"
Below is an context that describes a 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 (average_attendance VARCHAR, sport VARCHAR, _number_of_teams VARCHAR, season VARCHAR, games VARCHAR) ### Question: What was the average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football? ### Answer: SELECT average_attendance FROM table_name_46 WHERE season = "2011" AND games < 519 AND _number_of_teams > 14 AND sport = "association football"
Below is an context that describes a 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 (_m__finishing_position VARCHAR, president VARCHAR, _m__coach VARCHAR) ### Question: What was the (M) Finishe position when ray kaduck was president and corey bowen was coach? ### Answer: SELECT _m__finishing_position FROM table_name_44 WHERE president = "ray kaduck" AND _m__coach = "corey bowen"
Below is an context that describes a 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 (rank_points VARCHAR, score_points VARCHAR) ### Question: Which Rank points has a Score points of olympic silver medalist? ### Answer: SELECT rank_points FROM table_name_42 WHERE score_points = "olympic silver medalist"
Below is an context that describes a 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 (loser VARCHAR, date VARCHAR, year VARCHAR) ### Question: Who was the loser on December 12, 1971? ### Answer: SELECT loser FROM table_name_5 WHERE date = "december 12" AND year = 1971
Below is an context that describes a 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_99 (frequency VARCHAR, area_served VARCHAR) ### Question: What is the frequency for katherine? ### Answer: SELECT frequency FROM table_name_99 WHERE area_served = "katherine"
Below is an context that describes a 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 (incumbent VARCHAR, party VARCHAR, district VARCHAR) ### Question: Who is the incumbent from the democratic party in the washington 7 district? ### Answer: SELECT incumbent FROM table_name_35 WHERE party = "democratic" AND district = "washington 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_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR) ### Question: Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? ### Answer: SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169
Below is an context that describes a 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_98 (country_of_release VARCHAR, year_of_release VARCHAR) ### Question: Where was the title released in 1977? ### Answer: SELECT country_of_release FROM table_name_98 WHERE year_of_release = 1977
Below is an context that describes a 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 (format VARCHAR, catalog INTEGER) ### Question: Which Format has a Catalog smaller than 61298? ### Answer: SELECT format FROM table_name_11 WHERE catalog < 61298
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14960574_6 (french_voice_actor VARCHAR, spanish_voice_actor VARCHAR) ### Question: Name the french actor with javier romano ### Answer: SELECT COUNT(french_voice_actor) FROM table_14960574_6 WHERE spanish_voice_actor = "Javier Romano"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11748792_2 (wednesday VARCHAR, series VARCHAR) ### Question: Who is the Wednesday presenter of the show Big Brother 13? ### Answer: SELECT wednesday FROM table_11748792_2 WHERE series = "Big Brother 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_22056184_1 (team VARCHAR, position VARCHAR) ### Question: How many teams have 7th position? ### Answer: SELECT COUNT(team) FROM table_22056184_1 WHERE position = "7th"
Below is an context that describes a 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 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR) ### Question: Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage? ### Answer: SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR) ### Question: When karl ridderbusch is the la roche who is the olivier? ### Answer: SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch"
Below is an context that describes a 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_92 (city_or_town VARCHAR, top_division_titles VARCHAR) ### Question: Which City or town has a Top division titles of 17 ### Answer: SELECT city_or_town FROM table_name_92 WHERE top_division_titles = "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_name_34 (gold INTEGER, rank VARCHAR, silver VARCHAR) ### Question: How many Gold for the Nation in Rank 15 with 0 Silver? ### Answer: SELECT MAX(gold) FROM table_name_34 WHERE rank = "15" AND silver > 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 teaches (ID VARCHAR, semester VARCHAR, YEAR VARCHAR) ### Question: Find the total number of instructors who teach a course in the Spring 2010 semester. ### Answer: SELECT COUNT(DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010
Below is an context that describes a 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_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR) ### Question: What is the current club with more than 368 apps and a debut year earlier than 1994? ### Answer: SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 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_6 (rank INTEGER, team VARCHAR, games VARCHAR) ### Question: What was the ranking of Beirasar Rosalía, the year they played 32 games? ### Answer: SELECT MAX(rank) FROM table_name_6 WHERE team = "beirasar rosalía" AND games < 32
Below is an context that describes a 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 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ### Question: What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name? ### Answer: SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar"
Below is an context that describes a 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 (date_of_birth__age_ VARCHAR, caps VARCHAR, name VARCHAR) ### Question: What is the date of birth and age of Gabriel Quak Jun Yi with 3 caps? ### Answer: SELECT date_of_birth__age_ FROM table_name_57 WHERE caps = "3" AND name = "gabriel quak jun yi"
Below is an context that describes a 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 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR) ### Question: What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? ### Answer: SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"
Below is an context that describes a 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 (crowd INTEGER, venue VARCHAR) ### Question: When the Venue was mcg what was the sum of all Crowds for that venue? ### Answer: SELECT SUM(crowd) FROM table_name_16 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_84 (Id VARCHAR) ### Question: what is 1977 when 1978 is 4.1? ### Answer: SELECT 1977 FROM table_name_84 WHERE 1978 = "4.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_91 (conversions INTEGER, team VARCHAR, tries VARCHAR) ### Question: What is the average number of conversions for the Cardiff Blues with less than 14 tries? ### Answer: SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 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_87 (tournament VARCHAR, date VARCHAR) ### Question: What tournament took place on 7 Aug 2011? ### Answer: SELECT tournament FROM table_name_87 WHERE date = "7 aug 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_10725629_2 (circuit VARCHAR, date VARCHAR) ### Question: Which circuits had a race on October 4? ### Answer: SELECT circuit FROM table_10725629_2 WHERE date = "October 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_10 (position INTEGER, team VARCHAR, played VARCHAR) ### Question: What is the highest position for Nelson, with a played entry of more than 24? ### Answer: SELECT MAX(position) FROM table_name_10 WHERE team = "nelson" AND played > 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_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR) ### Question: Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%? ### Answer: SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.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 Ref_budget_codes (Id VARCHAR) ### Question: How many budget types do we have? ### Answer: SELECT COUNT(*) FROM Ref_budget_codes
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER) ### Question: What is the lowest disposable USD 2011? ### Answer: SELECT MIN(disposable_usd_2011) FROM table_24486462_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_6 (name VARCHAR, a_league VARCHAR) ### Question: Which player has an A-League of 113 (0)? ### Answer: SELECT name FROM table_name_6 WHERE a_league = "113 (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_77 (season VARCHAR, league VARCHAR) ### Question: Which Season has a League of bezirksliga? ### Answer: SELECT season FROM table_name_77 WHERE league = "bezirksliga"
Below is an context that describes a 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 (source_version VARCHAR, target_version VARCHAR) ### Question: What is Source Version, when Target Version is Java 7, 6, 5? ### Answer: SELECT source_version FROM table_name_10 WHERE target_version = "java 7, 6, 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_18618707_1 (height VARCHAR, hometown VARCHAR) ### Question: When toronto is the hometown how many height measurements are there? ### Answer: SELECT COUNT(height) FROM table_18618707_1 WHERE hometown = "Toronto"
Below is an context that describes a 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 (code VARCHAR, currency VARCHAR) ### Question: What code is used to represent the currency of Croatian Kuna? ### Answer: SELECT code FROM table_name_34 WHERE currency = "croatian kuna"
Below is an context that describes a 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_51 (s_wicket VARCHAR, player VARCHAR) ### Question: What is the s wicket value associated with Shaun Young? ### Answer: SELECT s_wicket FROM table_name_51 WHERE player = "shaun young"
Below is an context that describes a 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 (away_team VARCHAR, venue VARCHAR) ### Question: Which Away team has a Venue of arden street oval? ### Answer: SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"
Below is an context that describes a 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 (countries_visited VARCHAR, episode_no VARCHAR, writer VARCHAR) ### Question: Which countries visited had an episode number of less than 7 when Ray Gosling was the writer? ### Answer: SELECT countries_visited FROM table_name_26 WHERE episode_no < 7 AND writer = "ray gosling"
Below is an context that describes a 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 (Id VARCHAR) ### Question: Name the 2011 with 2002 of 1r and 2009 of a ### Answer: SELECT 2011 FROM table_name_9 WHERE 2002 = "1r" AND 2009 = "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_2308381_2 (year VARCHAR, starts VARCHAR) ### Question: Name the year for 15 starts ### Answer: SELECT year FROM table_2308381_2 WHERE starts = 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_47 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: On October 14, 1996 who was the opponent in the final? ### Answer: SELECT opponent_in_the_final FROM table_name_47 WHERE date = "october 14, 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_23 (date VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: what is the date for the week larger than 1 and the opponent detroit lions? ### Answer: SELECT date FROM table_name_23 WHERE week > 1 AND opponent = "detroit lions"
Below is an context that describes a 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 (date VARCHAR, tournament VARCHAR) ### Question: What is the date of the munich, germany tournament? ### Answer: SELECT date FROM table_name_52 WHERE tournament = "munich, 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_86 (listed VARCHAR, county VARCHAR, location VARCHAR) ### Question: What is the listed for the bridge at Daniel in Sublette county? ### Answer: SELECT listed FROM table_name_86 WHERE county = "sublette" AND location = "daniel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_261913_1 (enrollment INTEGER, institution VARCHAR) ### Question: What is the enrollment for Augsburg college? ### Answer: SELECT MIN(enrollment) FROM table_261913_1 WHERE institution = "Augsburg 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_name_1 (team_1 VARCHAR, agg VARCHAR) ### Question: Who is team 1 with an agg of 2-5? ### Answer: SELECT team_1 FROM table_name_1 WHERE agg = "2-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_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR) ### Question: Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged? ### Answer: SELECT condition FROM table_name_1 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased" AND prothrombin_time = "prolonged"
Below is an context that describes a 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 (date VARCHAR, opponent VARCHAR) ### Question: What is the date of the game where Inter Milan was the opponent. ### Answer: SELECT date FROM table_name_90 WHERE opponent = "inter milan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26708105_2 (occurrence INTEGER, matrix_sim VARCHAR) ### Question: What occurence has 0.925 listed as the matrix sim? ### Answer: SELECT MAX(occurrence) FROM table_26708105_2 WHERE matrix_sim = "0.925"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR) ### Question: Name the poles for 2011 ### Answer: SELECT poles FROM table_15327489_1 WHERE year = 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_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR) ### Question: What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14? ### Answer: SELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 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_96 (fleet_series VARCHAR, quantity VARCHAR) ### Question: Name the fleet series with a quantity of 5 ### Answer: SELECT fleet_series FROM table_name_96 WHERE quantity = 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_1566850_9 (cover_model VARCHAR) ### Question: Who was asked 20 questions in the issue where the cover model is Linda Brava? ### Answer: SELECT 20 AS _questions FROM table_1566850_9 WHERE cover_model = "Linda Brava"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11630008_7 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of production code 514? ### Answer: SELECT title FROM table_11630008_7 WHERE production_code = 514
Below is an context that describes a 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 (date VARCHAR, venue VARCHAR) ### Question: On what date did the game at Windy Hill take place? ### Answer: SELECT date FROM table_name_24 WHERE venue = "windy hill"
Below is an context that describes a 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 (location VARCHAR, tournament VARCHAR) ### Question: What is the location of the b.c. open? ### Answer: SELECT location FROM table_name_81 WHERE tournament = "b.c. open"
Below is an context that describes a 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_51 (position INTEGER, goal_difference VARCHAR, points VARCHAR) ### Question: What is the lowest position with a -22 goal difference and more than 5 points? ### Answer: SELECT MIN(position) FROM table_name_51 WHERE goal_difference = -22 AND points > 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_37 (date VARCHAR, circuit VARCHAR) ### Question: On what Date is the Circuit at Sandown Raceway? ### Answer: SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1505809_2 (shot_pct VARCHAR, blank_ends VARCHAR) ### Question: What is the total of all Shot PCT occurrences when the value of Blank Ends is 8? ### Answer: SELECT COUNT(shot_pct) FROM table_1505809_2 WHERE blank_ends = 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 festival_detail (Festival_Name VARCHAR, YEAR VARCHAR) ### Question: Show the names of the three most recent festivals. ### Answer: SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 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_43 (crowd INTEGER, away_team VARCHAR) ### Question: I want to know the average crowd for away team of melbourne ### Answer: SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "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_81 (lost VARCHAR, points VARCHAR, drawn VARCHAR) ### Question: How many of lost have 11 as the points, and a drawn greater than 1? ### Answer: SELECT COUNT(lost) FROM table_name_81 WHERE points = 11 AND drawn > 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_27293285_4 (club VARCHAR, lost VARCHAR) ### Question: Name the total number of club for lost being 16 ### Answer: SELECT COUNT(club) FROM table_27293285_4 WHERE lost = "16"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR) ### Question: What was the location and where did the team play game number 32? ### Answer: SELECT location_attendance FROM table_17104539_12 WHERE game = 32
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR, amount_of_transaction VARCHAR) ### Question: Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000. ### Answer: SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000
Below is an context that describes a 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 (result VARCHAR, date VARCHAR) ### Question: What is the Result on 26 jan 2005? ### Answer: SELECT result FROM table_name_38 WHERE date = "26 jan 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_11869952_3 (launch_site VARCHAR, mission VARCHAR, results VARCHAR) ### Question: Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure? ### Answer: SELECT launch_site FROM table_11869952_3 WHERE mission = "Test mission: war heads and Missile payload" AND results = "Partial Failure"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11665016_2 (title VARCHAR, written_by VARCHAR) ### Question: Which episode was written by anthony e. zuiker & ken solarz ### Answer: SELECT title FROM table_11665016_2 WHERE written_by = "Anthony E. Zuiker & Ken Solarz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23239946_3 (winnings__ INTEGER, position VARCHAR) ### Question: What are the winnings for position 7? ### Answer: SELECT MAX(winnings__) AS $_ FROM table_23239946_3 WHERE position = 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_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR) ### Question: what is the highest grid when the laps is less than 44 and the constructor is renault? ### Answer: SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault"
Below is an context that describes a 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 (institution VARCHAR, affiliation VARCHAR, location VARCHAR) ### Question: What Public Institution is in Black River Falls? ### Answer: SELECT institution FROM table_name_80 WHERE affiliation = "public" AND location = "black river falls"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668401_12 (result VARCHAR, district VARCHAR) ### Question: What was the result for Pennsylvania 8? ### Answer: SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 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_2009095_2 (year INTEGER, opponents VARCHAR) ### Question: Name the least year for evonne goolagong helen gourlay ### Answer: SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"
Below is an context that describes a 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, player VARCHAR, season VARCHAR) ### Question: Who is the opponent for Andrew Symonds in the 2004 season? ### Answer: SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004"
Below is an context that describes a 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 (channel INTEGER, network VARCHAR) ### Question: What is the sum of channels for qubo network? ### Answer: SELECT SUM(channel) FROM table_name_65 WHERE network = "qubo"
Below is an context that describes a 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 (prize_money VARCHAR, round VARCHAR) ### Question: What is the prize money for the second round qualifying that is listed? ### Answer: SELECT prize_money FROM table_name_60 WHERE round = "second round qualifying"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342198_13 (first_elected VARCHAR, incumbent VARCHAR) ### Question: What year was incumbent barratt o'hara first elected? ### Answer: SELECT first_elected FROM table_1342198_13 WHERE incumbent = "Barratt O'Hara"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1855342_5 (experts_view INTEGER, willing_to_take_risks VARCHAR) ### Question: When 25 are willing to take risks, what is the experts view? ### Answer: SELECT MIN(experts_view) FROM table_1855342_5 WHERE willing_to_take_risks = 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_name_32 (pumpers VARCHAR, tankers VARCHAR, brigade VARCHAR, cars VARCHAR, staffing VARCHAR) ### Question: How many Pumpers have Cars of 1, and a Staffing of volunteer, and a Brigade of grovedale, and Tankers smaller than 1? ### Answer: SELECT COUNT(pumpers) FROM table_name_32 WHERE cars = "1" AND staffing = "volunteer" AND brigade = "grovedale" AND tankers < 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 (games_played VARCHAR, wins VARCHAR, goals_conceded VARCHAR) ### Question: How many games have been played when there are 13 wins and 45 goals were conceded? ### Answer: SELECT games_played FROM table_name_58 WHERE wins = 13 AND goals_conceded = 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_46 (date VARCHAR, serial VARCHAR) ### Question: What is the date for the 10b serial? ### Answer: SELECT date FROM table_name_46 WHERE serial = "10b"
Below is an context that describes a 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 (airport VARCHAR, iata VARCHAR) ### Question: Name the airport with IATA of dmk ### Answer: SELECT airport FROM table_name_74 WHERE iata = "dmk"
Below is an context that describes a 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_37 (_number_of_prefectural_votes VARCHAR, _percentage_of_prefectural_vote VARCHAR, _number_of_seats_won VARCHAR) ### Question: What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61? ### Answer: SELECT COUNT(_number_of_prefectural_votes) FROM table_name_37 WHERE _percentage_of_prefectural_vote = "48.4%" AND _number_of_seats_won > 61