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_82 (opponent VARCHAR, attendance VARCHAR) ### Question: Who did the Chiefs play at the game attended by 34,063? ### Answer: SELECT opponent FROM table_name_82 WHERE attendance = "34,063"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE people (sex VARCHAR, weight INTEGER) ### Question: Find the average and minimum weight for each gender. ### Answer: SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
Below is an context that describes a sql 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 (club VARCHAR, losing_bp VARCHAR, lost VARCHAR, played VARCHAR, drawn VARCHAR) ### Question: What is the club that has played 22 rounds, has a drawn score of 0, has lost 14, and whose losing BP is 5? ### Answer: SELECT club FROM table_name_96 WHERE played = "22" AND drawn = "0" AND lost = "14" AND losing_bp = "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_2241841_1 (manufacturer VARCHAR, year VARCHAR) ### Question: What manufacturer made the car that won in 2004? ### Answer: SELECT manufacturer FROM table_2241841_1 WHERE year = "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_81 (date VARCHAR, format VARCHAR) ### Question: Name the date that is a cd ### Answer: SELECT date FROM table_name_81 WHERE format = "cd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR) ### Question: What was the production format for the series with the local title Fort Boyard: Ultimate Challenge? ### Answer: SELECT format FROM table_1949994_8 WHERE local_title = "Fort Boyard: Ultimate Challenge"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: What opponent has a result of 3–6, 6–2, 4–6? ### Answer: SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–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_22733636_1 (tournament_winner VARCHAR, conference VARCHAR) ### Question: When the Border Conference was held, who was the tournament winner? ### Answer: SELECT tournament_winner FROM table_22733636_1 WHERE conference = "Border conference"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25429986_1 (jockey VARCHAR, position VARCHAR) ### Question: who isthe jockey in 10th position? ### Answer: SELECT jockey FROM table_25429986_1 WHERE position = "10th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24535095_2 (truck_s_ VARCHAR, crew_chief VARCHAR) ### Question: Name the truck for eric phillips ### Answer: SELECT truck_s_ FROM table_24535095_2 WHERE crew_chief = "Eric Phillips"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR) ### Question: What was the latest round with a running back from a California college? ### Answer: SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california"
Below is an context that describes a sql 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 (voter_registration VARCHAR, byut VARCHAR) ### Question: What is the voter registration that has a BYut of 48.2? ### Answer: SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.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_15 (region VARCHAR, date VARCHAR) ### Question: Which Region has a Date of early september 1999? ### Answer: SELECT region FROM table_name_15 WHERE date = "early september 1999"
Below is an context that describes a sql 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 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR) ### Question: Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes? ### Answer: SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "yes"
Below is an context that describes a sql 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 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What's the original title of the nomination title, "brecha en el silencio"? ### Answer: SELECT original_title FROM table_name_1 WHERE film_title_used_in_nomination = "brecha en el silencio"
Below is an context that describes a sql 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 (player VARCHAR, pl_gp VARCHAR, rd__number VARCHAR) ### Question: Which Player has a PI GP over 0 and a Rd # of 1? ### Answer: SELECT player FROM table_name_71 WHERE pl_gp > 0 AND rd__number = 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23014685_1 (intercepted_by_patriot VARCHAR, area_damaged VARCHAR) ### Question: Was the missile intercepted by patriot when the parking lot was damaged? ### Answer: SELECT intercepted_by_patriot FROM table_23014685_1 WHERE area_damaged = "Parking lot"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, no VARCHAR) ### Question: when did no. 32 play for grizzles ### Answer: SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 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_16 (nationality VARCHAR, heat VARCHAR, rank VARCHAR) ### Question: Which Nationality has a Heat smaller than 2, and a Rank of 15? ### Answer: SELECT nationality FROM table_name_16 WHERE heat < 2 AND rank = 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_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR) ### Question: What is Joe Jonas' result at the Kids' Choice Awards Mexico? ### Answer: SELECT result FROM table_name_32 WHERE recipient_s_ = "joe jonas" AND award = "kids' choice awards 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_26 (result VARCHAR, game VARCHAR) ### Question: What was the result of game 1? ### Answer: SELECT result FROM table_name_26 WHERE game = "game 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_23662272_4 (number_of_dances VARCHAR, average VARCHAR) ### Question: What is the number of dances total number if the average is 22.3? ### Answer: SELECT COUNT(number_of_dances) FROM table_23662272_4 WHERE average = "22.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_10812938_5 (player VARCHAR, cfl_team VARCHAR) ### Question: What player is on the Montreal Alouettes CFl team? ### Answer: SELECT player FROM table_10812938_5 WHERE cfl_team = "Montreal Alouettes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE policies (policy_type_code VARCHAR) ### Question: Find all the policy types that are used by more than 2 customers. ### Answer: SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24039173_1 (stadium VARCHAR, team VARCHAR) ### Question: San Juan Jabloteh calls which stadium home? ### Answer: SELECT stadium FROM table_24039173_1 WHERE team = "San Juan Jabloteh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR) ### Question: What is the episode number where the English title is Pilot? ### Answer: SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = "Pilot"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_216776_2 (municipality VARCHAR, population__2010_ VARCHAR) ### Question: What municipality had 26839 people living in it in 2010? ### Answer: SELECT municipality FROM table_216776_2 WHERE population__2010_ = 26839
Below is an context that describes a sql 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 (batting_style VARCHAR, player VARCHAR) ### Question: What is Jonty Rhodes's batting style? ### Answer: SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes"
Below is an context that describes a sql 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, position VARCHAR, player VARCHAR) ### Question: What team has Steinar Kaldal, a guard / forward? ### Answer: SELECT team FROM table_name_57 WHERE position = "guard / forward" AND player = "steinar kaldal"
Below is an context that describes a sql 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 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR) ### Question: What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212? ### Answer: SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27539535_4 (november INTEGER, game VARCHAR) ### Question: What is the highest entry in November for the game 20? ### Answer: SELECT MAX(november) FROM table_27539535_4 WHERE game = 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_29250534_1 (stadium VARCHAR, club VARCHAR) ### Question: How many stadiums have haka as the club? ### Answer: SELECT COUNT(stadium) FROM table_29250534_1 WHERE club = "Haka"
Below is an context that describes a sql 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 (race_2 VARCHAR, race_1 VARCHAR) ### Question: What is Race 2, when Race 1 is "18"? ### Answer: SELECT race_2 FROM table_name_42 WHERE race_1 = "18"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR) ### Question: what are all the records with a score is w 98–91 ### Answer: SELECT record FROM table_11964047_7 WHERE score = "W 98–91"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (player VARCHAR, UEfa_cup VARCHAR, fa_cup VARCHAR, premier_league VARCHAR) ### Question: What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup? ### Answer: SELECT player FROM table_name_62 WHERE fa_cup < 6 AND premier_league = 33 AND UEfa_cup > 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_14125006_1 (agency VARCHAR, astronaut VARCHAR) ### Question: How many agencies did Budarin Nikolai Budarin working for? ### Answer: SELECT COUNT(agency) FROM table_14125006_1 WHERE astronaut = "Budarin Nikolai Budarin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23548160_1 (constructor VARCHAR, year VARCHAR) ### Question: What was the constructor in 1975? ### Answer: SELECT constructor FROM table_23548160_1 WHERE year = 1975
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23286112_7 (score VARCHAR, date VARCHAR) ### Question: What is the score for the date of December 7? ### Answer: SELECT score FROM table_23286112_7 WHERE date = "December 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_79 (nationality VARCHAR, player VARCHAR) ### Question: What nationality is Rod Langway? ### Answer: SELECT nationality FROM table_name_79 WHERE player = "rod langway"
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR) ### Question: What was the tie resulting from Sheffield Wednesday's game? ### Answer: SELECT tie_no FROM table_name_56 WHERE home_team = "sheffield wednesday"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30060356_3 (event INTEGER) ### Question: What is the highest numbered event? ### Answer: SELECT MAX(event) FROM table_30060356_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_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR) ### Question: What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv? ### Answer: SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR) ### Question: What is the largest drawn number when 14 is the position, and goals for is more than 66? ### Answer: SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66
Below is an context that describes a sql 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 (year VARCHAR, venue VARCHAR) ### Question: Which year was held in beijing? ### Answer: SELECT year FROM table_name_87 WHERE venue = "beijing"
Below is an context that describes a sql 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 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) ### Question: What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? ### Answer: SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: Name the place for tim clark ### Answer: SELECT place FROM table_name_65 WHERE player = "tim clark"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR) ### Question: What is the result of the game against Ayr United? ### Answer: SELECT result FROM table_name_73 WHERE opponent = "ayr united"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) ### Question: What was the dominant religion (2002) of the Mala Remeta settlement? ### Answer: SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta"
Below is an context that describes a sql 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 (matches INTEGER, goals INTEGER) ### Question: What is the lowest match for goals larger than 36? ### Answer: SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (format VARCHAR, note VARCHAR, catalog VARCHAR) ### Question: Name the format for 12cm note and catalog of alca-9198 ### Answer: SELECT format FROM table_name_28 WHERE note = "12cm" AND catalog = "alca-9198"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (points INTEGER, against VARCHAR, position VARCHAR) ### Question: How many Points have an Against smaller than 43, and a Position smaller than 1? ### Answer: SELECT SUM(points) FROM table_name_49 WHERE against < 43 AND position < 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_59 (upper_index_kcal__nm_3 VARCHAR, fuel_gas VARCHAR, lower_index_mj__nm_3 VARCHAR) ### Question: What is the Upper index Kcal/ Nm 3 of iso-butane, and a Lower index MJ/ Nm 3 smaller than 84.71? ### Answer: SELECT COUNT(upper_index_kcal__nm_3) FROM table_name_59 WHERE fuel_gas = "iso-butane" AND lower_index_mj__nm_3 < 84.71
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26427332_17 (place VARCHAR, contestant VARCHAR) ### Question: How many entries are in the ranking for jacqueline kohl? ### Answer: SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = "Jacqueline Kohl"
Below is an context that describes a sql 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 (administrative_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR) ### Question: What is the average administrative panel of the composition nominated by Taoiseach 0 times with a total less than 4? ### Answer: SELECT AVG(administrative_panel) FROM table_name_36 WHERE nominated_by_the_taoiseach = 0 AND total < 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_18 (score VARCHAR, outcome VARCHAR, year VARCHAR) ### Question: What score resulted in a winner after 2008? ### Answer: SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) ### Question: What date did Toumani Diagouraga, who played position MF, start? ### Answer: SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"
Below is an context that describes a sql 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 (winning_score VARCHAR, date VARCHAR) ### Question: What was the winning score for the tournament played on Jul 14, 1973? ### Answer: SELECT winning_score FROM table_name_96 WHERE date = "jul 14, 1973"
Below is an context that describes a sql 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 (home_team VARCHAR, date VARCHAR) ### Question: Which home team is on April 21? ### Answer: SELECT home_team FROM table_name_64 WHERE 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_87 (position VARCHAR, player VARCHAR) ### Question: What is the positions of Damon Jones? ### Answer: SELECT position FROM table_name_87 WHERE player = "damon jones"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (year VARCHAR, position VARCHAR, pick VARCHAR) ### Question: In which year was a linebacker pick 17? ### Answer: SELECT year FROM table_name_4 WHERE position = "linebacker" AND pick = "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_43 (loss INTEGER, gp_gs VARCHAR, gain VARCHAR) ### Question: What's the total loss for a GP-GS of 8-8 and a gain less than 416? ### Answer: SELECT SUM(loss) FROM table_name_43 WHERE gp_gs = "8-8" AND gain < 416
Below is an context that describes a sql 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 (weight VARCHAR, distance VARCHAR, race VARCHAR) ### Question: What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race? ### Answer: SELECT weight FROM table_name_7 WHERE distance = "8f" AND race = "rrc hill stakes (wfa)"
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR, away_team VARCHAR) ### Question: What is the venue for the game on 1 June 1929 where Richmond was the away team? ### Answer: SELECT venue FROM table_name_96 WHERE date = "1 june 1929" AND away_team = "richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR) ### Question: Tell me the total number of years for wins less than 2 and class of 50cc with points of 15 ### Answer: SELECT COUNT(year) FROM table_name_4 WHERE wins < 2 AND class = "50cc" AND points = 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_2 (to_par VARCHAR, player VARCHAR) ### Question: What's k. j. choi's to par? ### Answer: SELECT to_par FROM table_name_2 WHERE player = "k. j. choi"
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR) ### Question: Which venue held the Euro 2012 Qualifier? ### Answer: SELECT venue FROM table_name_80 WHERE competition = "euro 2012 qualifier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) ### Question: If the Home team was st kilda, what was the score of the Away team they played? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE home_team = "st kilda"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR) ### Question: What Rodger Corser Episode has a Rank of senior sergeant? ### Answer: SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (points VARCHAR, engine VARCHAR) ### Question: How many points did the car with the brm v8 engine have? ### Answer: SELECT COUNT(points) FROM table_name_70 WHERE engine = "brm v8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (league VARCHAR, games VARCHAR) ### Question: What is the league name that has a Games listing of 10? ### Answer: SELECT league FROM table_name_47 WHERE games = "10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR) ### Question: between car plates of 80-84 what is the population in 1000 in year 1931? ### Answer: SELECT population_in_1000__1931_ FROM table_name_14 WHERE car_plates__since_1937_ = "80-84"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (total_g INTEGER, c_apps VARCHAR, l_apps VARCHAR, player VARCHAR) ### Question: What is Bartolo's Total G when his L Apps is 29 and his C Apps are larger than 5? ### Answer: SELECT AVG(total_g) FROM table_name_98 WHERE l_apps = 29 AND player = "bartolo" AND c_apps > 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_83 (pick INTEGER, school VARCHAR, round VARCHAR) ### Question: What is the lowest pick from the Furman School that is a round smaller than 8? ### Answer: SELECT MIN(pick) FROM table_name_83 WHERE school = "furman" AND round < 8
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) ### Question: What's the quantity preserved when the fleet number was 700? ### Answer: SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = "700"
Below is an context that describes a sql 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 (number_of_votes VARCHAR, election VARCHAR) ### Question: How many people voted in the election of 1941? ### Answer: SELECT number_of_votes FROM table_name_79 WHERE election = 1941
Below is an context that describes a sql 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 (origin VARCHAR, versions VARCHAR) ### Question: Where is the origin of the tth version? ### Answer: SELECT origin FROM table_name_37 WHERE versions = "tth"
Below is an context that describes a sql 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 (stadium VARCHAR, team VARCHAR) ### Question: What is the stadium of the san diego chargers? ### Answer: SELECT stadium FROM table_name_99 WHERE team = "san diego chargers"
Below is an context that describes a sql 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 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) ### Question: What is the sum number of grid where time/retired is 2:41:38.4 and laps were more than 40? ### Answer: SELECT COUNT(grid) FROM table_name_60 WHERE time_retired = "2:41:38.4" AND laps > 40
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (week VARCHAR, eastern__number2 VARCHAR) ### Question: Tell me the wekk for eastern #2 of houston ### Answer: SELECT week FROM table_name_37 WHERE eastern__number2 = "houston"
Below is an context that describes a sql 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 (player VARCHAR, caps VARCHAR, position VARCHAR) ### Question: What is Player, when Caps is Example, and when Position is Center? ### Answer: SELECT player FROM table_name_66 WHERE caps = "example" AND position = "center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR) ### Question: What's the singer part number of the buttonholer whose storage case is a green plastic box? ### Answer: SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"
Below is an context that describes a sql 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 (station VARCHAR, japanese VARCHAR, rapid VARCHAR, distance__km_ VARCHAR) ### Question: What station has a Rapid of ↑, is 3.4 km away, and has a Japanese title of δΈ‹ι΄¨η”Ÿ? ### Answer: SELECT station FROM table_name_91 WHERE rapid = "↑" AND distance__km_ > 3.4 AND japanese = "δΈ‹ι΄¨η”Ÿ"
Below is an context that describes a sql 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 (year_startup VARCHAR, project_name VARCHAR) ### Question: What year was the startup for the Project Named of taq taq ph 2? ### Answer: SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 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_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR) ### Question: Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks? ### Answer: SELECT date FROM table_name_79 WHERE stadium = "giants stadium" AND week < 13 AND opponent = "seattle seahawks"
Below is an context that describes a sql 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 (laps INTEGER, rider VARCHAR) ### Question: What is the most number of laps run by Ilario Dionisi? ### Answer: SELECT MAX(laps) FROM table_name_89 WHERE rider = "ilario dionisi"
Below is an context that describes a sql 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 (enrollment INTEGER, location VARCHAR) ### Question: COunt the average Enrollment in hope? ### Answer: SELECT AVG(enrollment) FROM table_name_32 WHERE location = "hope"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR) ### Question: Show paragraph details for paragraph with text 'Korea ' . ### Answer: SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea'
Below is an context that describes a sql 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 (result VARCHAR, nominee VARCHAR) ### Question: Did Jason Pennycooke win the award he was nominated for? ### Answer: SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR) ### Question: Find courses that ran in Fall 2009 but not in Spring 2010. ### Answer: SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION 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_12444503_1 (lost_to_eventual_winner VARCHAR, lost_to_eventual_runner_up VARCHAR) ### Question: How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up? ### Answer: SELECT COUNT(lost_to_eventual_winner) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "ASC Jeanne d'Arc"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR) ### Question: What position did kyle mckenzie play? ### Answer: SELECT position FROM table_name_41 WHERE name = "kyle mckenzie"
Below is an context that describes a sql 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 (name VARCHAR, losses VARCHAR, matches VARCHAR) ### Question: Who has 5 losses and has played 11 matches? ### Answer: SELECT name FROM table_name_47 WHERE losses = "5" AND matches = "11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (home_team VARCHAR) ### Question: What was the score of the home team of carlton? ### Answer: SELECT home_team AS score FROM table_name_60 WHERE home_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR) ### Question: Overall of 62 is what average round? ### Answer: SELECT AVG(round) FROM table_name_42 WHERE overall = 62
Below is an context that describes a sql 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 (player VARCHAR, college VARCHAR) ### Question: What Player has a College that is alberta? ### Answer: SELECT player FROM table_name_56 WHERE college = "alberta"
Below is an context that describes a sql 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 (points INTEGER, february INTEGER) ### Question: How many Points a February smaller than 1 have? ### Answer: SELECT MIN(points) FROM table_name_5 WHERE february < 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_14 (january VARCHAR, record VARCHAR) ### Question: How many Januarys had records of 22-15-6? ### Answer: SELECT COUNT(january) FROM table_name_14 WHERE record = "22-15-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_78 (points INTEGER, lost INTEGER) ### Question: Which average Points has a Lost higher than 20? ### Answer: SELECT AVG(points) FROM table_name_78 WHERE lost > 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 book (Title VARCHAR, Issues VARCHAR) ### Question: What are the title and issues of the books? ### Answer: SELECT Title, Issues FROM book
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) ### Question: On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? ### Answer: SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi"