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_91 (overall INTEGER, player VARCHAR) ### Question: Name the average overall for james davis ### Answer: SELECT AVG(overall) FROM table_name_91 WHERE player = "james davis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR) ### Question: How many district has a candidate that was first elected on 1811? ### Answer: SELECT COUNT(district) FROM table_2668254_25 WHERE first_elected = "1811"
Below is an context that describes a sql 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 (finish VARCHAR, country VARCHAR, player VARCHAR) ### Question: what is the finish when the country is united states and the player is tiger woods? ### Answer: SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342013_41 (candidates VARCHAR, incumbent VARCHAR) ### Question: What candidates were in the election when james patrick sutton was incumbent? ### Answer: SELECT candidates FROM table_1342013_41 WHERE incumbent = "James Patrick Sutton"
Below is an context that describes a sql 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 (against INTEGER, losses VARCHAR, draws VARCHAR) ### Question: WHAT IS THE HIGHEST AGAINST WITH LOSSES SMALLER THAN 17, DRAWS LARGER THAN 1? ### Answer: SELECT MAX(against) FROM table_name_35 WHERE losses < 17 AND draws > 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_14058433_5 (points_for VARCHAR, lost VARCHAR) ### Question: what's the points for with lost being 4 ### Answer: SELECT points_for FROM table_14058433_5 WHERE lost = "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_28697228_4 (total_offense INTEGER, opponent VARCHAR) ### Question: What is the number of total offense when the opponentis Penn State? ### Answer: SELECT MAX(total_offense) FROM table_28697228_4 WHERE opponent = "Penn 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_13713206_1 (club__city_town_ VARCHAR, w_l_d VARCHAR) ### Question: On what position number is the club with a w-l-d of 5-7-4? ### Answer: SELECT COUNT(club__city_town_) FROM table_13713206_1 WHERE w_l_d = "5-7-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_5 (school_name VARCHAR, year_open VARCHAR) ### Question: WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972? ### Answer: SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2679061_4 (player VARCHAR, nhl_team VARCHAR) ### Question: Which player was drafted by the Minnesota North Stars? ### Answer: SELECT player FROM table_2679061_4 WHERE nhl_team = "Minnesota North Stars"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: Which away team played the home team of Footscray? ### Answer: SELECT away_team FROM table_name_56 WHERE home_team = "footscray"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (city VARCHAR, state VARCHAR, year VARCHAR) ### Question: What is the city that is located in California when the year is greater than 2009? ### Answer: SELECT city FROM table_name_46 WHERE state = "california" AND year > 2009
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (date VARCHAR, opponent VARCHAR) ### Question: On what date was the opponent the Miami Dolphins? ### Answer: SELECT date FROM table_name_30 WHERE opponent = "miami dolphins"
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR) ### Question: What venue has a Result of 3-0? ### Answer: SELECT venue FROM table_name_73 WHERE result = "3-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_86 (against INTEGER, team VARCHAR, position VARCHAR) ### Question: What is the highest against value for Palmeiras and position less than 4? ### Answer: SELECT MAX(against) FROM table_name_86 WHERE team = "palmeiras" AND position < 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_65 (points VARCHAR, played INTEGER) ### Question: How many Points have a Played larger than 18? ### Answer: SELECT COUNT(points) FROM table_name_65 WHERE played > 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_name_1 (losses INTEGER, wins VARCHAR, runs_allowed VARCHAR) ### Question: How many losses did the team with 0 wins and more than 72 runs allowed have? ### Answer: SELECT SUM(losses) FROM table_name_1 WHERE wins = 0 AND runs_allowed > 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_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR) ### Question: what is the arabic capital name where the english capital name is beirut? ### Answer: SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut"
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR) ### Question: What is the To par of the New Zealand Player? ### Answer: SELECT to_par FROM table_name_79 WHERE country = "new zealand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER) ### Question: What is the total heat ranked higher than 7? ### Answer: SELECT SUM(heat) FROM table_name_46 WHERE rank > 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_18 (december INTEGER, opponent VARCHAR) ### Question: Can you tell me the average December rhat has the Opponent of @ toronto maple leafs? ### Answer: SELECT AVG(december) FROM table_name_18 WHERE opponent = "@ toronto maple leafs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR) ### Question: What is every value for points per game if passing yards per game is 179.6? ### Answer: SELECT points_per_game FROM table_27487336_1 WHERE passing_yards_per_game = "179.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_9 (exit_date VARCHAR, to_club VARCHAR) ### Question: What is the exit date of the player who transferred to Cardiff City? ### Answer: SELECT exit_date FROM table_name_9 WHERE to_club = "cardiff city"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What tournament was at the 2007 Olympic Games? ### Answer: SELECT tournament FROM table_name_91 WHERE 2007 = "olympic games"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (producer VARCHAR, author VARCHAR, narrator VARCHAR, year VARCHAR) ### Question: who is the producer when the narrator is katherine kellgren, the year is before 2013 and the author is karen cushman? ### Answer: SELECT producer FROM table_name_17 WHERE narrator = "katherine kellgren" AND year < 2013 AND author = "karen cushman"
Below is an context that describes 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 (Sales_billion INTEGER, Industry VARCHAR) ### Question: What are the maximum and minimum sales of the companies whose industries are not "Banking". ### Answer: SELECT MAX(Sales_billion), MIN(Sales_billion) FROM Companies WHERE Industry <> "Banking"
Below is an context that describes a sql 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 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR) ### Question: How many tracks have an unformatted capacity per side of 2000kb? ### Answer: SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (time VARCHAR, opponent VARCHAR) ### Question: Tell me the time for martin kampmann ### Answer: SELECT time FROM table_name_90 WHERE opponent = "martin kampmann"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR) ### Question: Find the name of students who didn't take any course from Biology department. ### Answer: SELECT name FROM student WHERE NOT id IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology')
Below is an context that describes a sql 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 (bronze VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR) ### Question: What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0? ### Answer: SELECT COUNT(bronze) FROM table_name_2 WHERE rank > 2 AND total < 2 AND silver > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (money___$__ VARCHAR, score VARCHAR) ### Question: How much money does the player with a score of 76-70-65-68=279 have? ### Answer: SELECT money___$__ FROM table_name_24 WHERE score = 76 - 70 - 65 - 68 = 279
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR) ### Question: What is every result for the ceremony year of 2007 (80th)? ### Answer: SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (roll VARCHAR, area VARCHAR, decile VARCHAR) ### Question: What is the roll number of the school in Aramoho with a decile of 1? ### Answer: SELECT roll FROM table_name_86 WHERE area = "aramoho" AND decile = 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_1243601_1 (regular_season VARCHAR, year VARCHAR) ### Question: What was the regular season listing in 2007? ### Answer: SELECT regular_season FROM table_1243601_1 WHERE year = "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_2508633_2 (position VARCHAR, pick__number VARCHAR) ### Question: Name the position for pick number 39 ### Answer: SELECT position FROM table_2508633_2 WHERE pick__number = 39
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21481509_4 (r1b1a2__r_m269_ VARCHAR, r1b1c__r_v88_ VARCHAR) ### Question: What percentage is listed in column r1b1a2 (r-m269) for the 77.8% r1b1c (r-v88)? ### Answer: SELECT r1b1a2__r_m269_ FROM table_21481509_4 WHERE r1b1c__r_v88_ = "77.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_88 (home_leg VARCHAR, opponents VARCHAR) ### Question: What is the home leg who are opponents of rotor volgograd ### Answer: SELECT home_leg FROM table_name_88 WHERE opponents = "rotor volgograd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR) ### Question: What was the score in game 6? ### Answer: SELECT score FROM table_23248910_11 WHERE game = 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_19930660_3 (first_broadcast VARCHAR, episode VARCHAR) ### Question: What is the first broadcast date for episode 3x10? ### Answer: SELECT first_broadcast FROM table_19930660_3 WHERE episode = "3x10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26166836_2 (country VARCHAR, road_race VARCHAR) ### Question: What's the whole range of united states where road race is ottawa marathon ### Answer: SELECT COUNT(country) FROM table_26166836_2 WHERE road_race = "Ottawa Marathon"
Below is an context that describes a sql 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 (airline VARCHAR, notes VARCHAR) ### Question: What is the Airline when the notes show aoc 135? ### Answer: SELECT airline FROM table_name_51 WHERE notes = "aoc 135"
Below is an context that describes a sql 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 (region VARCHAR, date VARCHAR, catalog VARCHAR) ### Question: What region has a 2002 date, and a Catalog dos 195? ### Answer: SELECT region FROM table_name_70 WHERE date = "2002" AND catalog = "dos 195"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE actor (Name VARCHAR, Age VARCHAR) ### Question: List the name of actors whose age is not 20. ### Answer: SELECT Name FROM actor WHERE Age <> 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_name_55 (championship VARCHAR, outcome VARCHAR, opponents_in_final VARCHAR) ### Question: What is Championship, when Outcome is "runner-up", and when Opponents In Final is "Gigi Fernández Natalia Zvereva"? ### Answer: SELECT championship FROM table_name_55 WHERE outcome = "runner-up" AND opponents_in_final = "gigi fernández natalia zvereva"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_191105_4 (first_aired VARCHAR, performed_by VARCHAR) ### Question: What is the date for the episode performed by Sue Manchester? ### Answer: SELECT first_aired FROM table_191105_4 WHERE performed_by = "Sue Manchester"
Below is an context that describes a sql 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 (wins VARCHAR, wpct VARCHAR) ### Question: What wins has WPct of 0.2? ### Answer: SELECT wins FROM table_name_82 WHERE wpct = "0.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_6 (league_cup_goals INTEGER, club VARCHAR) ### Question: What is the highest number of League Cup goals that were scored by Hartlepool? ### Answer: SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool"
Below is an context that describes a sql 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 (build_date VARCHAR, prr_class VARCHAR) ### Question: What is the build date of the model with PRR Class brs24? ### Answer: SELECT build_date FROM table_name_56 WHERE prr_class = "brs24"
Below is an context that describes a sql 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 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) ### Question: What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3? ### Answer: SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 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_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) ### Question: What is the local location that has senegal as the resident county, and a mission of mali? ### Answer: SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali"
Below is an context that describes a sql 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 (rogers_cable__ottawa_ VARCHAR, digital_psip VARCHAR, vidéotron__gatineau_ VARCHAR) ### Question: What's the total number of Rogers Cable (Ottawa) channels that have a Digital PSIP greater than 9.1, and a Vidéotron (Gatineau) of channel 14? ### Answer: SELECT COUNT(rogers_cable__ottawa_) FROM table_name_58 WHERE digital_psip > 9.1 AND vidéotron__gatineau_ = 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_95 (game VARCHAR, opponent VARCHAR) ### Question: What is the total game number with athlone town as the opponent? ### Answer: SELECT COUNT(game) FROM table_name_95 WHERE opponent = "athlone town"
Below is an context that describes a sql 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 (silver INTEGER, total VARCHAR, bronze VARCHAR) ### Question: What is the most silver medals a team with 3 total medals and less than 1 bronze has? ### Answer: SELECT MAX(silver) FROM table_name_13 WHERE total = 3 AND bronze < 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_10 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR) ### Question: Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what average podium? ### Answer: SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = "1989" AND pole < 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_12807904_3 (points_for VARCHAR, try_bonus VARCHAR) ### Question: HOW MANY GAMES HAD BONUS POINTS OF 6? ### Answer: SELECT points_for FROM table_12807904_3 WHERE try_bonus = "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_52 (total INTEGER) ### Question: What is the 2 vs 3 when total is bigger than 38? ### Answer: SELECT AVG(2 AS _vs_3) FROM table_name_52 WHERE total > 38
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR) ### Question: How may assists per game have 7.7 points per game? ### Answer: SELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = "7.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_234886_2 (title VARCHAR, original_air_date VARCHAR) ### Question: How many titles have an original air date of November 17, 1998? ### Answer: SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 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_25716401_1 (title VARCHAR, written_by VARCHAR) ### Question: How many titles are there for the episode written by Tom Scharpling? ### Answer: SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR) ### Question: What date did the DVD for season six come out in region 2? ### Answer: SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"
Below is an context that describes a sql 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 (birthplace VARCHAR, real_name VARCHAR) ### Question: What is the birthplace of Pete Sanderson? ### Answer: SELECT birthplace FROM table_name_71 WHERE real_name = "pete sanderson"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the away team score when the home team is North Melbourne? ### Answer: SELECT away_team AS score FROM table_name_52 WHERE home_team = "north melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR) ### Question: I need the FCC info on the radio Frequency MHz 107.5? ### Answer: SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.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_35 (tyre VARCHAR, driver VARCHAR) ### Question: Which tyre is on the car driven by Pedro de la Rosa? ### Answer: SELECT tyre FROM table_name_35 WHERE driver = "pedro de la rosa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23982399_12 (special VARCHAR, challenger VARCHAR) ### Question: What is the special when the challenger is dominique bouchet? ### Answer: SELECT special FROM table_23982399_12 WHERE challenger = "Dominique Bouchet"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR, document_description VARCHAR) ### Question: List document IDs, document names, and document descriptions for all documents. ### Answer: SELECT document_id, document_name, document_description FROM Documents
Below is an context that describes a sql 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 (runs VARCHAR, opponent VARCHAR) ### Question: What were the runs for the opponent from the West Indies? ### Answer: SELECT runs FROM table_name_64 WHERE opponent = "west indies"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR) ### Question: Which record has a score of l 121–127? ### Answer: SELECT record FROM table_name_93 WHERE score = "l 121–127"
Below is an context that describes a sql 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 (binary_meaning VARCHAR, symbol VARCHAR) ### Question: What is the binary meaning for symbol p? ### Answer: SELECT binary_meaning FROM table_name_91 WHERE symbol = "p"
Below is an context that describes a sql 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 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR) ### Question: What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%? ### Answer: SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579
Below is an context that describes a sql 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 (translated_title VARCHAR, norwegian_title VARCHAR) ### Question: What is the Translated Title of Steinulven? ### Answer: SELECT translated_title FROM table_name_31 WHERE norwegian_title = "steinulven"
Below is an context that describes a sql 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 (instrumental VARCHAR, dative VARCHAR) ### Question: What is the instrumental for the dative shen? ### Answer: SELECT instrumental FROM table_name_15 WHERE dative = "shen"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: What was the result of the game against San Francisco 49ers before week 16? ### Answer: SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers"
Below is an context that describes a sql 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 (team VARCHAR, qual_1 VARCHAR) ### Question: What team has 59.372 for qual 1? ### Answer: SELECT team FROM table_name_37 WHERE qual_1 = "59.372"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR) ### Question: Show ids for all templates not used by any document. ### Answer: SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14594528_6 (name__alma_mater_ VARCHAR, wins VARCHAR) ### Question: What coach had 15 wins? ### Answer: SELECT name__alma_mater_ FROM table_14594528_6 WHERE wins = 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_94 (case_suffix__case_ VARCHAR, postposition VARCHAR) ### Question: What is Case Suffix (Case), when Postposition is "-mde (drops d)"? ### Answer: SELECT case_suffix__case_ FROM table_name_94 WHERE postposition = "-mde (drops d)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Flights (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR); CREATE TABLE Airports (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR) ### Question: Find the name of airports which do not have any flight in and out. ### Answer: SELECT AirportName FROM Airports WHERE NOT AirportCode IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR) ### Question: What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)? ### Answer: SELECT week_12_nov_16 FROM table_name_6 WHERE week_3_sept_14 = "south florida (3-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_5 (casualties INTEGER, number VARCHAR) ### Question: What is the average number of casualties for the convoy with a number of U-844? ### Answer: SELECT AVG(casualties) FROM table_name_5 WHERE number = "u-844"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR) ### Question: Which Drawn is the average one that has a Position smaller than 9, and Points smaller than 22, and a Lost smaller than 9, and an Against larger than 29? ### Answer: SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 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_name_63 (week INTEGER, attendance VARCHAR) ### Question: What was the latest week of a game that had an attendance of 63,001? ### Answer: SELECT MAX(week) FROM table_name_63 WHERE attendance = "63,001"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10006830_1 (description VARCHAR, aircraft VARCHAR) ### Question: What if the description of a ch-47d chinook? ### Answer: SELECT description FROM table_10006830_1 WHERE aircraft = "CH-47D Chinook"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (country VARCHAR, score VARCHAR) ### Question: What country has a 74-72-71-67=284 score? ### Answer: SELECT country FROM table_name_46 WHERE score = 74 - 72 - 71 - 67 = 284
Below is an context that describes a sql 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 (electorate VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) ### Question: What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"? ### Answer: SELECT electorate FROM table_name_39 WHERE party = "country" AND state = "wa" AND member = "john hallett"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27533947_1 (total_points INTEGER, best_winning_average VARCHAR) ### Question: If the best winning average is 7.3-71, what are the total points? ### Answer: SELECT MIN(total_points) FROM table_27533947_1 WHERE best_winning_average = "7.3-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_name_23 (third VARCHAR, second VARCHAR) ### Question: Who is third to Xu Xiaoming at second? ### Answer: SELECT third FROM table_name_23 WHERE second = "xu xiaoming"
Below is an context that describes a sql 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 (venue VARCHAR, guest VARCHAR) ### Question: What venue was the match against the guest team, FK ibar, played at? ### Answer: SELECT venue FROM table_name_65 WHERE guest = "fk ibar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR) ### Question: What years was the player Lonny Baxter in Toronto? ### Answer: SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Lonny Baxter"
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What shows for 2nd round when the team 1 was Rc Strasbourg (d1)? ### Answer: SELECT 2 AS nd_round FROM table_name_63 WHERE team_1 = "rc strasbourg (d1)"
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR) ### Question: Who was the player who placed t10? ### Answer: SELECT player FROM table_name_4 WHERE place = "t10"
Below is an context that describes a sql 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 (origin VARCHAR, final_destination VARCHAR) ### Question: What is the origin of the one whose final destination is Brandholmen? ### Answer: SELECT origin FROM table_name_15 WHERE final_destination = "brandholmen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (venue VARCHAR, date VARCHAR) ### Question: WHAT IS THE VENUE ON MARCH 28, 2008? ### Answer: SELECT venue FROM table_name_34 WHERE date = "march 28, 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_61 (losses INTEGER, team VARCHAR, draws VARCHAR) ### Question: What is the highest number of losses for Presidente Hayes, when the draws were more than 4? ### Answer: SELECT MAX(losses) FROM table_name_61 WHERE team = "presidente hayes" AND draws > 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_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR) ### Question: What were the results for round of 32 for Nicole Vaidišová? ### Answer: SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_170958_2 (population INTEGER, area_km_2 VARCHAR) ### Question: What is the maximum population of the land with an area of 276.84 km2? ### Answer: SELECT MAX(population) FROM table_170958_2 WHERE area_km_2 = "276.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 Courses (Id VARCHAR) ### Question: How many courses in total are listed? ### Answer: SELECT COUNT(*) FROM Courses
Below is an context that describes a sql 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 (games VARCHAR, rushes VARCHAR, yards VARCHAR) ### Question: How many games had 41 rushes and were than 197 yards? ### Answer: SELECT COUNT(games) FROM table_name_21 WHERE rushes = 41 AND yards < 197
Below is an context that describes a sql 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 (team VARCHAR, coach VARCHAR, captain VARCHAR) ### Question: Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? ### Answer: SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar"
Below is an context that describes a sql 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 (location_attendance VARCHAR, record VARCHAR) ### Question: What shows for the location and attendance when the record is 41–36? ### Answer: SELECT location_attendance FROM table_name_9 WHERE record = "41–36"