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_70 (country VARCHAR, to_par VARCHAR, player VARCHAR) ### Question: What country is player ed sneed, who has a to par of +3, from? ### Answer: SELECT country FROM table_name_70 WHERE to_par = "+3" AND player = "ed sneed"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_222448_1 (percent_defective VARCHAR, sigma__with_15σ_shift_ VARCHAR) ### Question: When sigma (with 1.5σ shift) is 2.5, what percent is defective? ### Answer: SELECT percent_defective FROM table_222448_1 WHERE sigma__with_15σ_shift_ = "2.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_17 (goals_against VARCHAR, position VARCHAR, played VARCHAR) ### Question: How many goals against were scored when the position was higher than 1 and the played was higher than 10? ### Answer: SELECT COUNT(goals_against) FROM table_name_17 WHERE position > 1 AND 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_14389782_2 (losses VARCHAR, jersey_no VARCHAR, games_started VARCHAR) ### Question: How many lost games for jersey number 2 and games started is less than 7.0? ### Answer: SELECT losses FROM table_14389782_2 WHERE jersey_no = "2" AND games_started < 7.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_95 (away_captain VARCHAR, date VARCHAR) ### Question: Who is the Away captain that played on 11,12,13 Aug 1902? ### Answer: SELECT away_captain FROM table_name_95 WHERE date = "11,12,13 aug 1902"
Below is an context that describes a sql 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 (product VARCHAR) ### Question: What is the amount of oil terminal in 2004? ### Answer: SELECT 2004 FROM table_name_51 WHERE product = "oil terminal"
Below is an context that describes a sql 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 (duration VARCHAR, actor VARCHAR) ### Question: What is the duration for mike walling as the actor? ### Answer: SELECT duration FROM table_name_47 WHERE actor = "mike walling"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR) ### Question: Find the name of persons who are friends with Bob. ### Answer: SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Bob'
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: When the Home Team was Sydney, what did the Away team score? ### Answer: SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28138035_26 (year_location VARCHAR, womens_singles VARCHAR) ### Question: What year and where was the tournament when fan ying won the womens singles? ### Answer: SELECT year_location FROM table_28138035_26 WHERE womens_singles = "Fan Ying"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR) ### Question: How many orders when the species is Pavo Cristatus? ### Answer: SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus"
Below is an context that describes a sql 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 (jury VARCHAR, artist VARCHAR, draw VARCHAR) ### Question: How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5? ### Answer: SELECT COUNT(jury) FROM table_name_66 WHERE artist = "chalice & maagiline kuues" AND draw < 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_82 (country VARCHAR, play VARCHAR) ### Question: Which Country is the Play Electra and Orestes, The Trial from? ### Answer: SELECT country FROM table_name_82 WHERE play = "electra and orestes, the trial"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27882867_9 (high_points VARCHAR, high_assists VARCHAR) ### Question: How many people had the high points when a. webb (7) had the high assists? ### Answer: SELECT COUNT(high_points) FROM table_27882867_9 WHERE high_assists = "A. Webb (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_62 (number VARCHAR, builder VARCHAR, works_number VARCHAR) ### Question: What is the number with the builder hunslet and a works number greater than 822? ### Answer: SELECT COUNT(number) FROM table_name_62 WHERE builder = "hunslet" AND works_number > 822
Below is an context that describes a sql 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 (currency VARCHAR, code VARCHAR) ### Question: What type of currency has a code of SEK? ### Answer: SELECT currency FROM table_name_34 WHERE code = "sek"
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, games VARCHAR) ### Question: What is the highest Rank, when Name is Travis Watson, and when Games is less than 14? ### Answer: SELECT MAX(rank) FROM table_name_52 WHERE name = "travis watson" AND games < 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_34 (team_2 VARCHAR) ### Question: What was the first leg score for the match that had AS Police as team 2? ### Answer: SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "as police"
Below is an context that describes a sql 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 (college VARCHAR, round VARCHAR, player VARCHAR) ### Question: Which college had Tony Leiker in round 7? ### Answer: SELECT college FROM table_name_19 WHERE round = "round 7" AND player = "tony leiker"
Below is an context that describes a sql 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 (tournament VARCHAR, winning_score VARCHAR) ### Question: What Tournament had a Winning score of –6 (73-68-72-69=282)? ### Answer: SELECT tournament FROM table_name_49 WHERE winning_score = –6(73 - 68 - 72 - 69 = 282)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR) ### Question: Which song was picked that was originally performed by Marisa Monte? ### Answer: SELECT song_choice FROM table_27616663_1 WHERE original_artist = "Marisa Monte"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165? ### Answer: SELECT MIN(2009) FROM table_name_18 WHERE 2010 = 141 AND 1985 > 165
Below is an context that describes a sql 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 (vii_season VARCHAR, episode VARCHAR) ### Question: What is VII Season, when Episode is 11? ### Answer: SELECT vii_season FROM table_name_29 WHERE episode = "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_20042805_2 (african_spoonbill VARCHAR, ostrich VARCHAR) ### Question: What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher? ### Answer: SELECT african_spoonbill FROM table_20042805_2 WHERE ostrich = "Brown-hooded Kingfisher"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15838081_3 (season__number VARCHAR, writer_s_ VARCHAR) ### Question: Name the number of season number for jeff truman ### Answer: SELECT COUNT(season__number) FROM table_15838081_3 WHERE writer_s_ = "Jeff Truman"
Below is an context that describes a sql 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 (sales VARCHAR, peak VARCHAR, artist VARCHAR) ### Question: How many sales took place with a peak of 1 for Boris? ### Answer: SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris"
Below is an context that describes a sql 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 (draw INTEGER, lost VARCHAR, played VARCHAR) ### Question: How many total draws was played less than 18 with 11 losts? ### Answer: SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND 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_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) ### Question: How many dams are there in the Nome (CA) area? ### Answer: SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (october VARCHAR, opponent VARCHAR) ### Question: What date in October did the Flyers play against the Toronto Maple Leafs? ### Answer: SELECT october FROM table_name_11 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_name_96 (points INTEGER, year VARCHAR) ### Question: What are the lowest points in 2004? ### Answer: SELECT MIN(points) FROM table_name_96 WHERE year = 2004
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (nationality VARCHAR, elevator VARCHAR) ### Question: When the elevator was Innocent IV what was the nationality? ### Answer: SELECT nationality FROM table_name_98 WHERE elevator = "innocent iv"
Below is an context that describes a sql 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 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR) ### Question: Which date did the oakland raiders play as the opponent when the Bills first downs were under 28? ### Answer: SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
Below is an context that describes 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 (damage_millions_USD INTEGER, max_speed INTEGER) ### Question: Show the average and maximum damage for all storms with max speed higher than 1000. ### Answer: SELECT AVG(damage_millions_USD), MAX(damage_millions_USD) FROM storm WHERE max_speed > 1000
Below is an context that describes a sql 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 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? ### Answer: SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE user_profiles (followers INTEGER, UID VARCHAR); CREATE TABLE tweets (followers INTEGER, UID VARCHAR) ### Question: Find the average number of followers for the users who do not have any tweet. ### Answer: SELECT AVG(followers) FROM user_profiles WHERE NOT UID IN (SELECT UID FROM tweets)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21716139_1 (destination VARCHAR, frequency VARCHAR, train_name VARCHAR) ### Question: How many destinations have a weekly frequency and are named AC Express? ### Answer: SELECT COUNT(destination) FROM table_21716139_1 WHERE frequency = "Weekly" AND train_name = "AC Express"
Below is an context that describes a sql 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 (runner_up VARCHAR, last_16 VARCHAR) ### Question: Which Runner-Up has a Last 16 of £300? ### Answer: SELECT runner_up FROM table_name_52 WHERE last_16 = "£300"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25271777_1 (aggravated_assault INTEGER, robbery VARCHAR) ### Question: What was the largest number of aggravated assaults when there were 3811 robberies? ### Answer: SELECT MAX(aggravated_assault) FROM table_25271777_1 WHERE robbery = 3811
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR) ### Question: What was the loss when the record was 34-56? ### Answer: SELECT loss FROM table_name_20 WHERE record = "34-56"
Below is an context that describes a sql 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 (position VARCHAR, years_for_jazz VARCHAR) ### Question: What position did someone play from 1982-84? ### Answer: SELECT position FROM table_name_78 WHERE years_for_jazz = "1982-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 user_profiles (name VARCHAR, followers VARCHAR) ### Question: List the name and number of followers for each user, and sort the results by the number of followers in descending order. ### Answer: SELECT name, followers FROM user_profiles ORDER BY followers DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR) ### Question: How many members does the club "Tennis Club" has? ### Answer: SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club"
Below is an context that describes a sql 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 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR) ### Question: When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have? ### Answer: SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "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_18317531_1 (player VARCHAR) ### Question: Name the 3 dart average for michael van gerwen ### Answer: SELECT 3 AS _dart_average FROM table_18317531_1 WHERE player = "Michael van Gerwen"
Below is an context that describes a sql 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 (virtue VARCHAR, acedia VARCHAR, latin VARCHAR) ### Question: Which virtue is acedia(Latin)? ### Answer: SELECT virtue FROM table_name_13 WHERE (latin) = acedia
Below is an context that describes a sql 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 (bronze INTEGER, gold INTEGER) ### Question: What is the bronze number for the nation with less than 0 gold? ### Answer: SELECT MIN(bronze) FROM table_name_53 WHERE gold < 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 entrepreneur (Company VARCHAR, Money_Requested VARCHAR) ### Question: List the companies of entrepreneurs in descending order of money requested. ### Answer: SELECT Company FROM entrepreneur ORDER BY Money_Requested DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26615633_3 (media_debut VARCHAR, species VARCHAR) ### Question: what is the media debut for the asian black bear? ### Answer: SELECT media_debut FROM table_26615633_3 WHERE species = "Asian black bear"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (event VARCHAR, method VARCHAR) ### Question: Which event had a decision method? ### Answer: SELECT event FROM table_name_12 WHERE method = "decision"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, opponent VARCHAR) ### Question: Week larger than 5, and an opponent of at new york giants had what record? ### Answer: SELECT record FROM table_name_69 WHERE week > 5 AND opponent = "at new york giants"
Below is an context that describes a sql 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 (tournament VARCHAR, score VARCHAR) ### Question: Which Tournament has a Score of 6(4)–7 2–6? ### Answer: SELECT tournament FROM table_name_73 WHERE score = "6(4)–7 2–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_24732149_2 (circuit VARCHAR, round VARCHAR) ### Question: What is the circuit of round 5? ### Answer: SELECT circuit FROM table_24732149_2 WHERE round = 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_95 (release_date VARCHAR, title VARCHAR) ### Question: What is the release date of I Wanna Play House? ### Answer: SELECT release_date FROM table_name_95 WHERE title = "i wanna play house"
Below is an context that describes 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 (major VARCHAR, age INTEGER) ### Question: Show the average, minimum, and maximum age for different majors. ### Answer: SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR) ### Question: What is the attendance in week 4? ### Answer: SELECT AVG(attendance) FROM table_name_57 WHERE week = 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_24673888_1 (callsign VARCHAR, station_type VARCHAR, ch__number VARCHAR) ### Question: What is the callsign that has a station type of relay and a channel number of TV-2? ### Answer: SELECT callsign FROM table_24673888_1 WHERE station_type = "Relay" AND ch__number = "TV-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_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR) ### Question: What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001? ### Answer: SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = "march 6, 2001"
Below is an context that describes a sql 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 (rider VARCHAR, speed VARCHAR) ### Question: Who was the rider with 120.953 mph speed? ### Answer: SELECT rider FROM table_name_79 WHERE speed = "120.953 mph"
Below is an context that describes a 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_13 (no VARCHAR, current_club VARCHAR) ### Question: Name the total number of grupo capitol valladolid ### Answer: SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid"
Below is an context that describes a sql 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 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR) ### Question: Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front ### Answer: SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
Below is an context that describes a sql 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 (finish VARCHAR, date VARCHAR) ### Question: What is the Finish on June 1, 2008? ### Answer: SELECT finish FROM table_name_61 WHERE date = "june 1, 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_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR) ### Question: Which irrigation district has 4733 users? ### Answer: SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR) ### Question: What was the turnover when the profit before tax was 29.47? ### Answer: SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (lost INTEGER, goals_scored VARCHAR, place VARCHAR) ### Question: What the lost in place less than 3 and having more than 63 goals scored? ### Answer: SELECT SUM(lost) FROM table_name_87 WHERE goals_scored > 63 AND place < 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_1858574_3 (position VARCHAR, sail_number VARCHAR) ### Question: Qhat was the position of sail 6606? ### Answer: SELECT position FROM table_1858574_3 WHERE sail_number = "6606"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 1995 when the 1991 is Grand Slams? ### Answer: SELECT 1995 FROM table_name_77 WHERE 1991 = "grand slams"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) ### Question: What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor? ### Answer: SELECT years FROM table_name_45 WHERE soap_opera = "un posto al sole" AND actor = "riccardo polizzy carbonelli"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11970261_2 (evening_gown VARCHAR, swimsuit VARCHAR) ### Question: what's the evening gown with swimsuit being 9.134 ### Answer: SELECT evening_gown FROM table_11970261_2 WHERE swimsuit = "9.134"
Below is an context that describes a sql 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 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR) ### Question: What is the voltage of the Pentiumiii866 microprocessor with a socket 370? ### Answer: SELECT voltage FROM table_name_8 WHERE socket = "socket 370" AND model_number = "pentiumiii866"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19630743_2 (to_par VARCHAR, winning_score VARCHAR) ### Question: How many to par has the winning score of 69-66-68=203. ### Answer: SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 68 = 203
Below is an context that describes a sql 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 (flight VARCHAR, aircraft VARCHAR) ### Question: Which flight had an aircraft of vickers viscount type 794? ### Answer: SELECT flight FROM table_name_26 WHERE aircraft = "vickers viscount type 794"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12976038_1 (episode__number VARCHAR, viewers__in_millions_ VARCHAR) ### Question: What number episode had 5.74 million viewers? ### Answer: SELECT episode__number FROM table_12976038_1 WHERE viewers__in_millions_ = "5.74"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (game VARCHAR, result VARCHAR) ### Question: What game had the result of 112-100? ### Answer: SELECT game FROM table_name_98 WHERE result = "112-100"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR) ### Question: Name the scores for chris ramsey and carol vorderman ### Answer: SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: What was the attendance for the game on August 16? ### Answer: SELECT SUM(attendance) FROM table_name_74 WHERE date = "august 16"
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR) ### Question: What was the attendance when Geelong played as the away team? ### Answer: SELECT COUNT(crowd) FROM table_name_70 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 list (classroom VARCHAR, grade VARCHAR) ### Question: For each classroom, report the classroom number and the number of grades using it. ### Answer: SELECT classroom, COUNT(DISTINCT grade) FROM list GROUP BY classroom
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (mountain_pass VARCHAR, elevation VARCHAR) ### Question: What Mountain Pass has an Elevation of 10,001 feet 3048 m? ### Answer: SELECT mountain_pass FROM table_name_44 WHERE elevation = "10,001 feet 3048 m"
Below is an context that describes a sql 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 (winner VARCHAR, points_classification VARCHAR) ### Question: Who was the winner in the stage that Damiano Cunego led the points classification? ### Answer: SELECT winner FROM table_name_48 WHERE points_classification = "damiano cunego"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR) ### Question: During what week was the game attended by 20114 people? ### Answer: SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114
Below is an context that describes a 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_4 (original_air_date VARCHAR, no_in_season VARCHAR) ### Question: Name the number of airdates for 14 ### Answer: SELECT COUNT(original_air_date) FROM table_2409041_4 WHERE no_in_season = 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_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR) ### Question: The player who plays left wing is from what college/junior/club team? ### Answer: SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Left Wing"
Below is an context that describes a sql 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 (game INTEGER, attendance VARCHAR) ### Question: What is the earliest game that had 42,707 attending? ### Answer: SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707
Below is an context that describes a sql 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 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR) ### Question: what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1? ### Answer: SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" AND earnings___$__ > 0 AND cuts_made > 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_86 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team at MCG? ### Answer: SELECT home_team FROM table_name_86 WHERE venue = "mcg"
Below is an context that describes a sql 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 (winner VARCHAR, mountains_classification VARCHAR, combativity_award VARCHAR) ### Question: Name the winner with mountains classification of franco pellizotti and combativity award of martijn maaskant ### Answer: SELECT winner FROM table_name_5 WHERE mountains_classification = "franco pellizotti" AND combativity_award = "martijn maaskant"
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR) ### Question: What is the Surface of the match played on October 5, 1987? ### Answer: SELECT surface FROM table_name_77 WHERE date = "october 5, 1987"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (constructor VARCHAR, grid VARCHAR, laps VARCHAR, time_retired VARCHAR) ### Question: What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20? ### Answer: SELECT constructor FROM table_name_28 WHERE laps > 54 AND time_retired = "+1 lap" AND grid = 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_5 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR) ### Question: What is the maximum download speed for the Internet premium 3G plan? ### Answer: SELECT maximum_download_speed__kbps FROM table_name_5 WHERE technology = "3g" AND plan_name = "internet premium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11585313_1 (name VARCHAR, number_of_goals VARCHAR) ### Question: What is the name of person that scored 10 goals? ### Answer: SELECT name FROM table_11585313_1 WHERE number_of_goals = 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_51 (player VARCHAR, place VARCHAR, score VARCHAR) ### Question: who is the player when the place is t5 and the score is 69-66-71=206? ### Answer: SELECT player FROM table_name_51 WHERE place = "t5" AND score = 69 - 66 - 71 = 206
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR) ### Question: how many times was the episode directed by maury geraghty originally aired? ### Answer: SELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = "Maury Geraghty"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (monday VARCHAR, sunday VARCHAR, series VARCHAR) ### Question: Who was the presenter on Monday of "Big Brother 13" in which Alice Levine Jamie East presented on Sunday? ### Answer: SELECT monday FROM table_name_45 WHERE sunday = "alice levine jamie east" AND series = "big brother 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_45 (record VARCHAR, visitor VARCHAR) ### Question: What is the record when the visiting team was the montreal canadiens? ### Answer: SELECT record FROM table_name_45 WHERE visitor = "montreal canadiens"
Below is an context that describes a sql 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 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR) ### Question: What's the smallest amount of earnings when there are more than 18 wins and the rank is 2? ### Answer: SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 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_28 (station VARCHAR, city_of_license VARCHAR) ### Question: Which Station has hagerstown? ### Answer: SELECT station FROM table_name_28 WHERE city_of_license = "hagerstown"
Below is an context that describes a sql 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 (runner_up VARCHAR, name VARCHAR, year VARCHAR) ### Question: Who was runner-up in the 2006 Pacific Life Open? ### Answer: SELECT runner_up FROM table_name_62 WHERE name = "pacific life open" AND year = "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_99 (nominated_by_the_taoiseach INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR, administrative_panel VARCHAR) ### Question: What is the average nominated of the composition nominated by Taioseach with an Industrial and Commercial panel less than 9, an administrative panel greater than 0, a cultural and educational panel greater than 2, and a total less than 29? ### Answer: SELECT AVG(nominated_by_the_taoiseach) FROM table_name_99 WHERE industrial_and_commercial_panel < 9 AND administrative_panel > 0 AND cultural_and_educational_panel > 2 AND total < 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_30 (country VARCHAR, player VARCHAR) ### Question: Which country is bob tway from? ### Answer: SELECT country FROM table_name_30 WHERE player = "bob tway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR) ### Question: How many years was the chassis a lotus-ford 38/7? ### Answer: SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/7"