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_77 (attendance VARCHAR, week VARCHAR) ### Question: What was the attendance total for week 10? ### Answer: SELECT attendance FROM table_name_77 WHERE week = 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_29 (short_term_capital_gain_rate VARCHAR, long_term_gain_on_collectibles VARCHAR) ### Question: What is short-term capital gain rate with long-term gain on collectibles at 15%? ### Answer: SELECT short_term_capital_gain_rate FROM table_name_29 WHERE long_term_gain_on_collectibles = "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_79 (athlete VARCHAR, react VARCHAR) ### Question: Who was the athlete with react of 0.185? ### Answer: SELECT athlete FROM table_name_79 WHERE react = 0.185
Below is an context that describes a sql 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 (new_wnba_team VARCHAR, pick INTEGER) ### Question: What was the new WNBA team of the player selected with a pick over 7? ### Answer: SELECT new_wnba_team FROM table_name_52 WHERE pick > 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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR) ### Question: Find all the songs that do not have a lead vocal. ### Answer: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = "lead"
Below is an context that describes a sql 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 (rowers VARCHAR, rank VARCHAR, country VARCHAR) ### Question: Who were the rowers from china wh had a rank smaller than 4? ### Answer: SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR) ### Question: What is the highest round of Ian Cole, who played position d from the United States? ### Answer: SELECT MAX(round) FROM table_name_35 WHERE position = "d" AND nationality = "united states" AND player = "ian cole"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14649522_1 (nfl_team VARCHAR, player VARCHAR) ### Question: Which team does Robert Brooks play with? ### Answer: SELECT nfl_team FROM table_14649522_1 WHERE player = "Robert Brooks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1217448_1 (estimated_value VARCHAR, cover_date VARCHAR) ### Question: what's the estimated value where cover date is august 1962 ### Answer: SELECT estimated_value FROM table_1217448_1 WHERE cover_date = "August 1962"
Below is an context that describes a sql 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 (screen_size VARCHAR, bluetooth VARCHAR, model VARCHAR) ### Question: What is the screen size of the s45 (Australia only) Model with no bluetooth? ### Answer: SELECT screen_size FROM table_name_8 WHERE bluetooth = "no" AND model = "s45 (australia only)"
Below is an context that describes a sql 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 (max_power_at_rpm VARCHAR, engine_code_s_ VARCHAR) ### Question: What is the maximum power of engine code 2e? ### Answer: SELECT max_power_at_rpm FROM table_name_95 WHERE engine_code_s_ = "2e"
Below is an context that describes a sql 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 (colors VARCHAR, school VARCHAR) ### Question: What Colors has a School of zeigler high school? ### Answer: SELECT colors FROM table_name_17 WHERE school = "zeigler high 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 table_name_29 (tv_time VARCHAR, date VARCHAR) ### Question: What was the TV time for the game on June 9? ### Answer: SELECT tv_time FROM table_name_29 WHERE date = "june 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_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR) ### Question: What is the rank of the airport with freight ( metric tonnes ) of 255121? ### Answer: SELECT rank FROM table_13836704_6 WHERE freight___metric_tonnes__ = 255121
Below is an context that describes a sql 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 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR) ### Question: In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.? ### Answer: SELECT intergiro_classification FROM table_name_10 WHERE trofeo_fast_team = "asics-c.g.a." AND stage = "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_22 (competition VARCHAR, goal VARCHAR) ### Question: How was the competition in which 6 goals were made? ### Answer: SELECT competition FROM table_name_22 WHERE goal = 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_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) ### Question: Name the womens doubles when mens doubles is theodoros velkos giorgos patis ### Answer: SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Theodoros Velkos Giorgos Patis"
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR, total VARCHAR, country VARCHAR) ### Question: Lee Trevino of the United States with a total greater than 294 had what To par? ### Answer: SELECT to_par FROM table_name_73 WHERE total > 294 AND country = "united states" AND player = "lee trevino"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR) ### Question: What is the date of birth of the goalkeeper from the 1st season? ### Answer: SELECT date_of_birth FROM table_name_13 WHERE position_s_ = "goalkeeper" AND seasons = "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_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR) ### Question: What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2? ### Answer: SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 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_7 (stage VARCHAR, statistic VARCHAR) ### Question: With a statistic of most points, what is the stage? ### Answer: SELECT stage FROM table_name_7 WHERE statistic = "most points"
Below is an context that describes a sql 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 (origin_of_programming VARCHAR, network VARCHAR) ### Question: What is the Origin of Programming for the Network MTV India? ### Answer: SELECT origin_of_programming FROM table_name_43 WHERE network = "mtv india"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR) ### Question: Who has a birth of 16 august 1401? ### Answer: SELECT name FROM table_name_21 WHERE birth = "16 august 1401"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR) ### Question: who is the manufacturer is no.50? ### Answer: SELECT manufacturer FROM table_27821519_1 WHERE no = 50
Below is an context that describes a sql 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 (cospar_id VARCHAR, satellite VARCHAR) ### Question: What is Ariel 3's COSPAR ID? ### Answer: SELECT cospar_id FROM table_name_3 WHERE satellite = "ariel 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_74 (home VARCHAR, date VARCHAR) ### Question: What is the home team of the game on February 4? ### Answer: SELECT home FROM table_name_74 WHERE date = "february 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_64 (gold VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: What is the total of Golds with more bronzes than 1 and totaled larger than 4? ### Answer: SELECT COUNT(gold) FROM table_name_64 WHERE bronze > 1 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_19317584_2 (date VARCHAR) ### Question: How many placed 4th on April 25? ### Answer: SELECT COUNT(4 AS th_placed) FROM table_19317584_2 WHERE date = "April 25"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1277350_1 (sunday_sōl__sun_ VARCHAR, friday_venus__venus_ VARCHAR) ### Question: what's the sunday sōl (sun) with friday venus (venus) being vernes ### Answer: SELECT sunday_sōl__sun_ FROM table_1277350_1 WHERE friday_venus__venus_ = "vernes"
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR) ### Question: WHAT IS THE OPPONENT WITH A SCORE OF 72-63? ### Answer: SELECT opponent FROM table_name_89 WHERE score = "72-63"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (appearances INTEGER, bronze_medals INTEGER) ### Question: What is the average amount of appearances for the Bronze Meals less than 0? ### Answer: SELECT AVG(appearances) FROM table_name_58 WHERE bronze_medals < 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_14889048_2 (points INTEGER, wins VARCHAR) ### Question: When a team wins 4, how much is the Maximum amount of points? ### Answer: SELECT MAX(points) FROM table_14889048_2 WHERE wins = 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_40 (domari VARCHAR, hindi VARCHAR) ### Question: What Domari word has the same meaning as the Hindi word pāñc? ### Answer: SELECT domari FROM table_name_40 WHERE hindi = "pāñc"
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, place VARCHAR) ### Question: What did United States score in the place t6? ### Answer: SELECT score FROM table_name_21 WHERE country = "united states" AND place = "t6"
Below is an context that describes a sql 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 (decile INTEGER, authority VARCHAR, roll VARCHAR) ### Question: What is the average decile of the school with a state authority and a roll number of 888? ### Answer: SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND roll = 888
Below is an context that describes a sql 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 (form_factor VARCHAR, model VARCHAR) ### Question: What is the form factor with a model name of precision m50? ### Answer: SELECT form_factor FROM table_name_99 WHERE model = "precision m50"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18018214_4 (games_played VARCHAR, points VARCHAR) ### Question: How many games had 22 points? ### Answer: SELECT COUNT(games_played) FROM table_18018214_4 WHERE points = 22
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) ### Question: Who directed the movie when John Wayne played the role of John Travers? ### Answer: SELECT director FROM table_name_54 WHERE role = "john travers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22050544_1 (winner VARCHAR, dateca VARCHAR, event__number VARCHAR) ### Question: Who is the winner of event # 1h and dateca is Apr 2? ### Answer: SELECT winner FROM table_22050544_1 WHERE dateca = "Apr 2" AND event__number = "1H"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21313327_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) ### Question: when the writer is Brad Kern, how many u.s viewers (in millions) had the episode? ### Answer: SELECT us_viewers__millions_ FROM table_21313327_1 WHERE written_by = "Brad Kern"
Below is an context that describes a sql 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 (score VARCHAR, points VARCHAR) ### Question: What score has 33 as the points? ### Answer: SELECT score FROM table_name_93 WHERE points = 33
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10874596_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What was the original title of the film submitted with the title A Woman in Flames? ### Answer: SELECT original_title FROM table_10874596_1 WHERE film_title_used_in_nomination = "A Woman in Flames"
Below is an context that describes a sql 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 (ihsaa_football_class VARCHAR, enrollment VARCHAR) ### Question: Which IHSAA Football Class has an Enrollment of 406? ### Answer: SELECT ihsaa_football_class FROM table_name_17 WHERE enrollment = 406
Below is an context that describes a sql 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 (launched VARCHAR, completed VARCHAR) ### Question: Name the launched for 13 september 1934 completion ### Answer: SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What is Geelong's home team score? ### Answer: SELECT home_team AS score FROM table_name_89 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_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR) ### Question: Which Country has a FIS Nordic World Ski Championships of 1948, 1950? ### Answer: SELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = "1948, 1950"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25691838_8 (production_code INTEGER, original_airdate VARCHAR) ### Question: What was the smallest production code for August 11's original episode? ### Answer: SELECT MIN(production_code) FROM table_25691838_8 WHERE original_airdate = "August 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_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR) ### Question: What is the lowest league cup with a premier League of 1, and the total is less than 5? ### Answer: SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 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_96 (record VARCHAR, score VARCHAR, opponent VARCHAR) ### Question: Score of 6–4, and a Opponent of @ marlins had what record? ### Answer: SELECT record FROM table_name_96 WHERE score = "6–4" AND opponent = "@ marlins"
Below is an context that describes a sql 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 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR) ### Question: Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11? ### Answer: SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 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_23 (winning_score VARCHAR, date VARCHAR) ### Question: What was the winning score on May 3, 1998? ### Answer: SELECT winning_score FROM table_name_23 WHERE date = "may 3, 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) ### Question: How many parties were first elected in 1805? ### Answer: SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26914076_3 (original_air_date VARCHAR, directed_by VARCHAR) ### Question: What is the date the episode directed by rob bailey aired? ### Answer: SELECT original_air_date FROM table_26914076_3 WHERE directed_by = "Rob Bailey"
Below is an context that describes a 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 (game VARCHAR, november VARCHAR) ### Question: What is every game on November 21? ### Answer: SELECT game FROM table_27539535_4 WHERE november = 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_14 (venue VARCHAR, home_team VARCHAR) ### Question: Where did Carlton play as the home team? ### Answer: SELECT venue FROM table_name_14 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_12962773_1 (current_club VARCHAR, position VARCHAR, no VARCHAR) ### Question: what's current club with position being center and no being bigger than 12.0 ### Answer: SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.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_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR) ### Question: Who was the interview subject when the centerfold model was Sherry Arnett? ### Answer: SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett"
Below is an context that describes a sql 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 (losses VARCHAR, ties VARCHAR, wins VARCHAR) ### Question: What is the total number of Losses, when Ties is 2, and when Wins is greater than 8? ### Answer: SELECT COUNT(losses) FROM table_name_81 WHERE ties = 2 AND wins > 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 Residents (date_moved_in INTEGER) ### Question: When is the last day any resident moved in? ### Answer: SELECT MAX(date_moved_in) FROM Residents
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (byes VARCHAR, against VARCHAR, draws VARCHAR) ### Question: What was the total number of Byes for the team that had 1136 Against and fewer than 0 Draws? ### Answer: SELECT COUNT(byes) FROM table_name_84 WHERE against = 1136 AND draws < 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_14 (attendance INTEGER, date VARCHAR) ### Question: How many people attended on 2 may 2007? ### Answer: SELECT SUM(attendance) FROM table_name_14 WHERE date = "2 may 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_23548160_1 (formula VARCHAR, driver VARCHAR) ### Question: What type of formula did Stirling Moss drive? ### Answer: SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16908657_1 (flaps VARCHAR, points VARCHAR) ### Question: Name the number of flaps for 63 points ### Answer: SELECT COUNT(flaps) FROM table_16908657_1 WHERE points = "63"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the Home team at the Western Oval location? ### Answer: SELECT home_team FROM table_name_62 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_92 (report VARCHAR, race VARCHAR) ### Question: What's the report for the mexican grand prix? ### Answer: SELECT report FROM table_name_92 WHERE race = "mexican grand prix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27441210_13 (year VARCHAR, country VARCHAR) ### Question: How many years was the country Belgium? ### Answer: SELECT COUNT(year) FROM table_27441210_13 WHERE country = "Belgium"
Below is an context that describes a sql 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 (team VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: Name the team with laps of 97 and grid of 3 ### Answer: SELECT team FROM table_name_79 WHERE laps = 97 AND grid = 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_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR) ### Question: Name the episode for 18-49 rating being 3.6 ### Answer: SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "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_95 (winner VARCHAR, length VARCHAR) ### Question: Who is the Winner when the Length is 21.27km? ### Answer: SELECT winner FROM table_name_95 WHERE length = "21.27km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR) ### Question: What was the date for a round that only had 1 match? ### Answer: SELECT date FROM table_name_36 WHERE matches = 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_48 (neck VARCHAR, bullet VARCHAR, base VARCHAR) ### Question: Which Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)? ### Answer: SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24222929_2 (title VARCHAR, directed_by VARCHAR) ### Question: Name the title that was directed by john terlesky ### Answer: SELECT title FROM table_24222929_2 WHERE directed_by = "John Terlesky"
Below is an context that describes a sql 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 (attendance VARCHAR, league_position VARCHAR, score_f_a VARCHAR) ### Question: How many were in attendance when the league position was 16th and the score was F–A of 0–3? ### Answer: SELECT COUNT(attendance) FROM table_name_43 WHERE league_position = "16th" AND score_f_a = "0–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_4 (title VARCHAR, studio VARCHAR) ### Question: What is the title of Buena Vista Pictures? ### Answer: SELECT title FROM table_name_4 WHERE studio = "buena vista pictures"
Below is an context that describes a sql 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 (name VARCHAR, points VARCHAR, drawn VARCHAR) ### Question: Which name has more than 14 points with less than 1 draw? ### Answer: SELECT name FROM table_name_99 WHERE points > 14 AND drawn < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (theme VARCHAR, result VARCHAR, week VARCHAR) ### Question: What was the theme for Vegas Verdicts week with a result of Advanced? ### Answer: SELECT theme FROM table_name_30 WHERE result = "advanced" AND week = "vegas verdicts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27537518_9 (record VARCHAR, opponent VARCHAR) ### Question: What was the record for the game where the opponent was the Carolina Hurricanes? ### Answer: SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes"
Below is an context that describes a sql 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 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR) ### Question: What is his low win total when he has over 3 top 25s and under 9 cuts made? ### Answer: SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 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_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR) ### Question: What notes have a rank greater than 2, with mexico as the country? ### Answer: SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "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_65 (quantity_made VARCHAR, year_made VARCHAR) ### Question: What is Quantity Made, when Year Made is "4-4-0 — oooo — american"? ### Answer: SELECT quantity_made FROM table_name_65 WHERE year_made = "4-4-0 — oooo — american"
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR) ### Question: On June 26, 2006 the game was played on what surface? ### Answer: SELECT surface FROM table_name_79 WHERE date = "june 26, 2006"
Below is an context that describes a sql 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 (position VARCHAR, team VARCHAR) ### Question: Which position was morristown minutemen in? ### Answer: SELECT position FROM table_name_1 WHERE team = "morristown minutemen"
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR) ### Question: Where was the game when Collingwood was the home team? ### Answer: SELECT venue FROM table_name_19 WHERE away_team = "collingwood"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342256_32 (district VARCHAR, incumbent VARCHAR) ### Question: How many polling areas are there with John Taber as the sitting Representative? ### Answer: SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE storm (name VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) ### Question: Show all storm names except for those with at least two affected regions. ### Answer: SELECT name FROM storm EXCEPT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id 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_name_16 (class VARCHAR, year_made VARCHAR) ### Question: What is the Class of 1899–1900? ### Answer: SELECT class FROM table_name_16 WHERE year_made = "1899–1900"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14342480_7 (field_goals INTEGER) ### Question: What is the lowest amount of field goals on the chart? ### Answer: SELECT MIN(field_goals) FROM table_14342480_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 Companies (Industry VARCHAR) ### Question: Please show each industry and the corresponding number of companies in that industry. ### Answer: SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry
Below is an context that describes a sql 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 (acquisition_via VARCHAR, school_club_team VARCHAR) ### Question: Which is the acquisition via that has a school or club team of state? ### Answer: SELECT acquisition_via FROM table_name_82 WHERE school_club_team = "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_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) ### Question: Name the conventional for defter ### Answer: SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"
Below is an context that describes a sql 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 (college_team VARCHAR, round VARCHAR, nationality VARCHAR) ### Question: What is College/Team, when Round is less than 2, and when Nationality is "United States"? ### Answer: SELECT college_team FROM table_name_18 WHERE round < 2 AND nationality = "united states"
Below is an context that describes a sql 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 (pba_team VARCHAR, player VARCHAR) ### Question: What is Richard Bachmann's PBA team? ### Answer: SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann"
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR) ### Question: Attendance of 29,000 occurred on what date? ### Answer: SELECT date FROM table_name_80 WHERE attendance = "29,000"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR) ### Question: What was the record when the score was 11-10? ### Answer: SELECT record FROM table_name_85 WHERE score = "11-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_53 (state VARCHAR, region VARCHAR, city VARCHAR) ### Question: Which mideast regional state contains the city of Seattle? ### Answer: SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"
Below is an context that describes a sql 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 (pick VARCHAR, college VARCHAR) ### Question: WHAT IS THE TOTAL PICK FOR BOSTON COLLEGE? ### Answer: SELECT COUNT(pick) FROM table_name_32 WHERE college = "boston college"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18666752_3 (total_penalties VARCHAR, rider VARCHAR) ### Question: How many penalties are there when Eric Vigeanel is the rider? ### Answer: SELECT COUNT(total_penalties) FROM table_18666752_3 WHERE rider = "Eric Vigeanel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20589703_2 (summer_team VARCHAR, college VARCHAR, player VARCHAR) ### Question: What suumer team was James Lomangino from St. John's on? ### Answer: SELECT summer_team FROM table_20589703_2 WHERE college = "St. John's" AND player = "James Lomangino"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (date VARCHAR, game VARCHAR, team VARCHAR) ### Question: WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON? ### Answer: SELECT date FROM table_name_57 WHERE game < 58 AND team = "boston"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19523708_1 (authors VARCHAR, original VARCHAR) ### Question: How many authors are present when the original was Carry On? ### Answer: SELECT COUNT(authors) FROM table_19523708_1 WHERE original = "Carry On"