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_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR) ### Question: Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010? ### Answer: SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (sunk_by VARCHAR, flag VARCHAR) ### Question: Who sunk the ship with the flag of Norway? ### Answer: SELECT sunk_by FROM table_name_67 WHERE flag = "norway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR) ### Question: Kitchen knives is segment a of what episode? ### Answer: SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives"
Below is an context that describes a sql 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 (winning_constructor VARCHAR, name VARCHAR) ### Question: Which Constructor won the Roussillon Grand Prix? ### Answer: SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE CONTINENTS (Id VARCHAR) ### Question: How many continents are there? ### Answer: SELECT COUNT(*) FROM CONTINENTS
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR) ### Question: Where was game 41 held, and how many people attended? ### Answer: SELECT location_attendance FROM table_22883210_7 WHERE game = 41
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24540893_6 (pick__number VARCHAR, school VARCHAR, position VARCHAR) ### Question: What numbered pick attended western ontario and is an OL? ### Answer: SELECT pick__number FROM table_24540893_6 WHERE school = "Western Ontario" AND position = "OL"
Below is an context that describes a sql 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 (position VARCHAR, year_born__age_ VARCHAR, current_club VARCHAR, height VARCHAR) ### Question: What is the position for the player from the Alba Berlin club who is taller than 1.96 and whose ear born (Age) is july 23, 1985 (age28)? ### Answer: SELECT position FROM table_name_77 WHERE current_club = "alba berlin" AND height > 1.96 AND year_born__age_ = "july 23, 1985 (age28)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE architect (id VARCHAR, name VARCHAR, nationality VARCHAR); CREATE TABLE mill (architect_id VARCHAR) ### Question: What is the id, name and nationality of the architect who built most mills? ### Answer: SELECT T1.id, T1.name, T1.nationality FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (tournament VARCHAR) ### Question: With a 1992 result of A, and at the U.S. Open Tournament, what is the 1989 result? ### Answer: SELECT 1989 FROM table_name_88 WHERE 1992 = "a" AND tournament = "u.s. 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_1300525_1 (density VARCHAR, english_name VARCHAR) ### Question: What is the density of yushan county? ### Answer: SELECT COUNT(density) FROM table_1300525_1 WHERE english_name = "Yushan County"
Below is an context that describes a sql 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 (termination_of_mission VARCHAR, appointed_by VARCHAR) ### Question: What was the Termination of Mission date for the ambassador who was appointed by Barack Obama? ### Answer: SELECT termination_of_mission FROM table_name_40 WHERE appointed_by = "barack obama"
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at Lake Oval? ### Answer: SELECT away_team AS score FROM table_name_68 WHERE venue = "lake 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_22901612_2 (region VARCHAR, chief_judge VARCHAR) ### Question: If the chief judge is Jeffrey L. Viken, what is the region? ### Answer: SELECT region FROM table_22901612_2 WHERE chief_judge = "Jeffrey L. Viken"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23294081_11 (no INTEGER) ### Question: What is the highest episode number? ### Answer: SELECT MAX(no) FROM table_23294081_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_9 (category VARCHAR, year VARCHAR, nominated_work VARCHAR) ### Question: Which category was the berlin file up to win in 2013? ### Answer: SELECT category FROM table_name_9 WHERE year = 2013 AND nominated_work = "the berlin file"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24990183_5 (name VARCHAR, country VARCHAR) ### Question: Who was the player from georgia? ### Answer: SELECT name FROM table_24990183_5 WHERE country = "Georgia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1183842_1 (type VARCHAR, nickname VARCHAR) ### Question: The fighting knights has what type of nickname? ### Answer: SELECT type FROM table_1183842_1 WHERE nickname = "Fighting Knights"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (country VARCHAR, col__m_ VARCHAR) ### Question: Which country has a Col (m) of 1374? ### Answer: SELECT country FROM table_name_33 WHERE col__m_ = 1374
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17080868_8 (location_attendance VARCHAR, game VARCHAR) ### Question: 54 is the game where location attendance are. ### Answer: SELECT location_attendance FROM table_17080868_8 WHERE game = 54
Below is an context that describes a sql 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 (population VARCHAR, median_household_income VARCHAR) ### Question: What is the population for a county that has a median income of $69,760? ### Answer: SELECT population FROM table_name_25 WHERE median_household_income = "$69,760"
Below is an context that describes a sql 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 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR) ### Question: How much money did Crafty Bear wins with a dist of 1 mile? ### Answer: SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15026994_3 (director VARCHAR, _number VARCHAR) ### Question: Who is the director of the episode at entry number 13? ### Answer: SELECT director FROM table_15026994_3 WHERE _number = 13
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (estimate VARCHAR, date VARCHAR) ### Question: What was the estimated number of victims for the April 27, 1865 sinking? ### Answer: SELECT estimate FROM table_name_78 WHERE date = "april 27, 1865"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (score VARCHAR, place VARCHAR) ### Question: What is the score of T7 place? ### Answer: SELECT score FROM table_name_69 WHERE place = "t7"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR) ### Question: Find the name of the user who has the largest number of followers. ### Answer: SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (result VARCHAR, round VARCHAR, opponent VARCHAR) ### Question: What resulted after 4 rounds with Ed Mahone? ### Answer: SELECT result FROM table_name_19 WHERE round > 4 AND opponent = "ed mahone"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1166259_1 (points VARCHAR, lost VARCHAR) ### Question: How many points are there when the lost is 26? ### Answer: SELECT points FROM table_1166259_1 WHERE lost = 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_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR) ### Question: Who was the leading lady for Uni studio and Frank Strayer? ### Answer: SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer"
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR) ### Question: Which method had Travis Fulton as an opponent? ### Answer: SELECT method FROM table_name_68 WHERE opponent = "travis fulton"
Below is an context that describes a sql 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 (years VARCHAR, total VARCHAR, sport VARCHAR) ### Question: For a total of 1 and the sport of softball what were the years? ### Answer: SELECT years FROM table_name_93 WHERE total = "1" AND sport = "softball"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: Who was the Opponent of the Game with a Result of l 23-41? ### Answer: SELECT opponent FROM table_name_91 WHERE result = "l 23-41"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) ### Question: When did indiana play? ### Answer: SELECT date FROM table_name_8 WHERE opponent = "indiana"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 1994 value with a 2r in 1996, A in 1993, and 2r in 1991? ### Answer: SELECT 1994 FROM table_name_42 WHERE 1996 = "2r" AND 1993 = "a" AND 1991 = "2r"
Below is an context that describes a sql 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 (ranking INTEGER, total VARCHAR) ### Question: What is the lowest ranking associated with a total of 23? ### Answer: SELECT MIN(ranking) FROM table_name_51 WHERE total = 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR) ### Question: Who is the kitmaker for TPS? ### Answer: SELECT kitmaker FROM table_25129482_1 WHERE club = "TPS"
Below is an context that describes a sql 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 (team VARCHAR, fin_pos VARCHAR) ### Question: Which team had a driver with a finish position of 7? ### Answer: SELECT team FROM table_name_85 WHERE fin_pos = "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_28 (catalogue VARCHAR, track VARCHAR, release_date VARCHAR) ### Question: Name the catalogue that has tracks less than 13 and the release date of 10/31/72 ### Answer: SELECT catalogue FROM table_name_28 WHERE track < 13 AND release_date = "10/31/72"
Below is an context that describes a sql 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 (tied INTEGER, pct VARCHAR, lost VARCHAR) ### Question: What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593? ### Answer: SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: Which Record has a Date of january 31? ### Answer: SELECT record FROM table_name_18 WHERE date = "january 31"
Below is an context that describes a sql 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 (lner_1946_no VARCHAR, order_no VARCHAR) ### Question: What is order S24's LNER 1946 number? ### Answer: SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24"
Below is an context that describes a 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_7 (school VARCHAR, college VARCHAR) ### Question: Which school did the player then go to Auburn? ### Answer: SELECT school FROM table_11677691_7 WHERE college = "Auburn"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: What did the home team score at Western Oval? ### Answer: SELECT home_team AS score FROM table_name_4 WHERE venue = "western 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_42 (points INTEGER, year VARCHAR, class VARCHAR) ### Question: What is the sum of Points, when Year is after 1959, and when Class is 250cc? ### Answer: SELECT SUM(points) FROM table_name_42 WHERE year > 1959 AND class = "250cc"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (ends VARCHAR, goals VARCHAR, since VARCHAR, nat VARCHAR) ### Question: What is the total number of ends after 2006 with a nationality of ita and 0 goals? ### Answer: SELECT COUNT(ends) FROM table_name_39 WHERE since > 2006 AND nat = "ita" AND goals < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (region VARCHAR) ### Question: What is the lowest value for 1990, when the Region is East Asia (10 Economies), and when 1960 has a value less than 12.6? ### Answer: SELECT MIN(1990) FROM table_name_54 WHERE region = "east asia (10 economies)" AND 1960 < 12.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_37 (attendance VARCHAR, date VARCHAR) ### Question: How many people in total attended the game on 1 november 1997? ### Answer: SELECT COUNT(attendance) FROM table_name_37 WHERE date = "1 november 1997"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (championship VARCHAR, score VARCHAR) ### Question: What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6? ### Answer: SELECT championship FROM table_name_27 WHERE score = "6–3, 2–6, 3–6, 6–3, 3–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_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR) ### Question: Which position was more than 421 overall for the St. Louis Cardinals? ### Answer: SELECT position FROM table_name_45 WHERE overall > 421 AND mlb_team = "st. louis cardinals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25926120_7 (language VARCHAR, name_of_award VARCHAR) ### Question: what is the language when the name of award is best editing? ### Answer: SELECT language FROM table_25926120_7 WHERE name_of_award = "Best Editing"
Below is an context that describes a sql 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 (artist VARCHAR, english_translation VARCHAR) ### Question: Which Artist has an English translation of all this is music? ### Answer: SELECT artist FROM table_name_92 WHERE english_translation = "all this is music"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (first_elected INTEGER, party VARCHAR, district VARCHAR) ### Question: What is the lowest First Elected, when Party is "Republican", and when District is "Minnesota 1"? ### Answer: SELECT MIN(first_elected) FROM table_name_19 WHERE party = "republican" AND district = "minnesota 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: On what date did the Bills play the Houston Oilers before week 12? ### Answer: SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers"
Below is an context that describes a sql 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 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) ### Question: How many episodes have a share of 16.2% and an episode number of less than 1? ### Answer: SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 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_14070062_3 (points VARCHAR, try_bonus VARCHAR) ### Question: How many points does the club with a try bonus of 10 have? ### Answer: SELECT points FROM table_14070062_3 WHERE 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_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR) ### Question: What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy? ### Answer: SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy"
Below is an context that describes a sql 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 (against INTEGER, status VARCHAR, date VARCHAR) ### Question: What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"? ### Answer: SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007"
Below is an context that describes a sql 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 (streak VARCHAR, date VARCHAR) ### Question: On what date did a streak start on November 14? ### Answer: SELECT streak FROM table_name_30 WHERE date = "november 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_68 (money___£__ VARCHAR, score VARCHAR) ### Question: What is the money with a Score of 76-70-75-72=293? ### Answer: SELECT money___£__ FROM table_name_68 WHERE score = 76 - 70 - 75 - 72 = 293
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1181375_1 (notes VARCHAR, number_range VARCHAR) ### Question: what's the notes where number range is 17 ### Answer: SELECT notes FROM table_1181375_1 WHERE number_range = "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_10842344_1 (no_in_season INTEGER, production_code VARCHAR) ### Question: What episode number had production code e4423? ### Answer: SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = "E4423"
Below is an context that describes a sql 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 (country VARCHAR, notes VARCHAR, rank VARCHAR) ### Question: Which country was ranked 8 and noted as qs? ### Answer: SELECT country FROM table_name_15 WHERE notes = "qs" AND rank = 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_63 (week_2 VARCHAR, week_4 VARCHAR) ### Question: What Week 2 has a Week 4 of piret aava? ### Answer: SELECT week_2 FROM table_name_63 WHERE week_4 = "piret aava"
Below is an context that describes a sql 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 (venue VARCHAR, opponent VARCHAR, score VARCHAR) ### Question: At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)? ### Answer: SELECT venue FROM table_name_51 WHERE opponent = "collingwood" AND score = "7.14 (56) - 4.5 (29)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20170644_1 (player VARCHAR, cfl_team VARCHAR) ### Question: Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? ### Answer: SELECT player FROM table_20170644_1 WHERE cfl_team = "Hamilton Tiger-Cats (via BC via Saskatchewan )"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21091145_1 (black_knights_points VARCHAR, game VARCHAR) ### Question: Name the number of black knights points for 3 game ### Answer: SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 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_54 (nationality VARCHAR, player VARCHAR) ### Question: What is Michael Del Zotto's nationality? ### Answer: SELECT nationality FROM table_name_54 WHERE player = "michael del zotto"
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, tournament VARCHAR) ### Question: What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"? ### Answer: SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting"
Below is an context that describes a sql 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 (listed VARCHAR, county VARCHAR, name VARCHAR) ### Question: What is the date Listed of the B & O Bridge in Washington? ### Answer: SELECT listed FROM table_name_77 WHERE county = "washington" AND name = "b & o bridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER) ### Question: What is the real name of the Pick # that is greater than 9? ### Answer: SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) ### Question: What is the status when livery is blue? ### Answer: SELECT status FROM table_1090916_2 WHERE livery = "Blue"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15417439_1 (length VARCHAR, genus_species VARCHAR) ### Question: For the genus/species arabidopsis thaliana, what are the lengths? ### Answer: SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (rating VARCHAR, episode__number VARCHAR) ### Question: What is the rating/share for episode 13? ### Answer: SELECT rating / SHARE(18 AS –49) FROM table_name_72 WHERE episode__number = 13
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: Who was the director of Small Voices, a film title used in nomination? ### Answer: SELECT director FROM table_name_61 WHERE film_title_used_in_nomination = "small voices"
Below is an context that describes a sql 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 (date VARCHAR, label VARCHAR) ### Question: The release from Simply Vinyl label was on what date? ### Answer: SELECT date FROM table_name_91 WHERE label = "simply vinyl"
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR) ### Question: Who is the visitor on december 3? ### Answer: SELECT visitor FROM table_name_66 WHERE date = "december 3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR) ### Question: What is the score of the match on November 15, 2011? ### Answer: SELECT score FROM table_name_44 WHERE date = "november 15, 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_59 (position VARCHAR, school_club_team VARCHAR) ### Question: What is Michigan State's position? ### Answer: SELECT position FROM table_name_59 WHERE school_club_team = "michigan state"
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR, apps VARCHAR) ### Question: What Full Back Player has 0 Apps? ### Answer: SELECT player FROM table_name_32 WHERE position = "full back" AND apps = 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_1341395_22 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates when Barney Frank was the incumbent? ### Answer: SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"
Below is an context that describes a sql 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 (goals INTEGER, name VARCHAR) ### Question: Name the most goals for josep samitier ### Answer: SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"
Below is an context that describes a sql 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 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? ### Answer: SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 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_24949975_1 (home_team VARCHAR, season VARCHAR, result VARCHAR) ### Question: Who was the home team for the 2013 season and the result was 0–0? ### Answer: SELECT home_team FROM table_24949975_1 WHERE season = "2013" AND result = "0–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_17102076_10 (high_assists VARCHAR, score VARCHAR) ### Question: Name the high assists for score being l 98–118 (ot) ### Answer: SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__silver_ VARCHAR) ### Question: How many platinum points were awarded when 70 silver points were awarded? ### Answer: SELECT points_awarded__platinum_ FROM table_11254821_2 WHERE points_awarded__silver_ = 70
Below is an context that describes a sql 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 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR) ### Question: What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreographer(s) is Nakul Dev Mahajan? ### Answer: SELECT chosen_by FROM table_name_10 WHERE couple = "katee shean joshua allen" AND choreographer_s_ = "nakul dev mahajan"
Below is an context that describes a sql 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 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: How much time is required for less than 35 laps and less than 10 grids? ### Answer: SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 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_11803648_20 (position VARCHAR, player VARCHAR) ### Question: What position is the player Jordan Fransoo in? ### Answer: SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo"
Below is an context that describes a sql 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 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR) ### Question: What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses? ### Answer: SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa"
Below is an context that describes a sql 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 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR) ### Question: Which Zone is the lowest when Managed By Southern and has Platforms under 2? ### Answer: SELECT MIN(zone) FROM table_name_88 WHERE managed_by = "southern" AND platforms < 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 candidates (candidate_id VARCHAR); CREATE TABLE people (cell_mobile_number VARCHAR, person_id VARCHAR); CREATE TABLE candidate_assessments (candidate_id VARCHAR, asessment_outcome_code VARCHAR) ### Question: Find the cell mobile number of the candidates whose assessment code is "Fail"? ### Answer: SELECT T3.cell_mobile_number FROM candidates AS T1 JOIN candidate_assessments AS T2 ON T1.candidate_id = T2.candidate_id JOIN people AS T3 ON T1.candidate_id = T3.person_id WHERE T2.asessment_outcome_code = "Fail"
Below is an context that describes a sql 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 (visitor VARCHAR, record VARCHAR) ### Question: What visiting team has a record of 9–5–2? ### Answer: SELECT visitor FROM table_name_93 WHERE record = "9–5–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_16 (to_par VARCHAR, total VARCHAR) ### Question: What is the total to par with a total of 163? ### Answer: SELECT COUNT(to_par) FROM table_name_16 WHERE total = 163
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, points VARCHAR) ### Question: Which Rank that a Name of thomas morgenstern, and Points larger than 288.7? ### Answer: SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.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_2668352_14 (district VARCHAR, first_elected VARCHAR) ### Question: Name the district for first elected 1810 ### Answer: SELECT district FROM table_2668352_14 WHERE first_elected = "1810"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE club (clublocation VARCHAR) ### Question: How many clubs are located at "HHH"? ### Answer: SELECT COUNT(*) FROM club WHERE clublocation = "HHH"
Below is an context that describes a sql 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, away_team VARCHAR) ### Question: What is the venue when fitzroy was the away team? ### Answer: SELECT venue FROM table_name_80 WHERE away_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_22993636_5 (minutes VARCHAR, player VARCHAR) ### Question: How much time, in minutes, did Chanel Chisholm play? ### Answer: SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm"
Below is an context that describes a sql 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 (score VARCHAR, to_par VARCHAR, player VARCHAR) ### Question: What is the Score that has a To standard of –3, and a Player of Jim Furyk? ### Answer: SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk"
Below is an context that describes a sql 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 (finish VARCHAR, year_s__won VARCHAR) ### Question: Where did the player who won in 1991 finish? ### Answer: SELECT finish FROM table_name_1 WHERE year_s__won = "1991"