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_67 (round INTEGER, name VARCHAR) ### Question: What is Roy Hall's highest round? ### Answer: SELECT MAX(round) FROM table_name_67 WHERE name = "roy hall"
Below is an context that describes a sql 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 (date VARCHAR, region VARCHAR, catalog VARCHAR) ### Question: On what date did the United Kingdom have a catalog of FT 507? ### Answer: SELECT date FROM table_name_86 WHERE region = "united kingdom" AND catalog = "ft 507"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, cmdexe___commandcom VARCHAR) ### Question: When the cmd.exe / command.com is type, what are all associated values for powershell (cmdlet)? ### Answer: SELECT powershell__cmdlet_ FROM table_14465871_1 WHERE cmdexe___commandcom = "type"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR) ### Question: what section did frank park run in ### Answer: SELECT district FROM table_1342393_10 WHERE incumbent = "Frank 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_65 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was Carlton's home team opponent? ### Answer: SELECT home_team FROM table_name_65 WHERE away_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 table_17140608_11 (team VARCHAR, date VARCHAR) ### Question: What team(s) did they play on april 23? ### Answer: SELECT team FROM table_17140608_11 WHERE date = "April 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_71 (team VARCHAR, seasons VARCHAR) ### Question: What team had 3 seasons and fewer than 27 in 1984? ### Answer: SELECT team FROM table_name_71 WHERE seasons = 3 AND 1984 < 27
Below is an context that describes a sql 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 (score INTEGER, place VARCHAR, player VARCHAR) ### Question: Which Score has a Place of t1, and a Player of hubert green? ### Answer: SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR) ### Question: What is the name of party with most number of members? ### Answer: SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id ORDER BY COUNT(*) DESC LIMIT 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_5 (name VARCHAR) ### Question: What is the 4.45 for Yelena Isinbayeva? ### Answer: SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187735_13 (segment_d VARCHAR, segment_a VARCHAR) ### Question: Name the segment d for bowling balls ### Answer: SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls"
Below is an context that describes a sql 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 (points_for VARCHAR, lost VARCHAR) ### Question: How many points were there for 15 losses? ### Answer: SELECT points_for FROM table_name_28 WHERE lost = "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 MODEL_LIST (Maker VARCHAR, Model VARCHAR) ### Question: What are all the makers and models? ### Answer: SELECT Maker, Model FROM MODEL_LIST
Below is an context that describes a sql 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 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR) ### Question: WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS? ### Answer: SELECT transfer_fee FROM table_name_62 WHERE type = "transfer" AND name = "dos 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 products (product_description VARCHAR, product_name VARCHAR) ### Question: What is the description of the product named "Chocolate"? ### Answer: SELECT product_description FROM products WHERE product_name = "Chocolate"
Below is an context that describes a sql 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 (matrix INTEGER, recording_date VARCHAR) ### Question: what is the highest matrix when the recording date is 1926/03? ### Answer: SELECT MAX(matrix) FROM table_name_33 WHERE recording_date = "1926/03"
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, mascot VARCHAR) ### Question: What's the IHSAA Class when the mascot was the Musketeers? ### Answer: SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: Which Attendance has a Date of november 19, 1961? ### Answer: SELECT MIN(attendance) FROM table_name_61 WHERE date = "november 19, 1961"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR) ### Question: What is the average value for Top-5, when the value for Top-25 is 0, and the value for Wins is less than 0? ### Answer: SELECT AVG(top_5) FROM table_name_66 WHERE top_25 = 0 AND wins < 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_25664518_4 (viewers__millions_ VARCHAR) ### Question: Who were the 3rd couple that were viewed by 4.89 million viewers? ### Answer: SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__millions_ = "4.89"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (formula VARCHAR, chemical_class VARCHAR) ### Question: Which formula has thial as a chemical class? ### Answer: SELECT formula FROM table_name_7 WHERE chemical_class = "thial"
Below is an context that describes a sql 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 (pos VARCHAR, height VARCHAR, name VARCHAR) ### Question: What is Pos., when Height is "m (ft 6in)", and when Name is "Martina Miceli"? ### Answer: SELECT pos FROM table_name_53 WHERE height = "m (ft 6in)" AND name = "martina miceli"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (coding VARCHAR, genbank_id VARCHAR) ### Question: What was the 3’UTR sequence when Coding was 6a 3 and the GenBank id is nm_001093770.2? ### Answer: SELECT 3 AS ’utr_sequence FROM table_name_64 WHERE coding = "6a 3" AND genbank_id = "nm_001093770.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_40 (loses INTEGER, draws INTEGER) ### Question: What average Loses has Draws less than 0? ### Answer: SELECT AVG(loses) FROM table_name_40 WHERE draws < 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 products (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR) ### Question: What is the category and typical buying price of the product with name "cumin"? ### Answer: SELECT product_category_code, typical_buying_price FROM products WHERE product_name = "cumin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (to_par VARCHAR, score VARCHAR) ### Question: What is the To par of the Player with a Score of 73-67-68=208? ### Answer: SELECT to_par FROM table_name_89 WHERE score = 73 - 67 - 68 = 208
Below is an context that describes a sql 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 (accolade VARCHAR, rank VARCHAR) ### Question: What's the accolade for the rank of 497? ### Answer: SELECT accolade FROM table_name_23 WHERE rank = 497
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28677723_9 (total INTEGER, style VARCHAR) ### Question: What is the smallest total score for the Pasodoble style? ### Answer: SELECT MIN(total) FROM table_28677723_9 WHERE style = "Pasodoble"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11677691_3 (position VARCHAR, player VARCHAR) ### Question: What position is Charone Peake? ### Answer: SELECT position FROM table_11677691_3 WHERE player = "Charone Peake"
Below is an context that describes a sql 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 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR) ### Question: Which Mountain Peak has a Region of baja california, and a Location of 28.1301°n 115.2206°w? ### Answer: SELECT mountain_peak FROM table_name_87 WHERE region = "baja california" AND location = "28.1301°n 115.2206°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_82 (score VARCHAR, home_team VARCHAR) ### Question: Which Score has a Home team of yeovil town won 5–3 on penalties? ### Answer: SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties"
Below is an context that describes a sql 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 (last_aired INTEGER, returning VARCHAR) ### Question: What was the earliest aired show that's returning on September 13? ### Answer: SELECT MIN(last_aired) FROM table_name_1 WHERE returning = "september 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_27081956_1 (episode VARCHAR, series_no VARCHAR) ### Question: How many episodes are numbered 14 in the series? ### Answer: SELECT COUNT(episode) FROM table_27081956_1 WHERE series_no = 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_63 (season__number INTEGER, format__number VARCHAR) ### Question: Which season has q145 as its format? ### Answer: SELECT MIN(season__number) FROM table_name_63 WHERE format__number = "q145"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10015132_7 (school_club_team VARCHAR, player VARCHAR) ### Question: what school is rudy gay from ### Answer: SELECT school_club_team FROM table_10015132_7 WHERE player = "Rudy Gay"
Below is an context that describes a sql 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 (no_9 VARCHAR, no_4 VARCHAR, no_6 VARCHAR) ### Question: Who was No. 9 when Ava was No. 4 and Addison was No. 6? ### Answer: SELECT no_9 FROM table_name_37 WHERE no_4 = "ava" AND no_6 = "addison"
Below is an context that describes a sql 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 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary? ### Answer: SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary"
Below is an context that describes a sql 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 (position VARCHAR, competition VARCHAR, venue VARCHAR) ### Question: What Position was achieved in the World Championships Competition in Tokyo, Japan? ### Answer: SELECT position FROM table_name_24 WHERE competition = "world championships" AND venue = "tokyo, japan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24132083_1 (no_in_series INTEGER, written_by VARCHAR) ### Question: What in the series number of the episode written by Lauren Gussis? ### Answer: SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28628309_8 (team VARCHAR, category VARCHAR) ### Question: Who is the team when the category is blocks per game? ### Answer: SELECT team FROM table_28628309_8 WHERE category = "Blocks per game"
Below is an context that describes a sql 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 (bosniaks INTEGER, census_year INTEGER) ### Question: Tell me the highest bosniaks for year more than 2002 ### Answer: SELECT MAX(bosniaks) FROM table_name_8 WHERE census_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_13 (Id VARCHAR) ### Question: Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001? ### Answer: SELECT 2000 FROM table_name_13 WHERE 2001 = "ferrari f133 5.5l v12 456 / 550"
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR, date VARCHAR) ### Question: What is Score, when Competition is "Friendly", and when Date is "30 April"? ### Answer: SELECT score FROM table_name_46 WHERE competition = "friendly" AND date = "30 april"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15823956_1 (episodes VARCHAR, region_1 VARCHAR) ### Question: Which episode was N/A in region 1 ### Answer: SELECT episodes FROM table_15823956_1 WHERE region_1 = "N/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_64 (ordinary_value VARCHAR, russian VARCHAR) ### Question: Which ordinary value has a Russian value of унция? ### Answer: SELECT ordinary_value FROM table_name_64 WHERE russian = "унция"
Below is an context that describes a sql 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 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR) ### Question: Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni? ### Answer: SELECT winner FROM table_name_78 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND general_classification = "giuseppe saronni"
Below is an context that describes a sql 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 (founded INTEGER, stadium VARCHAR, club VARCHAR) ### Question: What year was the team Club of atlético de san juan fc who plays at hiram bithorn stadium founded. ### Answer: SELECT SUM(founded) FROM table_name_18 WHERE stadium = "hiram bithorn stadium" AND club = "atlético de san juan fc"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR) ### Question: What is the record when they played New York? ### Answer: SELECT record FROM table_name_64 WHERE opponent = "new york"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR) ### Question: What is the result of the 2005 (78th) year ceremony? ### Answer: SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What language was spoken in Everlasting Moments? ### Answer: SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13399573_3 (tries_against VARCHAR, won VARCHAR) ### Question: How many tries were against when the number won was 14? ### Answer: SELECT tries_against FROM table_13399573_3 WHERE won = "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_1590652_4 (no VARCHAR, date VARCHAR) ### Question: Name the total number when date is 30 may 2010 ### Answer: SELECT COUNT(no) FROM table_1590652_4 WHERE date = "30 May 2010"
Below is an context that describes a sql 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 (overall INTEGER, college VARCHAR, round VARCHAR) ### Question: What is the total number of overall figures when duke was the college and the round was higher than 7? ### Answer: SELECT SUM(overall) FROM table_name_99 WHERE college = "duke" AND round > 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_80 (wins INTEGER, team VARCHAR) ### Question: What are the average wins that have great britain as the team? ### Answer: SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR) ### Question: how many party with candidates being john j. phillips (r) 57.6% n. e. west (d) 42.4% ### Answer: SELECT COUNT(party) FROM table_1342256_6 WHERE candidates = "John J. Phillips (R) 57.6% N. E. West (D) 42.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_1277350_3 (thursday_guru__jupiter_ VARCHAR, wednesday_budha__mercury_ VARCHAR) ### Question: In language where Wednesday is বুধবার budhbar, what is Thursday? ### Answer: SELECT thursday_guru__jupiter_ FROM table_1277350_3 WHERE wednesday_budha__mercury_ = "বুধবার Budhbar"
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR, nationality VARCHAR, round VARCHAR) ### Question: WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK? ### Answer: SELECT position FROM table_name_4 WHERE nationality = "canada" AND round < 7 AND player = "zach boychuk"
Below is an context that describes a sql 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 (date VARCHAR, outcome VARCHAR, opponents VARCHAR) ### Question: What is Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"? ### Answer: SELECT date FROM table_name_48 WHERE outcome = "winner" AND opponents = "paul haarhuis sandon stolle"
Below is an context that describes a sql 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 (points_against VARCHAR, try_diff VARCHAR) ### Question: What is the points against when try diff is +23? ### Answer: SELECT points_against FROM table_name_67 WHERE try_diff = "+23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (year INTEGER, loser VARCHAR) ### Question: In which year is Nerida Gregory listed as the loser? ### Answer: SELECT AVG(year) FROM table_name_13 WHERE loser = "nerida gregory"
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR) ### Question: What was Tom Kite's to par? ### Answer: SELECT to_par FROM table_name_63 WHERE player = "tom kite"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) ### Question: How many viewers in millions watched the episode 23:55 minutes long? ### Answer: SELECT viewers__in_millions_ FROM table_1849243_1 WHERE run_time = "23:55"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16388545_1 (away_team VARCHAR, ground VARCHAR) ### Question: What was the away team's score of at the game of telstra stadium? ### Answer: SELECT away_team AS score FROM table_16388545_1 WHERE ground = "Telstra 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_92 (south VARCHAR, season VARCHAR) ### Question: Who was in the South in the 2004-05 season? ### Answer: SELECT south FROM table_name_92 WHERE season = "2004-05"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR) ### Question: WHAT YEAR DID MIKE BRADY GET RUNNER-UP? ### Answer: SELECT MIN(year) FROM table_1507806_1 WHERE runner_up = "Mike Brady"
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### Question: What was the score when Fred Couples played in the United States and placed t9? ### Answer: SELECT score FROM table_name_26 WHERE country = "united states" AND place = "t9" AND player = "fred couples"
Below is an context that describes a sql 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 (year INTEGER, charts VARCHAR) ### Question: What year was the No. 7 charts? ### Answer: SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 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_31 (byes VARCHAR, losses VARCHAR, against VARCHAR) ### Question: What is the total number of byes with more than 0 losses and 1526 against? ### Answer: SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR) ### Question: What country does Bo Bae Song play for? ### Answer: SELECT country FROM table_name_65 WHERE player = "bo bae song"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR, home_team VARCHAR) ### Question: The game with home team Crowborough Athletic, with an attendance less than 848 had what as the score? ### Answer: SELECT score FROM table_name_38 WHERE attendance < 848 AND home_team = "crowborough athletic"
Below is an context that describes 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 (horsepower INTEGER, YEAR INTEGER) ### Question: What is the average horsepower of the cars before 1980? ### Answer: SELECT AVG(horsepower) FROM CARS_DATA WHERE YEAR < 1980
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17288869_5 (record VARCHAR, date VARCHAR) ### Question: What was the record on November 1? ### Answer: SELECT record FROM table_17288869_5 WHERE date = "November 1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (title VARCHAR, role VARCHAR) ### Question: What is the title of the work where the role was Molly O'Day? ### Answer: SELECT title FROM table_name_84 WHERE role = "molly o'day"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29626583_3 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR) ### Question: What is the pick number for the team toronto fc and affiliation is ldu quito? ### Answer: SELECT MAX(pick__number) FROM table_29626583_3 WHERE mls_team = "Toronto FC" AND affiliation = "LDU Quito"
Below is an context that describes a sql 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 (total INTEGER, country VARCHAR, year_s__won VARCHAR) ### Question: What was the average total for the player from the United States, who won in 1978? ### Answer: SELECT AVG(total) FROM table_name_73 WHERE country = "united states" AND year_s__won = "1978"
Below is an context that describes a sql 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 (home VARCHAR, record VARCHAR) ### Question: Who had a 32-29-8 record at home? ### Answer: SELECT home FROM table_name_55 WHERE record = "32-29-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_99 (state VARCHAR, council_votes INTEGER) ### Question: Which country has less than 4 votes? ### Answer: SELECT state FROM table_name_99 WHERE council_votes < 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_35 (capacity INTEGER, team VARCHAR) ### Question: what is the capacity for the team šibenik? ### Answer: SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27169029_1 (written_by VARCHAR, original_air_date VARCHAR) ### Question: Who wrote the episode that aired on September 26, 2010? ### Answer: SELECT written_by FROM table_27169029_1 WHERE original_air_date = "September 26, 2010"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13282157_1 (country VARCHAR, _number VARCHAR) ### Question: What is the country for # 8 ### Answer: SELECT country FROM table_13282157_1 WHERE _number = 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_11950720_4 (bowling_style VARCHAR, player VARCHAR) ### Question: What is the bowling style of chris harris? ### Answer: SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris"
Below is an context that describes a sql 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 (year INTEGER, notes VARCHAR, competition VARCHAR) ### Question: What is the earliest year the world junior championships has 1500 m notes? ### Answer: SELECT MIN(year) FROM table_name_85 WHERE notes = "1500 m" AND competition = "world junior 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_50 (original_amendments_cosponsored INTEGER, all_bills_sponsored VARCHAR, bill_support_withdrawn VARCHAR) ### Question: How many original bills amendments cosponsored lower than 64,with the bill support withdrawn lower than 0? ### Answer: SELECT MIN(original_amendments_cosponsored) FROM table_name_50 WHERE all_bills_sponsored < 64 AND bill_support_withdrawn < 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_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR) ### Question: What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory? ### Answer: SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 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_63 (title VARCHAR, start_of_reign VARCHAR) ### Question: What is the title of the person who started their reign in 1999? ### Answer: SELECT title FROM table_name_63 WHERE start_of_reign = 1999
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) ### Question: Who had the pole position in the August 15, 1981 race? ### Answer: SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) ### Question: who is the the incumbent with opponent being anthony weiner (d) unopposed ### Answer: SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE tracks (milliseconds VARCHAR, name VARCHAR) ### Question: How long does track Fast As a Shark has? ### Answer: SELECT milliseconds FROM tracks WHERE name = "Fast As a Shark"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR) ### Question: Name the name of award for marathi ### Answer: SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi"
Below is an context that describes a sql 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 (losses VARCHAR, team VARCHAR, goals_for VARCHAR) ### Question: How many times has the Cornwall HC team, that has scored more than 18 goals, lost ? ### Answer: SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 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_30030477_1 (directed_by VARCHAR, viewers__million_ VARCHAR) ### Question: Who directed the episdoe veiwed by 3.24 million viewers? ### Answer: SELECT directed_by FROM table_30030477_1 WHERE viewers__million_ = "3.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_41 (song VARCHAR, draw INTEGER) ### Question: What song has draw number less than 2? ### Answer: SELECT song FROM table_name_41 WHERE draw < 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_44 (opponents_in_the_final VARCHAR, partnering VARCHAR) ### Question: Who are the finals opponents for the match with partner Ricardo Hocevar? ### Answer: SELECT opponents_in_the_final FROM table_name_44 WHERE partnering = "ricardo hocevar"
Below is an context that describes a sql 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 (marriage VARCHAR, spouse VARCHAR) ### Question: Name the marriage of the person who is married for christian viii ### Answer: SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"
Below is an context that describes a sql 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 (circuit VARCHAR, winning_driver VARCHAR) ### Question: Which circuit did Raymond Mays win? ### Answer: SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"
Below is an context that describes a sql 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 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) ### Question: What player in the United States had a total of 286 and won in 2003? ### Answer: SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"
Below is an context that describes a sql 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 (date VARCHAR, man_of_the_match VARCHAR) ### Question: On what date was Stuart Potts the Man of the Match? ### Answer: SELECT date FROM table_name_47 WHERE man_of_the_match = "stuart potts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR) ### Question: Name the result for barney frank ### Answer: SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29458735_5 (colonel VARCHAR, county VARCHAR) ### Question: in how many of the arkansas colomel the county was pope ### Answer: SELECT COUNT(colonel) FROM table_29458735_5 WHERE county = "Pope"
Below is an context that describes a sql 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 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR, state VARCHAR) ### Question: What is the mean average score when the evening gown score is more than 9.35, the state is South Carolina, and the swimsuit score is more than 9.4? ### Answer: SELECT AVG(average) FROM table_name_52 WHERE evening_gown > 9.35 AND state = "south carolina" AND swimsuit > 9.4