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_24172157_3 (incoming_manager VARCHAR, outgoing_manager VARCHAR, team VARCHAR) ### Question: How many incoming managers were there after Roy Hodgson left the position for the Fulham team? ### Answer: SELECT COUNT(incoming_manager) FROM table_24172157_3 WHERE outgoing_manager = "Roy Hodgson" AND team = "Fulham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (group_vI VARCHAR, group_iII VARCHAR, valencia VARCHAR, group_i VARCHAR, group_iV VARCHAR, sevilla VARCHAR) ### Question: Who won Group VI, when Group 1 was won by deportivo, group IV by sevilla, and group III by Valencia? ### Answer: SELECT group_vI FROM table_name_75 WHERE group_i = "deportivo" AND group_iV = sevilla AND group_iII = valencia
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10848177_1 (song VARCHAR, length VARCHAR) ### Question: What song has a length of 3:05? ### Answer: SELECT song FROM table_10848177_1 WHERE length = "3:05"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21132404_1 (seats_2006 VARCHAR, _percentage_1997 VARCHAR) ### Question: How many seats in 2006 has a % 1997 rating of 38.9? ### Answer: SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.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_10 (tournament VARCHAR) ### Question: How many sets were in the 2011 Australian Open Tournament? ### Answer: SELECT 2011 FROM table_name_10 WHERE tournament = "australian 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_name_53 (date VARCHAR, result VARCHAR) ### Question: What is the date of the game with a result of W 13-10? ### Answer: SELECT date FROM table_name_53 WHERE result = "w 13-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_255188_1 (institution VARCHAR, joined VARCHAR) ### Question: What institution joined in 1988? ### Answer: SELECT institution FROM table_255188_1 WHERE joined = 1988
Below is an context that describes a sql 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 (lost INTEGER, drawn VARCHAR, games VARCHAR) ### Question: Which Lost has a Drawn larger than 1, and Games smaller than 7? ### Answer: SELECT MIN(lost) FROM table_name_8 WHERE drawn > 1 AND games < 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_94 (date VARCHAR, result VARCHAR) ### Question: Tell me the date with result of l 13–9 ### Answer: SELECT date FROM table_name_94 WHERE result = "l 13–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_95 (location VARCHAR, name_in_malay VARCHAR) ### Question: What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian? ### Answer: SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR) ### Question: Which game has houston as the road team, and june 15 as the date? ### Answer: SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 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_75 (bleeding_time VARCHAR, condition VARCHAR) ### Question: Which Bleeding has a Condition of congenital afibrinogenemia? ### Answer: SELECT bleeding_time FROM table_name_75 WHERE condition = "congenital afibrinogenemia"
Below is an context that describes a sql 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, date VARCHAR) ### Question: Where was the game played on 20 may? ### Answer: SELECT venue FROM table_name_19 WHERE date = "20 may"
Below is an context that describes a sql 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 (overall INTEGER, downhill VARCHAR, season VARCHAR) ### Question: What is the lowest overall score prior to 1992 with a downhill score of 1? ### Answer: SELECT MIN(overall) FROM table_name_57 WHERE downhill = "1" AND season < 1992
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR, player VARCHAR) ### Question: Can you tell me the Place that has the Score of 68, and the Player of christy o'connor jnr? ### Answer: SELECT place FROM table_name_70 WHERE score = 68 AND player = "christy o'connor jnr"
Below is an context that describes a sql 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 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) ### Question: What chassis has smaller than 9 points by Equipe Rosier? ### Answer: SELECT chassis FROM table_name_92 WHERE points < 9 AND entrant = "equipe rosier"
Below is an context that describes a sql 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 (weekday VARCHAR, away VARCHAR) ### Question: On what weekday was the match that had Perth Glory as the away team? ### Answer: SELECT weekday FROM table_name_86 WHERE away = "perth glory"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR) ### Question: What is Power (kW), when Coverage (Transmitter Site) is "Lucena"? ### Answer: SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "lucena"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team that Bradford City is playing against? ### Answer: SELECT home_team FROM table_name_72 WHERE away_team = "bradford 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_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR) ### Question: What is the listed year that has a rank smaller than 8 and moving from Olympiacos? ### Answer: SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE journalist (Name VARCHAR, Years_working VARCHAR) ### Question: List the names of journalists in ascending order of years working. ### Answer: SELECT Name FROM journalist ORDER BY Years_working
Below is an context that describes a sql 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 (catalog VARCHAR, country VARCHAR) ### Question: What catalog has the United Kingdom as the country? ### Answer: SELECT catalog FROM table_name_9 WHERE country = "united kingdom"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28132970_5 (length VARCHAR, propulsion VARCHAR) ### Question: What is the length when the propulsion is controllable pitch propeller? ### Answer: SELECT length FROM table_28132970_5 WHERE propulsion = "Controllable pitch propeller"
Below is an context that describes a sql 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 (notes VARCHAR, year VARCHAR) ### Question: What are the notes in 1981? ### Answer: SELECT notes FROM table_name_99 WHERE year = "1981"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR) ### Question: what would be final four mvp maximum when first team is 1 ### Answer: SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 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_25716399_1 (no_in_season INTEGER, written_by VARCHAR) ### Question: what season was written by jonathan collier? ### Answer: SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
Below is an context that describes a sql 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 (attendance VARCHAR, result VARCHAR) ### Question: What is the Attendance of the game with a Result of L 20-14? ### Answer: SELECT attendance FROM table_name_46 WHERE result = "l 20-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_21 (at_austin VARCHAR, texas_vs VARCHAR) ### Question: What is the Austin record of Kansas State? ### Answer: SELECT at_austin FROM table_name_21 WHERE texas_vs = "kansas 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_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) ### Question: I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor ### Answer: SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: What team is from Lake Oval? ### Answer: SELECT home_team FROM table_name_93 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_name_47 (tournament VARCHAR) ### Question: What tournament has a 2003 of a? ### Answer: SELECT tournament FROM table_name_47 WHERE 2003 = "a"
Below is an context that describes a sql 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 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR) ### Question: What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1? ### Answer: SELECT club FROM table_name_8 WHERE nation = "mexico" AND year = 2010 AND competition = "preseason" AND result = "w 0–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_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR) ### Question: What wiaa classifications does vancouver itech prepratory have? ### Answer: SELECT wiaa_classification FROM table_22058547_1 WHERE high_school = "Vancouver iTech Prepratory"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2409041_2 (directed_by VARCHAR, no_in_series VARCHAR) ### Question: When 17 is the number in series who is the director? ### Answer: SELECT directed_by FROM table_2409041_2 WHERE no_in_series = 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR) ### Question: What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February? ### Answer: SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003
Below is an context that describes a sql 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 (result VARCHAR, opponent VARCHAR) ### Question: What is the Result of the game against the Indianapolis Colts? ### Answer: SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts"
Below is an context that describes a sql 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 (championship_game VARCHAR, conference VARCHAR) ### Question: What was the championship game for the Southwest conference? ### Answer: SELECT championship_game FROM table_name_63 WHERE conference = "southwest"
Below is an context that describes a sql 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 (away_team VARCHAR) ### Question: What was the away team's score against Hawthorn? ### Answer: SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (score VARCHAR, record VARCHAR) ### Question: What was the score of the game that led to an 80-63 record? ### Answer: SELECT score FROM table_name_82 WHERE record = "80-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_50 (arizona VARCHAR, utah VARCHAR) ### Question: What's the value for arizona when utah is eisenhower? ### Answer: SELECT arizona FROM table_name_50 WHERE utah = "eisenhower"
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR) ### Question: On the date of April 22, which city was a visitor? ### Answer: SELECT visitor FROM table_name_5 WHERE date = "april 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_31 (host_team VARCHAR, date VARCHAR) ### Question: Who was the host team on October 4? ### Answer: SELECT host_team FROM table_name_31 WHERE date = "october 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_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR) ### Question: What NFL team was the player with pick number 28 drafted to? ### Answer: SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR) ### Question: What title has lt as the series, ben hardaway as the director, with 6612 as the production num.? ### Answer: SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612"
Below is an context that describes a sql 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 (against INTEGER, played INTEGER) ### Question: What is the lowest Against when the played is more than 10? ### Answer: SELECT MIN(against) FROM table_name_4 WHERE played > 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_62 (points_for VARCHAR, points_against VARCHAR) ### Question: What is the value of the item "Points" when the value of the item "Points against" is 272? ### Answer: SELECT points_for FROM table_name_62 WHERE points_against = "272"
Below is an context that describes a sql 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 (team VARCHAR, lost VARCHAR) ### Question: Which team has 10 losses? ### Answer: SELECT team FROM table_name_33 WHERE lost = 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_65 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, model VARCHAR) ### Question: What is the engine configuration & notes 0-100km/h with a model with 2.3 t5? ### Answer: SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_65 WHERE model = "2.3 t5"
Below is an context that describes a sql 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 (lead VARCHAR, third VARCHAR) ### Question: WHAT IS THE LEAD WITH THIRD AS JEANNA SCHRAEDER? ### Answer: SELECT lead FROM table_name_83 WHERE third = "jeanna schraeder"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR) ### Question: What is the date of the 279 wheels? ### Answer: SELECT date FROM table_15412381_5 WHERE wheels = 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_2985664_8 (runs INTEGER, average VARCHAR) ### Question: What is the lowest value for runs when the average is 42.36? ### Answer: SELECT MIN(runs) FROM table_2985664_8 WHERE average = "42.36"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER) ### Question: Name the tries for when L is less than 2.0 ### Answer: SELECT tries_for FROM table_28204447_3 WHERE l < 2.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_72 (water VARCHAR, metal VARCHAR) ### Question: Which Water has a Metal of contracting? ### Answer: SELECT water FROM table_name_72 WHERE metal = "contracting"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) ### Question: When the away team was Geelong, what was the home team score? ### Answer: SELECT home_team AS score FROM table_name_97 WHERE away_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_2 (binibining_pilipinas_international VARCHAR, year VARCHAR) ### Question: What Binibining Pilipinas-International has a Year of 1975? ### Answer: SELECT binibining_pilipinas_international FROM table_name_2 WHERE year = 1975
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR) ### Question: Find the names of all procedures which cost more than 1000 but which physician John Wen was not trained in? ### Answer: SELECT name FROM procedures WHERE cost > 1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR) ### Question: What was the outcome when the game was played on clay and on 2 May 2009? ### Answer: SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 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_43 (week VARCHAR, attendance VARCHAR) ### Question: which week had an attendance of 53,677? ### Answer: SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) ### Question: How many districts have an area of 17.72 KM2? ### Answer: SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.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_11734041_11 (player VARCHAR, no_s_ VARCHAR) ### Question: Who is the player who's number is 3? ### Answer: SELECT player FROM table_11734041_11 WHERE no_s_ = "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_93 (english_translation VARCHAR, simplified_chinese VARCHAR) ### Question: What is the English translation of 山鬼? ### Answer: SELECT english_translation FROM table_name_93 WHERE simplified_chinese = "山鬼"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR) ### Question: How many top 5s when he was on team #28/#49 jay robinson racing? ### Answer: SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing"
Below is an context that describes a sql 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 (pada_4 VARCHAR, pada_1 VARCHAR) ### Question: What kind of Pada 4 has a Pada 1 of खी ju/khi? ### Answer: SELECT pada_4 FROM table_name_90 WHERE pada_1 = "खी ju/khi"
Below is an context that describes a sql 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 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR) ### Question: What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough? ### Answer: SELECT pregame_host FROM table_name_67 WHERE play_by_play = "jp dellacamera" AND year < 2009 AND color_commentator_s_ = "ty keough"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13397394_1 (building VARCHAR, storeys VARCHAR) ### Question: what are all the building with 12 storeys ### Answer: SELECT building FROM table_13397394_1 WHERE storeys = 12
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR) ### Question: Name the writers for swedish sailor ### Answer: SELECT writer_s_ FROM table_19852975_3 WHERE arties_disguises = "Swedish sailor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Person (age INTEGER, job VARCHAR); CREATE TABLE person (age INTEGER, job VARCHAR) ### Question: Find the number of people whose age is greater than all engineers. ### Answer: SELECT COUNT(*) FROM Person WHERE age > (SELECT MAX(age) FROM person WHERE job = 'engineer')
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, matches VARCHAR) ### Question: What was Jimmy Jones' rank when the matches were smaller than 285? ### Answer: SELECT MAX(rank) FROM table_name_4 WHERE name = "jimmy jones" AND matches < 285
Below is an context that describes a sql 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 (category VARCHAR, award VARCHAR) ### Question: Which category does drama league award belong to? ### Answer: SELECT category FROM table_name_91 WHERE award = "drama league award"
Below is an context that describes a sql 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 (rank VARCHAR, total VARCHAR, silver VARCHAR) ### Question: What is the rank of the country with total more than 3 and more than 6 silver? ### Answer: SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 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_12962773_12 (current_club VARCHAR, year_born VARCHAR) ### Question: What current club does the player born in 1984 play for? ### Answer: SELECT current_club FROM table_12962773_12 WHERE year_born = 1984
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR) ### Question: Who is the co-presenter of the series Seven (2007)? ### Answer: SELECT co_presenter FROM table_14345690_15 WHERE series = "Seven (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_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) ### Question: How many viewers watched the episode written by shana goldberg-meehan & greg malins? ### Answer: SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins"
Below is an context that describes a sql 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 (grid INTEGER, laps INTEGER) ### Question: What is the average grid with more than 23 laps? ### Answer: SELECT AVG(grid) FROM table_name_78 WHERE laps > 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_name_14 (Id VARCHAR) ### Question: Tell me the 2007 for 2010 olympic games ### Answer: SELECT 2007 FROM table_name_14 WHERE 2010 = "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_71 (total INTEGER, nation VARCHAR, e_score VARCHAR) ### Question: What is the average total score of Belarus, which had an E score less than 8.2? ### Answer: SELECT AVG(total) FROM table_name_71 WHERE nation = "belarus" AND e_score < 8.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_13337302_16 (dismissals VARCHAR, player VARCHAR) ### Question: How many dismissals did the player Peter McGlashan have? ### Answer: SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan"
Below is an context that describes a sql 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 (number INTEGER, film VARCHAR, pieces VARCHAR) ### Question: Raiders of the Lost Ark had pieces of 277 for what lowest number? ### Answer: SELECT MIN(number) FROM table_name_8 WHERE film = "raiders of the lost ark" AND pieces = 277
Below is an context that describes a sql 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 (teams VARCHAR, streak_end VARCHAR) ### Question: What teams have 1/2/2011 as the streak end? ### Answer: SELECT teams FROM table_name_35 WHERE streak_end = "1/2/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_49 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: What is the Date of the match with Opponent in the final of Filip Polášek? ### Answer: SELECT date FROM table_name_49 WHERE opponent_in_the_final = "filip polášek"
Below is an context that describes a sql 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 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR) ### Question: What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km? ### Answer: SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km"
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR) ### Question: What is the attendance number for the record of 17-22? ### Answer: SELECT attendance FROM table_name_52 WHERE record = "17-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_31 (tie_no VARCHAR, home_team VARCHAR) ### Question: What is the Tie number for the match where Dartford was the hone team? ### Answer: SELECT tie_no FROM table_name_31 WHERE home_team = "dartford"
Below is an context that describes a sql 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 (date VARCHAR, writer_s_ VARCHAR) ### Question: On what date was Edward Jeffreys the writer? ### Answer: SELECT date FROM table_name_43 WHERE writer_s_ = "edward jeffreys"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR) ### Question: How large, in square kilometers, is Sackville? ### Answer: SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"
Below is an context that describes a sql 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 (location VARCHAR, date VARCHAR) ### Question: Date of sun. oct. 1 has what location? ### Answer: SELECT location FROM table_name_29 WHERE date = "sun. oct. 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_84 (player VARCHAR, long VARCHAR, yards VARCHAR) ### Question: Who has greater than 8 Long and a 73 Yards? ### Answer: SELECT player FROM table_name_84 WHERE long > 8 AND yards = "73"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (city VARCHAR, title VARCHAR) ### Question: In which city was the Night of the Living Duck released? ### Answer: SELECT city FROM table_name_75 WHERE title = "the night of the living duck"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (date VARCHAR, brazil_scorers VARCHAR) ### Question: On what Date was Palhinha Brazil Scorers? ### Answer: SELECT date FROM table_name_97 WHERE brazil_scorers = "palhinha"
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR) ### Question: Which Opponent has a Game of 31? ### Answer: SELECT opponent FROM table_name_56 WHERE game = 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_26 (school_club_team VARCHAR, pick INTEGER) ### Question: What is the school/club team of the player with a pick larger than 83? ### Answer: SELECT school_club_team FROM table_name_26 WHERE pick > 83
Below is an context that describes a sql 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 (total VARCHAR, year_won VARCHAR, to_par VARCHAR) ### Question: What is the total of the player who won before 1991 and has a to par less than 14? ### Answer: SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 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_37 (year INTEGER, venue VARCHAR) ### Question: What was the most recent year the venue was Barcelona, Spain? ### Answer: SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain"
Below is an context that describes a sql 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 (survey VARCHAR, title VARCHAR) ### Question: What survey has the Ehsas Jdeed title? ### Answer: SELECT survey FROM table_name_57 WHERE title = "ehsas jdeed"
Below is an context that describes a sql 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 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR) ### Question: What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo? ### Answer: SELECT cardinalatial_title FROM table_name_40 WHERE elevated = "december 18, 1182" AND place_of_birth = "lucca" AND elector = "pandolfo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR) ### Question: List Aerosmith's albums. ### Answer: SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith"
Below is an context that describes a sql 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 (first_round VARCHAR, members VARCHAR) ### Question: What was the first round time for member Kenny Smith? ### Answer: SELECT first_round FROM table_name_14 WHERE members = "kenny smith"
Below is an context that describes a sql 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 (total VARCHAR, score VARCHAR, set_1 VARCHAR) ### Question: Which Total has a Score of 1–3, and a Set 1 of 29–31? ### Answer: SELECT total FROM table_name_9 WHERE score = "1–3" AND set_1 = "29–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_33 (rank VARCHAR, year VARCHAR) ### Question: What is the rank for 1961? ### Answer: SELECT rank FROM table_name_33 WHERE year = "1961"
Below is an context that describes a sql 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 (population__2008_ INTEGER, capital VARCHAR, created VARCHAR) ### Question: What is the population (2008) when the capital was Sanniquellie, created later than 1964? ### Answer: SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964