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_56 (date VARCHAR, competition VARCHAR, venue VARCHAR) ### Question: What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue? ### Answer: SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR) ### Question: Name the population of maryborough when population of woocoo is 2700 ### Answer: SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700
Below is an context that describes a sql 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 INTEGER, position VARCHAR) ### Question: What's the average Year for the Position of 7th (sf)? ### Answer: SELECT AVG(year) FROM table_name_47 WHERE position = "7th (sf)"
Below is an context that describes a sql 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 (season VARCHAR, match VARCHAR, date VARCHAR) ### Question: What season had the Roma-Napoli match on 12 September 1993? ### Answer: SELECT season FROM table_name_1 WHERE match = "roma-napoli" AND date = "12 september 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_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) ### Question: Which entrant has a Honda V6 engine and a Lotus 99t chassis? ### Answer: SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10812403_4 (position VARCHAR, player VARCHAR) ### Question: What position did Calvin Mccarty play? ### Answer: SELECT position FROM table_10812403_4 WHERE player = "Calvin McCarty"
Below is an context that describes a sql 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 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR) ### Question: What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins? ### Answer: SELECT f_laps FROM table_name_94 WHERE points = "n/a" AND poles = "1" AND wins = "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_21 (character VARCHAR, version VARCHAR, name VARCHAR) ### Question: What character was the version 5.1 and had a Greek capital letter Archaic Sampi? ### Answer: SELECT character FROM table_name_21 WHERE version = 5.1 AND name = "greek capital letter archaic sampi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14286908_1 (school VARCHAR, finalists VARCHAR) ### Question: What are the names that had a finalist score of 2? ### Answer: SELECT school FROM table_14286908_1 WHERE finalists = 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_23910822_1 (frequency VARCHAR, callsign VARCHAR) ### Question: Which frequency is DYMY? ### Answer: SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY"
Below is an context that describes a sql 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 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR) ### Question: Name the highest cuts made when top 5 is less than 3 and top ten is more than 4 ### Answer: SELECT MAX(cuts_made) FROM table_name_99 WHERE top_5 < 3 AND top_10 > 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_29556461_7 (high_assists VARCHAR, date VARCHAR) ### Question: Who had the most assists and how many did they have on January 5? ### Answer: SELECT high_assists FROM table_29556461_7 WHERE date = "January 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 (t_wyka VARCHAR, precincts VARCHAR) ### Question: Name the T. Wyka has a Precincts of 51/55? ### Answer: SELECT t_wyka FROM table_name_1 WHERE precincts = "51/55"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR) ### Question: Who wrote episode number 19 in the series? ### Answer: SELECT written_by FROM table_28140578_1 WHERE no_in_series = 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_71 (november VARCHAR, october VARCHAR) ### Question: Who is in November where October is jill de vries? ### Answer: SELECT november FROM table_name_71 WHERE october = "jill de vries"
Below is an context that describes a sql 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 (floors VARCHAR, location VARCHAR) ### Question: How many floors did the tallest building in Aston have? ### Answer: SELECT floors FROM table_name_43 WHERE location = "aston"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What number episode in the series was watched by 15.89 million U.S. viewers? ### Answer: SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.89"
Below is an context that describes a sql 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 (tries_against VARCHAR, tries_for VARCHAR) ### Question: What is Tries Against, when Tries For is 21? ### Answer: SELECT tries_against FROM table_name_56 WHERE tries_for = "21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (tie_no VARCHAR, home_team VARCHAR) ### Question: minehead has what tie number? ### Answer: SELECT tie_no FROM table_name_3 WHERE home_team = "minehead"
Below is an context that describes a sql 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 (start VARCHAR, laps VARCHAR) ### Question: What is the start of the race with 676 laps? ### Answer: SELECT start FROM table_name_29 WHERE laps = "676"
Below is an context that describes a sql 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 (score VARCHAR, loss VARCHAR) ### Question: What was the score of the game that had a loss of Embree (1-2)? ### Answer: SELECT score FROM table_name_98 WHERE loss = "embree (1-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_1 (aircraft VARCHAR, versions VARCHAR) ### Question: Tell me the aircraft for pzl-104 ### Answer: SELECT aircraft FROM table_name_1 WHERE versions = "pzl-104"
Below is an context that describes a sql 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 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR) ### Question: What is the average population vlue for an area smaller than 26.69 square km and has an official name of Rogersville? ### Answer: SELECT AVG(population) FROM table_name_71 WHERE area_km_2 < 26.69 AND official_name = "rogersville"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR) ### Question: When 8.3 is the q-band what is the property? ### Answer: SELECT property FROM table_186468_1 WHERE q_band = "8.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_11965481_13 (location_attendance VARCHAR, date VARCHAR) ### Question: Name the location on june 10 ### Answer: SELECT location_attendance FROM table_11965481_13 WHERE date = "June 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 Prescribes (patient VARCHAR, Medication VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR) ### Question: Find the number of patients who are not using the medication of Procrastin-X. ### Answer: SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication = T2.Code WHERE T2.name = 'Procrastin-X')
Below is an context that describes a sql 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 (year_made VARCHAR, fleet_number_s_ VARCHAR) ### Question: What is the Year for fleet number 5000? ### Answer: SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1805191_39 (party VARCHAR, district VARCHAR) ### Question: In the district of Pennsylvania 1, what is the total number of political parties? ### Answer: SELECT COUNT(party) FROM table_1805191_39 WHERE district = "Pennsylvania 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_52 (area_km_2 VARCHAR, official_name VARCHAR) ### Question: What's the total area in kilometers of the parish addington? ### Answer: SELECT COUNT(area_km_2) FROM table_name_52 WHERE official_name = "addington"
Below is an context that describes a sql 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 (super_g INTEGER, season INTEGER) ### Question: What is the highest Super G, when Season is later than 1996? ### Answer: SELECT MAX(super_g) FROM table_name_46 WHERE season > 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_27722734_7 (game INTEGER, date VARCHAR) ### Question: Name the most game for december 1 ### Answer: SELECT MAX(game) FROM table_27722734_7 WHERE date = "December 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_99 (ihsaa_football_class VARCHAR, school VARCHAR) ### Question: Which IHSAA Football Class has a School of whitko? ### Answer: SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko"
Below is an context that describes a sql 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 (make VARCHAR, drivers VARCHAR) ### Question: What is the make of the vehicle for driver Hisashi Wada? ### Answer: SELECT make FROM table_name_24 WHERE drivers = "hisashi wada"
Below is an context that describes a sql 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 (upstream VARCHAR, monthly_cap VARCHAR) ### Question: What is the upstream with a 150 gb monthly cap? ### Answer: SELECT upstream FROM table_name_68 WHERE monthly_cap = "150 gb"
Below is an context that describes a sql 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 (no_in_series INTEGER, director VARCHAR, production_code VARCHAR) ### Question: What is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? ### Answer: SELECT SUM(no_in_series) FROM table_name_38 WHERE director = "jefferson kibbee" AND production_code = "2398191"
Below is an context that describes a sql 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 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) ### Question: Who lost when the philadelphia eagles won at lincoln financial field on september 30? ### Answer: SELECT loser FROM table_name_24 WHERE location = "lincoln financial field" AND winner = "philadelphia eagles" AND date = "september 30"
Below is an context that describes a sql 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 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR) ### Question: Tell me the chassis for team tissot ensign and driver of brett lunger ### Answer: SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR) ### Question: What player was drafted in Round 5? ### Answer: SELECT player FROM table_name_30 WHERE round = 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_82 (opponent VARCHAR, result VARCHAR) ### Question: Name the opponent with result of w 35-21 ### Answer: SELECT opponent FROM table_name_82 WHERE result = "w 35-21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (team_1 VARCHAR) ### Question: Which first leg had Galatasaray as Team 1? ### Answer: SELECT 1 AS st_leg FROM table_name_34 WHERE team_1 = "galatasaray"
Below is an context that describes a sql 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 (assists INTEGER, pims VARCHAR, goals VARCHAR) ### Question: What is the smallest number of assists with 70 Pims and less than 19 goals? ### Answer: SELECT MIN(assists) FROM table_name_71 WHERE pims = 70 AND goals < 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_68 (year_left VARCHAR, team_name VARCHAR) ### Question: What year did the Hornets leave the conference? ### Answer: SELECT year_left FROM table_name_68 WHERE team_name = "hornets"
Below is an context that describes a sql 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 (wins VARCHAR, losses VARCHAR, points VARCHAR, goals_against VARCHAR) ### Question: How many wins when points are more than 51, goals against are more than 23 and losses are 5? ### Answer: SELECT COUNT(wins) FROM table_name_56 WHERE points > 51 AND goals_against > 23 AND losses = 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_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR) ### Question: How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? ### Answer: SELECT COUNT(rank) FROM table_name_91 WHERE location = "liverpool" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What is the score given by the Home team Geelong? ### Answer: SELECT home_team AS score FROM table_name_37 WHERE home_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_82 (podiums VARCHAR, poles VARCHAR) ### Question: What are the Podiums that has a Poles of 3? ### Answer: SELECT podiums FROM table_name_82 WHERE poles = "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_1 (runner_s__up VARCHAR, margin VARCHAR) ### Question: Who was the runner-up when the margin was 1 stroke? ### Answer: SELECT runner_s__up FROM table_name_1 WHERE margin = "1 stroke"
Below is an context that describes a sql 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 (runner_up VARCHAR, host VARCHAR) ### Question: What was the Runner-up in the Monroe County Sports Commission? ### Answer: SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR) ### Question: What are the lengths hosted by Pocono International Raceway? ### Answer: SELECT length FROM table_22669816_1 WHERE track = "Pocono International 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_name_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR) ### Question: What was the losing bonus that had 1 draw and a 10 try bonus? ### Answer: SELECT losing_bonus FROM table_name_51 WHERE drawn = "1" AND try_bonus = "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_23394920_1 (power_kw VARCHAR, callsign VARCHAR) ### Question: When dxzb-tv is the call sign what is the power kw? ### Answer: SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXZB-TV"
Below is an context that describes a sql 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 (team VARCHAR, penalty VARCHAR, player VARCHAR) ### Question: What team was Ryan Callahan, who received a penalty for roughing, playing for? ### Answer: SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan"
Below is an context that describes a sql 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 (sprint INTEGER, wins VARCHAR, feature VARCHAR) ### Question: How many sprints on average had 10 wins and less than 5 features? ### Answer: SELECT AVG(sprint) FROM table_name_85 WHERE wins = 10 AND feature < 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_91 (segment_a VARCHAR, segment_d VARCHAR) ### Question: What is the Segment A entry for the episode that has an entry of Diesel filters for Segment D? ### Answer: SELECT segment_a FROM table_name_91 WHERE segment_d = "diesel filters"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21926985_2 (national_rank INTEGER, company_name VARCHAR) ### Question: What is the national rank of Windstream? ### Answer: SELECT MIN(national_rank) FROM table_21926985_2 WHERE company_name = "Windstream"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: What was Tim Simpson's place? ### Answer: SELECT place FROM table_name_94 WHERE player = "tim simpson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (away_team VARCHAR) ### Question: What is the score for Hawthorn as an away team? ### Answer: SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (place VARCHAR, score VARCHAR) ### Question: what is the place when the score is 70-70=140? ### Answer: SELECT place FROM table_name_53 WHERE score = 70 - 70 = 140
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR) ### Question: Name the years for dannevirke south school ### Answer: SELECT years FROM table_name_48 WHERE name = "dannevirke south school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) ### Question: How many accounts does the customer with first name Art and last name Turcotte have? ### Answer: SELECT COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (area_km_2 INTEGER, population INTEGER) ### Question: What is Area km 2, when Population is greater than 1,395? ### Answer: SELECT MIN(area_km_2) FROM table_name_21 WHERE population > 1 OFFSET 395
Below is an context that describes a sql 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 (series VARCHAR, name VARCHAR) ### Question: What series was Sam Evans on? ### Answer: SELECT series FROM table_name_20 WHERE name = "sam evans"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (result VARCHAR, date VARCHAR) ### Question: What was the Result on September 24? ### Answer: SELECT result FROM table_name_21 WHERE date = "september 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_46 (total VARCHAR, rank VARCHAR, gold VARCHAR) ### Question: What is the sum of total with a Rank larger than 12, and a Gold larger than 4? ### Answer: SELECT COUNT(total) FROM table_name_46 WHERE rank > 12 AND gold > 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_42 (winner VARCHAR, season VARCHAR) ### Question: Who was the winner during the 2009 season? ### Answer: SELECT winner FROM table_name_42 WHERE season = 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_name_25 (rank INTEGER, total VARCHAR, jianshu VARCHAR, athlete VARCHAR) ### Question: What is the lowest rank when Jianshu is smaller than 9.66, for Richard Devine ( gbr ), with a total smaller than 19.02? ### Answer: SELECT MIN(rank) FROM table_name_25 WHERE jianshu < 9.66 AND athlete = "richard devine ( gbr )" AND total < 19.02
Below is an context that describes a sql 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 (march INTEGER, score VARCHAR, game VARCHAR) ### Question: What is the sum of March, when Score is "2 - 2", and when Game is greater than 67? ### Answer: SELECT SUM(march) FROM table_name_56 WHERE score = "2 - 2" AND game > 67
Below is an context that describes a sql 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 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR) ### Question: Tell me the affiliation for mls team of metrostars and pick number of 26 ### Answer: SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26
Below is an context that describes a sql 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 (frequency VARCHAR, model_number VARCHAR) ### Question: Which Frequency has a Model Number of c3 1.4a? ### Answer: SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR) ### Question: What is Jeremy Hill's hometown? ### Answer: SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy 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_2679061_4 (position VARCHAR, college_junior_club_team VARCHAR) ### Question: What position is the player from the Regina Pats (WHL)? ### Answer: SELECT position FROM table_2679061_4 WHERE college_junior_club_team = "Regina Pats (WHL)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19948664_2 (year_of_publication VARCHAR, ranking_la__2_ VARCHAR) ### Question: What was the publication year ranking l.a. is 1st? ### Answer: SELECT year_of_publication FROM table_19948664_2 WHERE ranking_la__2_ = "1st"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1670921_2 (batting_partners VARCHAR, venue VARCHAR) ### Question: What batting partners played in sydney? ### Answer: SELECT batting_partners FROM table_1670921_2 WHERE venue = "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_11545282_12 (no INTEGER, school_club_team VARCHAR) ### Question: Which number is the player from Minnesota? ### Answer: SELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = "Minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR) ### Question: how many first elected with district being north carolina 2 ### Answer: SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 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_22128871_1 (english_title VARCHAR, result VARCHAR) ### Question: What is every English title for the result of nominee? ### Answer: SELECT english_title FROM table_22128871_1 WHERE result = "Nominee"
Below is an context that describes a sql 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 (loss VARCHAR, total_games VARCHAR, draw VARCHAR) ### Question: What is the total number of losses for less than 48 games, and less than 7 draws? ### Answer: SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 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_78 (translation VARCHAR, date VARCHAR) ### Question: Which translation was published in 1986? ### Answer: SELECT translation FROM table_name_78 WHERE date = 1986
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR) ### Question: What episode number in the series was directed by John Behring? ### Answer: SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR) ### Question: Who was the manufacturer in the year when the race lasted 2:30:28? ### Answer: SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28"
Below is an context that describes a sql 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 (hometown VARCHAR, height VARCHAR) ### Question: Which Hometown has a Height of 6-10? ### Answer: SELECT hometown FROM table_name_90 WHERE height = "6-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_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR) ### Question: What is the value for model if processor is Kentsfield and brand name is Xeon? ### Answer: SELECT model__list_ FROM table_2467150_2 WHERE processor = "Kentsfield" AND brand_name = "Xeon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE airport (International_Passengers INTEGER) ### Question: What is the average number of international passengers of all airports? ### Answer: SELECT AVG(International_Passengers) FROM airport
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2850912_10 (position VARCHAR, nhl_team VARCHAR) ### Question: What position was the player who was drafted by the Washington Capitals? ### Answer: SELECT position FROM table_2850912_10 WHERE nhl_team = "Washington Capitals"
Below is an context that describes a sql 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 (crowd VARCHAR, home_team VARCHAR) ### Question: What is the size of the crowd when the home team is Fitzroy? ### Answer: SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = "fitzroy"
Below is an context that describes a sql 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 (attendance INTEGER, visitor VARCHAR) ### Question: Visitor of minnesota has what average attendance? ### Answer: SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1990460_1 (division INTEGER) ### Question: What's the highest division number through the years? ### Answer: SELECT MAX(division) FROM table_1990460_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_18 (venue VARCHAR, winner VARCHAR, year VARCHAR) ### Question: Where was the 1966 competition with a winner of Gary Cowan held? ### Answer: SELECT venue FROM table_name_18 WHERE winner = "gary cowan" AND year = "1966"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR) ### Question: What is the weight for western ontario college? ### Answer: SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_224839_3 (successor VARCHAR, vacator VARCHAR) ### Question: What is the total number of successors when the vacator was William North ( F ) ### Answer: SELECT COUNT(successor) FROM table_224839_3 WHERE vacator = "William North ( F )"
Below is an context that describes a sql 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 (release_date VARCHAR, developer_s_ VARCHAR, type VARCHAR, genre VARCHAR) ### Question: When did Riot Games release their 3D MOBA game? ### Answer: SELECT release_date FROM table_name_2 WHERE type = "3d" AND genre = "moba" AND developer_s_ = "riot games"
Below is an context that describes a sql 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 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR) ### Question: What is the call sign for 90.9 FM which is in Florida? ### Answer: SELECT call_sign FROM table_name_87 WHERE state = "florida" AND frequency = "90.9 fm"
Below is an context that describes a sql 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 (heat_points INTEGER, date VARCHAR, result VARCHAR, game VARCHAR) ### Question: What is the average Heat Points, when Result is "Loss", when Game is greater than 72, and when Date is "April 21"? ### Answer: SELECT AVG(heat_points) FROM table_name_83 WHERE result = "loss" AND game > 72 AND date = "april 21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (names VARCHAR, class VARCHAR) ### Question: What is the name of the locomotive with a Glencar class? ### Answer: SELECT names FROM table_name_98 WHERE class = "glencar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30120761_1 (townland VARCHAR, area__acres__ VARCHAR) ### Question: What are all of the townlands that have exactly 131 acres. ### Answer: SELECT townland FROM table_30120761_1 WHERE area__acres__ = 131
Below is an context that describes a sql 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, home_team VARCHAR) ### Question: When did Hawthorn play at home? ### Answer: SELECT date FROM table_name_27 WHERE home_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30008638_1 (miss_fire INTEGER) ### Question: What is the most Miss Fires any country has had? ### Answer: SELECT MAX(miss_fire) FROM table_30008638_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_8 (visitor VARCHAR, date VARCHAR) ### Question: Who is the visitor on April 5? ### Answer: SELECT visitor FROM table_name_8 WHERE date = "april 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_1463332_2 (_number_appearances VARCHAR, most_recent_final VARCHAR) ### Question: What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? ### Answer: SELECT COUNT(_number_appearances) FROM table_1463332_2 WHERE most_recent_final = "1999, beat Genk 3-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_103084_4 (year VARCHAR, bbc_one_rank VARCHAR) ### Question: How many years did BBC One rank 20th? ### Answer: SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th"