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_52 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game when the record was 32–34? ### Answer: SELECT loss FROM table_name_52 WHERE record = "32–34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR) ### Question: What was the crowd size when st kilda played home? ### Answer: SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "st kilda"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, partner VARCHAR) ### Question: Which Opponents in the final has a Partner of olga lugina? ### Answer: SELECT opponents_in_the_final FROM table_name_79 WHERE partner = "olga lugina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (draw VARCHAR, lost VARCHAR, match VARCHAR) ### Question: How many draws correspond to more than 11 losses in a match less than 14? ### Answer: SELECT COUNT(draw) FROM table_name_36 WHERE lost > 11 AND match < 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 Settlements (claim_id VARCHAR); CREATE TABLE Claims (Claim_id VARCHAR, claim_id VARCHAR) ### Question: How many settlements does each claim correspond to? List the claim id and the number of settlements. ### Answer: SELECT T1.Claim_id, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id
Below is an context that describes a sql 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 (driver VARCHAR, grid VARCHAR) ### Question: Which driver had a grid number of 10? ### Answer: SELECT driver FROM table_name_11 WHERE grid = 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (document_status_code VARCHAR) ### Question: How many documents have the status code done? ### Answer: SELECT COUNT(*) FROM Documents WHERE document_status_code = "done"
Below is an context that describes a sql 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 (group VARCHAR, formula VARCHAR) ### Question: Which group has the RNCS formula? ### Answer: SELECT group FROM table_name_66 WHERE formula = "rncs"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What's the 2010 result when 2006 is a? ### Answer: SELECT 2010 FROM table_name_20 WHERE 2006 = "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_15 (result VARCHAR, match VARCHAR, arena VARCHAR, league VARCHAR) ### Question: What was the result at A Arena, the SL league, and a match number over 16? ### Answer: SELECT result FROM table_name_15 WHERE arena = "a" AND league = "sl" AND match > 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_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR) ### Question: Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player? ### Answer: SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = "ali lauitiiti"
Below is an context that describes a sql 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 (series VARCHAR, date VARCHAR) ### Question: Which Series are on september 15, 2007? ### Answer: SELECT series FROM table_name_53 WHERE date = "september 15, 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_2140071_5 (premier_date VARCHAR, coach VARCHAR) ### Question: What date did the episode, with John O'Connell as the coach, premier? ### Answer: SELECT premier_date FROM table_2140071_5 WHERE coach = "John O'Connell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22464685_1 (transliteration VARCHAR, period_covered VARCHAR) ### Question: what is the transliteration during the period covered is 1125-1223? ### Answer: SELECT transliteration FROM table_22464685_1 WHERE period_covered = "1125-1223"
Below is an context that describes a sql 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 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) ### Question: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? ### Answer: SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR) ### Question: What rank is the parish with 482.81 km^2? ### Answer: SELECT census_ranking FROM table_171356_2 WHERE area_km_2 = "482.81"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14342210_6 (position VARCHAR, player VARCHAR) ### Question: Which position did Redden play? ### Answer: SELECT position FROM table_14342210_6 WHERE player = "Redden"
Below is an context that describes 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 VARCHAR, job VARCHAR) ### Question: How many people whose age is greater 30 and job is engineer? ### Answer: SELECT COUNT(*) FROM Person WHERE age > 30 AND 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_36 (goals INTEGER, name VARCHAR, rank VARCHAR) ### Question: How many goals were there for Johan Cruyff when the rank's less than 3? ### Answer: SELECT SUM(goals) FROM table_name_36 WHERE name = "johan cruyff" 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_85 (laps INTEGER, rank VARCHAR) ### Question: What is the lowest lap with a rank of 30? ### Answer: SELECT MIN(laps) FROM table_name_85 WHERE rank = "30"
Below is an context that describes a sql 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 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR) ### Question: Who was the colour commmentator that broadcasted along with the Play-by-play of bob cole? ### Answer: SELECT colour_commentator_s_ FROM table_name_1 WHERE play_by_play = "bob cole"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (score VARCHAR, visitor VARCHAR) ### Question: What was the score when the NY Islanders was the visiting team? ### Answer: SELECT score FROM table_name_67 WHERE visitor = "ny islanders"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb VARCHAR, median_age__in_2006_ VARCHAR) ### Question: What is the date settled for 40 years? ### Answer: SELECT date_first_settled_as_a_suburb FROM table_1174162_1 WHERE median_age__in_2006_ = "40 years"
Below is an context that describes a sql 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 (team VARCHAR, shirt_sponsor VARCHAR) ### Question: What is the name of the team that Tulip Computers NV sponsors? ### Answer: SELECT team FROM table_name_99 WHERE shirt_sponsor = "tulip computers nv"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) ### Question: What party does the incumbent from the Ohio 20 district belong to? ### Answer: SELECT party FROM table_1342218_35 WHERE district = "Ohio 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_224839_3 (state__class_ VARCHAR, successor VARCHAR) ### Question: What are all the states (class) when the successor was Joseph Anderson ( DR )? ### Answer: SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )"
Below is an context that describes a sql 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 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR) ### Question: Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine? ### Answer: SELECT model FROM table_name_94 WHERE gcm__kg__technical_capacity = "35000" AND gvm__kg__technical_capacity = "16000" AND engine_make_capacity = "cummins interact 6.0-euro iii (turbo intercooler)"
Below is an context that describes a sql 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 (race VARCHAR, time VARCHAR) ### Question: Which race ended with a time of 01:46:59.69? ### Answer: SELECT race FROM table_name_13 WHERE time = "01:46:59.69"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (original_us_air_date VARCHAR, original_canadian_air_date VARCHAR) ### Question: What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? ### Answer: SELECT original_us_air_date FROM table_name_80 WHERE original_canadian_air_date = "december 9, 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR) ### Question: Who is the visitor on May 9? ### Answer: SELECT visitor FROM table_name_14 WHERE date = "may 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 (speed VARCHAR, race VARCHAR) ### Question: What was the speed of the Superbike race? ### Answer: SELECT speed FROM table_name_10 WHERE race = "superbike"
Below is an context that describes a sql 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 (in_de_creased_by INTEGER, governorate VARCHAR, seats_2005 VARCHAR) ### Question: Name the average In/de-creased by which has a Governorate of al anbar governorate, and Seats 2005 smaller than 9? ### Answer: SELECT AVG(in_de_creased_by) FROM table_name_66 WHERE governorate = "al anbar governorate" AND seats_2005 < 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 (college VARCHAR, position VARCHAR, round VARCHAR, pick VARCHAR, overall VARCHAR) ### Question: Which college has a pick less than 25, an overall greater than 159, a round less than 10, and wr as the position? ### Answer: SELECT college FROM table_name_10 WHERE pick < 25 AND overall > 159 AND round < 10 AND position = "wr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR) ### Question: Name the language for el villar 1264 ### Answer: SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264
Below is an context that describes a sql 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 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) ### Question: what is the date of vacancy when the team is firpo and replaced by is oscar benitez? ### Answer: SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (opponent VARCHAR, type_of_game VARCHAR, city VARCHAR) ### Question: What opponent has euro '84 qualifying as the type and split as the city? ### Answer: SELECT opponent FROM table_name_54 WHERE type_of_game = "euro '84 qualifying" AND city = "split"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR) ### Question: What club/province does the prop player with over 45 caps play for? ### Answer: SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR) ### Question: How long was his fight against kim kyoung-suk? ### Answer: SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk"
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR) ### Question: Which Venue has a Result of 5-0? ### Answer: SELECT venue FROM table_name_18 WHERE result = "5-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 (playing_for VARCHAR, opponent VARCHAR, date VARCHAR) ### Question: who is playing for when the opponent is deportes savio and the date is 2010-03-11? ### Answer: SELECT playing_for FROM table_name_95 WHERE opponent = "deportes savio" AND date = "2010-03-11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR) ### Question: What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? ### Answer: SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR) ### Question: I want the time/retired for grid of 17 ### Answer: SELECT time_retired FROM table_name_17 WHERE grid = 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 Documents (document_name VARCHAR, template_id VARCHAR, Document_Description VARCHAR) ### Question: What is the document name and template id for document with description with the letter 'w' in it? ### Answer: SELECT document_name, template_id FROM Documents WHERE Document_Description LIKE "%w%"
Below is an context that describes a sql 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 (date_of_birth__age_ VARCHAR, position VARCHAR, caps VARCHAR) ### Question: When was the lock with 10 caps born? ### Answer: SELECT date_of_birth__age_ FROM table_name_20 WHERE position = "lock" AND caps = 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_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR) ### Question: how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)? ### Answer: SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = "McDyess (9)" AND high_assists = "Billups (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_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) ### Question: What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? ### Answer: SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002
Below is an context that describes a sql 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 (constructor VARCHAR, circuit VARCHAR) ### Question: Who is the constructor whose circuit was Oulton Park? ### Answer: SELECT constructor FROM table_name_71 WHERE circuit = "oulton park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27588823_2 (branding VARCHAR, callsign VARCHAR) ### Question: What is the branding for callsign dypv? ### Answer: SELECT branding FROM table_27588823_2 WHERE callsign = "DYPV"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR) ### Question: What was the score in the match against Sanaz Marand? ### Answer: SELECT score FROM table_name_54 WHERE opponent = "sanaz marand"
Below is an context that describes a sql 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 (average INTEGER, lowest VARCHAR, team VARCHAR) ### Question: Lowest larger than 288, and a Team of east stirlingshire has what lowest average? ### Answer: SELECT MIN(average) FROM table_name_61 WHERE lowest > 288 AND team = "east stirlingshire"
Below is an context that describes a sql 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 (population INTEGER, area_km_2 VARCHAR) ### Question: What is the population of the parish that has an area of 304.06? ### Answer: SELECT SUM(population) FROM table_name_78 WHERE area_km_2 = 304.06
Below is an context that describes a sql 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 (date VARCHAR, location_attendance VARCHAR, record VARCHAR) ### Question: What was the date of the game at the delta center when the record was 35-14? ### Answer: SELECT date FROM table_name_35 WHERE location_attendance = "delta center" AND record = "35-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_28730459_3 (tebe_career VARCHAR, league_matches VARCHAR) ### Question: What are the years of TeBe career for the players whose league matches are exactly 163? ### Answer: SELECT tebe_career FROM table_28730459_3 WHERE league_matches = 163
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (region VARCHAR, format VARCHAR) ### Question: Which region had a release format of CD Maxi? ### Answer: SELECT region FROM table_name_8 WHERE format = "cd maxi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (game_4 VARCHAR, game_1 VARCHAR) ### Question: For which Game 4 did Michael O'Connor play during Game 1? ### Answer: SELECT game_4 FROM table_name_27 WHERE game_1 = "michael o'connor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2596811_12 (complement VARCHAR, killed VARCHAR) ### Question: What was the complement for the unit that had 3 off 37 men killed? ### Answer: SELECT complement FROM table_2596811_12 WHERE killed = "3 off 37 men"
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR, date VARCHAR) ### Question: What is Score, when Game is greater than 78, and when Date is "4"? ### Answer: SELECT score FROM table_name_31 WHERE game > 78 AND date = 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_27704187_7 (location_attendance VARCHAR, team VARCHAR) ### Question: Where was the game against Detroit played? ### Answer: SELECT location_attendance FROM table_27704187_7 WHERE team = "Detroit"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25277296_2 (directed_by VARCHAR, no_in_season VARCHAR) ### Question: Who was the director of episode 11 based on season? ### Answer: SELECT directed_by FROM table_25277296_2 WHERE no_in_season = 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_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR) ### Question: How many caps figures are there for Norwich City, Coventry City? ### Answer: SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Norwich City, Coventry 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_97 (place VARCHAR, draw VARCHAR, points VARCHAR) ### Question: What is the total number of places for a song with a draw of 21 and more than 36 points? ### Answer: SELECT COUNT(place) FROM table_name_97 WHERE draw = 21 AND points > 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_name_63 (catalogue VARCHAR, date VARCHAR) ### Question: Which catalogue has a date of 1987? ### Answer: SELECT catalogue FROM table_name_63 WHERE date = "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_66 (results VARCHAR, awards_show VARCHAR) ### Question: What was the results of the 71st Academy Awards show? ### Answer: SELECT results FROM table_name_66 WHERE awards_show = "71st academy awards"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (date VARCHAR, circuit VARCHAR) ### Question: What date was the Madonie Circuit? ### Answer: SELECT date FROM table_name_22 WHERE circuit = "madonie"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1140117_5 (constructor VARCHAR, circuit VARCHAR) ### Question: What is the constructor for the Silverstone circuit? ### Answer: SELECT constructor FROM table_1140117_5 WHERE circuit = "Silverstone"
Below is an context that describes a sql 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 (away VARCHAR, attendance VARCHAR, home VARCHAR) ### Question: Who was the away team that had attendance under 2614 and a home team of Victoria? ### Answer: SELECT away FROM table_name_69 WHERE attendance < 2614 AND home = "victoria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20780285_1 (country_region VARCHAR, presenters VARCHAR) ### Question: Silvio Santos is the presenter in what country? ### Answer: SELECT country_region FROM table_20780285_1 WHERE presenters = "Silvio Santos"
Below is an context that describes a sql 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 (venue VARCHAR, pens VARCHAR, tries VARCHAR) ### Question: In which venue did 0 pens and 1 try occur? ### Answer: SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "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_33 (cores VARCHAR, clock_speed VARCHAR) ### Question: What is the total Cores with a Clock Speed of 1.3ghz? ### Answer: SELECT COUNT(cores) FROM table_name_33 WHERE clock_speed = "1.3ghz"
Below is an context that describes a sql 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 (school VARCHAR, location VARCHAR) ### Question: What school is located in rossville? ### Answer: SELECT school FROM table_name_79 WHERE location = "rossville"
Below is an context that describes a sql 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 (senator VARCHAR, state VARCHAR) ### Question: what is the senator in kentucky ### Answer: SELECT senator FROM table_name_72 WHERE state = "kentucky"
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR) ### Question: What is the Total with a Player named robbie winters? ### Answer: SELECT total FROM table_name_95 WHERE player = "robbie winters"
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What was Carlton's score as the home team? ### Answer: SELECT home_team AS score FROM table_name_65 WHERE home_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER) ### Question: Find the total revenue for each manufacturer. ### Answer: SELECT SUM(revenue), name FROM manufacturers GROUP BY name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR) ### Question: How many nationalities does athlete Casey Jacobsen have? ### Answer: SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen"
Below is an context that describes a sql 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 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR) ### Question: What is Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivanišević Brian Macphie"? ### Answer: SELECT outcome FROM table_name_94 WHERE partner = "byron black" AND opponents = "goran ivanišević brian macphie"
Below is an context that describes a sql 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 (player VARCHAR, hometown VARCHAR) ### Question: What Player comes from the Hometown of Wichita, KS? ### Answer: SELECT player FROM table_name_75 WHERE hometown = "wichita, ks"
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR) ### Question: Who watches North Melbourne when they are away? ### Answer: SELECT crowd FROM table_name_14 WHERE away_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_12 (against VARCHAR, draw INTEGER) ### Question: What is the total number of Against, when Draw is greater than 48? ### Answer: SELECT COUNT(against) FROM table_name_12 WHERE draw > 48
Below is an context that describes a sql 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 (round VARCHAR, series VARCHAR, season VARCHAR) ### Question: What is the Round when the series shows 5th place, and a Season of 2006–07? ### Answer: SELECT round FROM table_name_86 WHERE series = "5th place" AND season = "2006–07"
Below is an context that describes a sql 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 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR) ### Question: Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? ### Answer: SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations"
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, silver VARCHAR) ### Question: What's the lowest gold with a total over 15 and less than 16 silver? ### Answer: SELECT MIN(gold) FROM table_name_98 WHERE total > 15 AND silver < 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_8 (population_density__per_km²_ VARCHAR, change___percentage_ VARCHAR) ### Question: What is the population density (per km) that has -6.7 as the change (%)? ### Answer: SELECT population_density__per_km²_ FROM table_name_8 WHERE change___percentage_ = "-6.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 Apartments (apt_type_code VARCHAR) ### Question: Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order. ### Answer: SELECT apt_type_code, COUNT(*) FROM Apartments GROUP BY apt_type_code ORDER BY COUNT(*)
Below is an context that describes a sql 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 (outcome VARCHAR, tournament VARCHAR) ### Question: Name the outcome with tournament of mexico f12, obregón ### Answer: SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR) ### Question: Show names of climbers and the names of mountains they climb. ### Answer: SELECT T1.Name, T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID
Below is an context that describes a sql 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 (avg_g VARCHAR, gain VARCHAR, long VARCHAR) ### Question: How much Avg/G has a Gain smaller than 1571, and a Long smaller than 46? ### Answer: SELECT COUNT(avg_g) FROM table_name_81 WHERE gain < 1571 AND long < 46
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (grid VARCHAR, time VARCHAR) ### Question: what's the grid with time +37.949? ### Answer: SELECT COUNT(grid) FROM table_name_59 WHERE time = "+37.949"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (grid VARCHAR, laps VARCHAR) ### Question: Tell me the total number of grid for laps of 52 ### Answer: SELECT COUNT(grid) FROM table_name_60 WHERE laps = 52
Below is an context that describes a sql 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 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) ### Question: Which language is used by the optimum TV service that shows cricket and is based in the United States? ### Answer: SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (wins INTEGER, draws VARCHAR, scored VARCHAR, team VARCHAR) ### Question: What is the fewest wins that has fewer than 23 goals scored, team of 2 de Mayo, and fewer than 7 draws? ### Answer: SELECT MIN(wins) FROM table_name_16 WHERE scored < 23 AND team = "2 de mayo" AND draws < 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_45 (time VARCHAR, record VARCHAR, round VARCHAR, method VARCHAR) ### Question: What is Time, when Round is "3", when Method is "Decision (unanimous)", and when Record is "7-3"? ### Answer: SELECT time FROM table_name_45 WHERE round = 3 AND method = "decision (unanimous)" AND record = "7-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_95 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR) ### Question: Which Tied has Matches of 1, and a Lost of 0, and a Team of durham? ### Answer: SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham"
Below is an context that describes a sql 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 (cast VARCHAR, director VARCHAR, serial_title VARCHAR) ### Question: I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes ### Answer: SELECT cast FROM table_name_75 WHERE director = "colbert clark and armand schaefer" AND serial_title = "burn 'em up barnes"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR) ### Question: What date has 113-115 (ot) as the score? ### Answer: SELECT date FROM table_name_20 WHERE score = "113-115 (ot)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR) ### Question: Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3? ### Answer: SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR, australian VARCHAR) ### Question: What is Initial-Syllable Open/Semi-Open Unstresses Vowels, when Australian is "ə"? ### Answer: SELECT initial_syllable_open_semi_open_unstressed_vowels FROM table_name_15 WHERE australian = "ə"
Below is an context that describes a sql 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 (tournament VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) ### Question: Which tournament had a clay surface and a score of 6–1, 3–6, 6–2? ### Answer: SELECT tournament FROM table_name_76 WHERE surface = "clay" AND score_in_the_final = "6–1, 3–6, 6–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_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR) ### Question: If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking? ### Answer: SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.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_85 (engine VARCHAR, rounds VARCHAR) ### Question: What was the featured in Engine through rounds 10-13? ### Answer: SELECT engine FROM table_name_85 WHERE rounds = "10-13"