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_25318033_1 (f_laps VARCHAR, position VARCHAR, races VARCHAR) ### Question: How many laps where the position is 10th and the races is smaller than 9.0? ### Answer: SELECT COUNT(f_laps) FROM table_25318033_1 WHERE position = "10th" AND races < 9.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_56 (date VARCHAR, circuit VARCHAR) ### Question: The Eastern Creek Raceway circuit is on what date? ### Answer: SELECT date FROM table_name_56 WHERE circuit = "eastern creek raceway"
Below is an context that describes a sql 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 (final_round VARCHAR, weight VARCHAR) ### Question: What final round had a weight of 245? ### Answer: SELECT final_round FROM table_name_61 WHERE weight = 245
Below is an context that describes a sql 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 (name VARCHAR, goals VARCHAR) ### Question: What is the Name with Goals that are 135? ### Answer: SELECT name FROM table_name_61 WHERE goals = 135
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (attempts VARCHAR, rank VARCHAR, net_yds VARCHAR) ### Question: What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1674? ### Answer: SELECT COUNT(attempts) FROM table_name_95 WHERE rank > 4 AND net_yds < 1674
Below is an context that describes a sql 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 (date VARCHAR, catalog VARCHAR) ### Question: What was the date for XLLP 369? ### Answer: SELECT date FROM table_name_12 WHERE catalog = "xllp 369"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR) ### Question: Name the number of points for field goals being 1 ### Answer: SELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 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_91 (away_team VARCHAR, venue VARCHAR) ### Question: Which Away team plays at the Venue vfl park? ### Answer: SELECT away_team FROM table_name_91 WHERE venue = "vfl 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 Documents (document_type_code VARCHAR, document_id VARCHAR) ### Question: List the document type code for the document with the id 2. ### Answer: SELECT document_type_code FROM Documents WHERE document_id = 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_66 (tonnage VARCHAR, date VARCHAR) ### Question: Which Tonnage is on 25 july 1942? ### Answer: SELECT tonnage FROM table_name_66 WHERE date = "25 july 1942"
Below is an context that describes a sql 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 (result VARCHAR, association VARCHAR) ### Question: Tell me the result for primetime emmy awards ### Answer: SELECT result FROM table_name_94 WHERE association = "primetime emmy 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_5 (outcome VARCHAR, tournament VARCHAR) ### Question: What the Outcome for the Tournament of Johannesburg, South Africa ### Answer: SELECT outcome FROM table_name_5 WHERE tournament = "johannesburg, south africa"
Below is an context that describes a sql 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 (artist VARCHAR, single___pack VARCHAR) ### Question: What is the name of the artist with a Single / Pack of guitar hero track pack 1? ### Answer: SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 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 CARS_DATA (YEAR VARCHAR, Weight INTEGER) ### Question: What is the average weight of cars each year? ### Answer: SELECT AVG(Weight), YEAR FROM CARS_DATA GROUP BY YEAR
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27713583_11 (high_assists VARCHAR, location_attendance VARCHAR, record VARCHAR) ### Question: Name the high assists for madison square garden 19,763 and record is 39–38 ### Answer: SELECT high_assists FROM table_27713583_11 WHERE location_attendance = "Madison Square Garden 19,763" AND record = "39–38"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15430606_1 (length__minutes_ VARCHAR, no_in_series VARCHAR) ### Question: Name the total number of length minutes for number in series for 17 ### Answer: SELECT COUNT(length__minutes_) FROM table_15430606_1 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_19589113_5 (growth_rate_1991_01 VARCHAR, sex_ratio_‡_2001 VARCHAR) ### Question: What is every growth rate in 1991-2001 when sex ratio in 2001 is 937? ### Answer: SELECT growth_rate_1991_01 FROM table_19589113_5 WHERE sex_ratio_‡_2001 = 937
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR) ### Question: Name the position for stanley havili ### Answer: SELECT position FROM table_26533354_8 WHERE player = "Stanley Havili"
Below is an context that describes a sql 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 (rank VARCHAR, name VARCHAR) ### Question: What rank does Tricia Flores have? ### Answer: SELECT rank FROM table_name_22 WHERE name = "tricia flores"
Below is an context that describes a sql 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 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR) ### Question: What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? ### Answer: SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (airport VARCHAR, icao VARCHAR) ### Question: Which airport has an ICAO of ybcg? ### Answer: SELECT airport FROM table_name_11 WHERE icao = "ybcg"
Below is an context that describes a sql 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 (serial_no INTEGER, headquartered_city VARCHAR) ### Question: What is the sum of the serial numbers for narowal city? ### Answer: SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal 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_48 (Id VARCHAR) ### Question: What 1953 has 2 as a 1949, and 3 as 1952? ### Answer: SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "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_69 (company VARCHAR, price_in_usd VARCHAR) ### Question: Name the Company which has a Price in USD of free / negotiable? ### Answer: SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR) ### Question: What was week 2's opponent? ### Answer: SELECT opponent FROM table_name_47 WHERE week = 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_55 (h_a_n VARCHAR, date VARCHAR) ### Question: What is H/A/N when Date is February 24? ### Answer: SELECT h_a_n FROM table_name_55 WHERE date = "february 24"
Below is an context that describes a sql 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 (attendance VARCHAR, venue VARCHAR) ### Question: What was the attendance number for the venue of Lakeside Park? ### Answer: SELECT attendance FROM table_name_37 WHERE venue = "lakeside 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_name_10 (home_team VARCHAR, venue VARCHAR) ### Question: What was the name of the home team playing at the Junction Oval venue? ### Answer: SELECT home_team FROM table_name_10 WHERE venue = "junction 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_90 (transfer_window VARCHAR, name VARCHAR) ### Question: Emerson has what transfer window? ### Answer: SELECT transfer_window FROM table_name_90 WHERE name = "emerson"
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR) ### Question: How many attended the game with a record of 43-34? ### Answer: SELECT COUNT(attendance) FROM table_name_59 WHERE record = "43-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_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR) ### Question: What is the transcription of the sanskrit word chandra? ### Answer: SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"
Below is an context that describes a sql 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 (fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR) ### Question: Which FA Cup goals have a League goals of 18, and a Club of sheffield united? ### Answer: SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = "18" AND club = "sheffield united"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (model_number VARCHAR, order_part_number VARCHAR) ### Question: Which model number has an order part number of TMDML44BKX5LD? ### Answer: SELECT model_number FROM table_name_32 WHERE order_part_number = "tmdml44bkx5ld"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) ### Question: What is the pinyin for explaining music? ### Answer: SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music"
Below is an context that describes a sql 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 (player VARCHAR, figures VARCHAR) ### Question: Which player has figures of 4/14? ### Answer: SELECT player FROM table_name_46 WHERE figures = "4/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_12 (byes VARCHAR, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR) ### Question: How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6? ### Answer: SELECT COUNT(byes) FROM table_name_12 WHERE wins < 11 AND wimmera_fl = "minyip murtoa" AND losses < 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 company (company VARCHAR, headquarters VARCHAR, market_value VARCHAR) ### Question: Show all company names and headquarters in the descending order of market value. ### Answer: SELECT company, headquarters FROM company ORDER BY market_value 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_name_12 (kickoff VARCHAR, game_site VARCHAR) ### Question: Which Kickoff had a Game Site of fawcett stadium? ### Answer: SELECT kickoff FROM table_name_12 WHERE game_site = "fawcett stadium"
Below is an context that describes a sql 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 (original_week INTEGER, venue VARCHAR) ### Question: Tell me the average original week for soldier field ### Answer: SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field"
Below is an context that describes a sql 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 (opponent VARCHAR, year VARCHAR) ### Question: Who is the opponent in 1992? ### Answer: SELECT opponent FROM table_name_17 WHERE year = "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_11964154_11 (high_assists VARCHAR, team VARCHAR) ### Question: Who had the high assists @ Dallas? ### Answer: SELECT high_assists FROM table_11964154_11 WHERE team = "@ Dallas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25800134_1 (director VARCHAR, airdate VARCHAR) ### Question: Who directed the episodes that aired December 15, 1956? ### Answer: SELECT director FROM table_25800134_1 WHERE airdate = "December 15, 1956"
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, place VARCHAR) ### Question: what's the score in canada with place of t8? ### Answer: SELECT score FROM table_name_83 WHERE country = "canada" AND place = "t8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21313498_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR, written_by VARCHAR) ### Question: when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright? ### Answer: SELECT original_air_date FROM table_21313498_1 WHERE us_viewers__millions_ = "3.3" AND written_by = "Rob Wright"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25391981_20 (viewers__millions_ VARCHAR, episode_number VARCHAR) ### Question: How many viewers in millions watched the episode with the number 10.18? ### Answer: SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (place VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: What is Place, when To Par is "5", and when Score is "72-73=145"? ### Answer: SELECT place FROM table_name_30 WHERE to_par = 5 AND score = 72 - 73 = 145
Below is an context that describes a sql 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 (operation_start VARCHAR, construction_start VARCHAR) ### Question: Construction start of phase ii has what operation start? ### Answer: SELECT operation_start FROM table_name_51 WHERE construction_start = "phase ii"
Below is an context that describes a sql 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 (round INTEGER, circuit VARCHAR) ### Question: What was the average round for the oulton park circuit? ### Answer: SELECT AVG(round) FROM table_name_56 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_name_4 (name VARCHAR, captain VARCHAR) ### Question: What Name has the Captain Aaron Heal? ### Answer: SELECT name FROM table_name_4 WHERE captain = "aaron heal"
Below is an context that describes a sql 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 (term_end VARCHAR, name VARCHAR) ### Question: When did Fejzi Bej Alizoti's term end? ### Answer: SELECT term_end FROM table_name_5 WHERE name = "fejzi bej alizoti"
Below is an context that describes a sql 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 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR) ### Question: There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²? ### Answer: SELECT SUM(area_in_km²) FROM table_name_78 WHERE original_name = "kecamatan bogor tengah" AND number_of_settlements_and_villages < 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_47 (opponent VARCHAR, score VARCHAR) ### Question: WHAT OPPONENT HAD A SCORE OF 5:5? ### Answer: SELECT opponent FROM table_name_47 WHERE score = "5: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 song (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR) ### Question: Find the names and number of works of the three artists who have produced the most songs. ### Answer: SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 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_61 (Id VARCHAR) ### Question: What was the 1997 value when 2002 was A and 2003 was 1R? ### Answer: SELECT 1997 FROM table_name_61 WHERE 2002 = "a" AND 2003 = "1r"
Below is an context that describes a sql 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 (wins INTEGER, rank VARCHAR, top_fives VARCHAR) ### Question: What is the sum of wins for casey mears when the player ranked 22nd and was in teh top fives 3 times? ### Answer: SELECT SUM(wins) FROM table_name_35 WHERE rank = "22nd" AND top_fives = 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_20 (district VARCHAR, name VARCHAR) ### Question: What district has an assembly segment named mahidpur? ### Answer: SELECT district FROM table_name_20 WHERE name = "mahidpur"
Below is an context that describes a sql 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 (game INTEGER, march VARCHAR) ### Question: what is the game when march is 15? ### Answer: SELECT SUM(game) FROM table_name_12 WHERE march = 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 manufacturers (name VARCHAR, Headquarter VARCHAR, revenue INTEGER) ### Question: Find the name and revenue of the company that earns the highest revenue in each city. ### Answer: SELECT name, MAX(revenue), Headquarter FROM manufacturers GROUP BY Headquarter
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR) ### Question: What venue had a Score of 120-108? ### Answer: SELECT venue FROM table_name_1 WHERE score = "120-108"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27537518_6 (record VARCHAR, first_star VARCHAR) ### Question: What was the record in the game whose first star was J. Oduya? ### Answer: SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya"
Below is an context that describes a sql 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 (year INTEGER, country VARCHAR, location VARCHAR) ### Question: What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"? ### Answer: SELECT AVG(year) FROM table_name_28 WHERE country = "u.s." AND location = "edmond , ok"
Below is an context that describes a sql 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 (label VARCHAR, date VARCHAR) ### Question: What is the Label that shows on april 7, 1967? ### Answer: SELECT label FROM table_name_77 WHERE date = "april 7, 1967"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR) ### Question: What is the total gdp world rank when the gdp per capita was listed at $1,163? ### Answer: SELECT MIN(total_gdp_world_rank) FROM table_2248991_2 WHERE gdp_per_capita = "$1,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_78 (european_cup VARCHAR, season VARCHAR) ### Question: Which European Cup is in the 1990-91 season? ### Answer: SELECT european_cup FROM table_name_78 WHERE season = "1990-91"
Below is an context that describes a sql 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 (gold INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR) ### Question: What is the lowest number of Gold the Nation of Italy had when it ranked other than 1, and had more than 0 Silver? ### Answer: SELECT MIN(gold) FROM table_name_25 WHERE rank > 1 AND nation = "italy" AND silver > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (venue VARCHAR, state VARCHAR, city VARCHAR) ### Question: What venue is in Santa Barbara, California? ### Answer: SELECT venue FROM table_name_58 WHERE state = "california" AND city = "santa barbara"
Below is an context that describes a sql 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 (scored_1 VARCHAR, years_played VARCHAR, name VARCHAR) ### Question: WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson? ### Answer: SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson"
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR) ### Question: Name The Score of Player of seve ballesteros? ### Answer: SELECT score FROM table_name_86 WHERE player = "seve ballesteros"
Below is an context that describes a sql 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 (position INTEGER, pilot VARCHAR) ### Question: What is the lowest position for bruce taylor? ### Answer: SELECT MIN(position) FROM table_name_6 WHERE pilot = "bruce taylor"
Below is an context that describes a sql 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 (season VARCHAR, wins VARCHAR) ### Question: What Season has wins as the philadelphia warriors (nba)? ### Answer: SELECT season FROM table_name_28 WHERE wins = "philadelphia warriors (nba)"
Below is an context that describes a sql 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 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR) ### Question: What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009? ### Answer: SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/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_35 (launch_complex VARCHAR, launcher VARCHAR, flights VARCHAR) ### Question: Which complex used the Soyuz (r) launcher to facilitate 14 orbital flights? ### Answer: SELECT launch_complex FROM table_name_35 WHERE launcher = "soyuz (r)" AND flights = "14 orbital"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_206361_2 (kilometer INTEGER) ### Question: What is the maximum number of km listed? ### Answer: SELECT MAX(kilometer) FROM table_206361_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_27 (series_4 VARCHAR, seat VARCHAR) ### Question: What shows for series 4 when the seat shows 1? ### Answer: SELECT series_4 FROM table_name_27 WHERE seat = 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_18069789_1 (e_ VARCHAR, film_title_used_in_nomination VARCHAR, year_ VARCHAR) ### Question: how many times was 27 missing kisses used in nomination ### Answer: SELECT COUNT(year_)[e_] AS __ceremony_ FROM table_18069789_1 WHERE film_title_used_in_nomination = "27 Missing Kisses"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR) ### Question: Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy? ### Answer: SELECT time_retired FROM table_name_88 WHERE manufacturer = "yamaha" AND rider = "garry mccoy"
Below is an context that describes a sql 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 (high_assists VARCHAR, team VARCHAR) ### Question: What is the high assists that has @ detroit as the team? ### Answer: SELECT high_assists FROM table_name_93 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_name_39 (match INTEGER, opponent VARCHAR) ### Question: Which match did FCR 2001 Duisburg participate as the opponent? ### Answer: SELECT SUM(match) FROM table_name_39 WHERE opponent = "fcr 2001 duisburg"
Below is an context that describes a sql 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 (race VARCHAR, fastest_lap VARCHAR, location VARCHAR) ### Question: What Brands Hatch race had Niki Lauda as its Fastest Lap? ### Answer: SELECT race FROM table_name_78 WHERE fastest_lap = "niki lauda" AND location = "brands hatch"
Below is an context that describes a sql 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 (population INTEGER, median_family_income VARCHAR) ### Question: Which Population has a Median family income of $53,946? ### Answer: SELECT MAX(population) FROM table_name_41 WHERE median_family_income = "$53,946"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (year VARCHAR, chassis VARCHAR, points VARCHAR) ### Question: What is the total number of years that has a chassis of Ferrari 625 and 2 points? ### Answer: SELECT COUNT(year) FROM table_name_24 WHERE chassis = "ferrari 625" AND points = "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_97 (score VARCHAR, player VARCHAR) ### Question: what had a score like roberto devicenzo ### Answer: SELECT score FROM table_name_97 WHERE player = "roberto devicenzo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR) ### Question: What are Ken Rosewall's sets w-l? ### Answer: SELECT sets_w_l FROM table_23133482_1 WHERE player = "Ken Rosewall"
Below is an context that describes a sql 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 (election VARCHAR) ### Question: Which 1st Member has an Election of 1895? ### Answer: SELECT 1 AS st_member FROM table_name_23 WHERE election = "1895"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22756549_1 (runner_up_a VARCHAR, constituency VARCHAR) ### Question: Who was the runner up for the Nagapattinam constituency? ### Answer: SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam"
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR, score VARCHAR) ### Question: When was the Result of 3–2, with a Score of 6–0, 6–4? ### Answer: SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR) ### Question: What's the highest amount of losses of Camperdown when the against was less than 945? ### Answer: SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) ### Question: What is the surface of the French Championships? ### Answer: SELECT surface FROM table_2215159_2 WHERE championship = "French championships"
Below is an context that describes a sql 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 (season INTEGER, team_2 VARCHAR, team_1 VARCHAR, score VARCHAR) ### Question: What year did Bangkok University and Chunnam Dragons have a score of 0-0? ### Answer: SELECT SUM(season) FROM table_name_31 WHERE team_1 = "bangkok university" AND score = "0-0" AND team_2 = "chunnam dragons"
Below is an context that describes a sql 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 (location VARCHAR, date VARCHAR) ### Question: Where was the event on June 10? ### Answer: SELECT location FROM table_name_12 WHERE date = "june 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_91 (worst_dancer_s_ VARCHAR, dance VARCHAR) ### Question: What's the worst dance of jive dancer(s)? ### Answer: SELECT worst_dancer_s_ FROM table_name_91 WHERE dance = "jive"
Below is an context that describes a sql 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 (condition VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) ### Question: Which Condition has an unaffected Partial thromboplastin time, Platelet count, and a Prothrombin time? ### Answer: SELECT condition FROM table_name_46 WHERE partial_thromboplastin_time = "unaffected" AND platelet_count = "unaffected" AND prothrombin_time = "unaffected"
Below is an context that describes a sql 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 (points_for VARCHAR, points_against VARCHAR) ### Question: What were the points for a team that 414 points against? ### Answer: SELECT points_for FROM table_name_52 WHERE points_against = "414"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1805191_14 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) ### Question: Who were the candidates when the first elected was a republican in 1998? ### Answer: SELECT candidates FROM table_1805191_14 WHERE first_elected = 1998 AND party = "Republican"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (record VARCHAR, week VARCHAR) ### Question: For the game that was played on week 2, what is the record? ### Answer: SELECT record FROM table_name_24 WHERE week = 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_59 (year INTEGER, studio_s_ VARCHAR) ### Question: What is Year is Walt Disney Pictures Imagemovers Digital? ### Answer: SELECT SUM(year) FROM table_name_59 WHERE studio_s_ = "walt disney pictures imagemovers digital"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the Record on the Date May 8? ### Answer: SELECT record FROM table_name_15 WHERE date = "may 8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (tries_for VARCHAR, points VARCHAR, tries_against VARCHAR) ### Question: How many tries for are associated with 5 points and 2 tries against? ### Answer: SELECT tries_for FROM table_name_3 WHERE points = "5" AND tries_against = "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_52 (season VARCHAR, ufl_cup VARCHAR) ### Question: Which Season has a UFL Cup of tbd? ### Answer: SELECT season FROM table_name_52 WHERE ufl_cup = "tbd"
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR) ### Question: When North Melbourne played as the away team, what was the crowd numbers? ### Answer: SELECT crowd FROM table_name_56 WHERE away_team = "north melbourne"