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_61 (place VARCHAR, player VARCHAR) ### Question: What place did Phil Rodgers finish? ### Answer: SELECT place FROM table_name_61 WHERE player = "phil rodgers"
Below is an context that describes a sql 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 VARCHAR, overall VARCHAR) ### Question: Overall of 208 occurred in what round? ### Answer: SELECT round FROM table_name_67 WHERE overall = 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_44 (co_drivers VARCHAR, laps VARCHAR, tyres VARCHAR) ### Question: Which co-driver has fewer than 282 laps and type P tyres? ### Answer: SELECT co_drivers FROM table_name_44 WHERE laps < 282 AND tyres = "p"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (sales VARCHAR, peak_position VARCHAR, rank VARCHAR, certification VARCHAR) ### Question: how many times is the rank less than 6, certification 2x platinum and the peak position 2? ### Answer: SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "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 (language VARCHAR, director VARCHAR) ### Question: What is the language of the film directed by Federico Fellini? ### Answer: SELECT language FROM table_name_27 WHERE director = "federico fellini"
Below is an context that describes a sql 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 (away_team VARCHAR) ### Question: What is south melbourne's scores when they are the away team? ### Answer: SELECT away_team AS score FROM table_name_32 WHERE away_team = "south 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_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR) ### Question: When was the episode with a 1,036,000 BARB rating first aired in Denmark? ### Answer: SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "1,036,000"
Below is an context that describes a sql 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 (away_team VARCHAR) ### Question: What was the score of Richmond when they were the away team? ### Answer: SELECT away_team AS score FROM table_name_62 WHERE away_team = "richmond"
Below is an context that describes a sql 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 (year INTEGER, tyres VARCHAR, chassis VARCHAR) ### Question: How many years were g Tyres and Minardi m187 used? ### Answer: SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Departments (department_description VARCHAR, department_name VARCHAR) ### Question: What is the description of the department whose name has the substring the computer? ### Answer: SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'
Below is an context that describes a sql 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 (result VARCHAR, game_site VARCHAR, opponent VARCHAR) ### Question: What's the result at psinet stadium when the cincinnati bengals are the opponent? ### Answer: SELECT result FROM table_name_39 WHERE game_site = "psinet stadium" AND opponent = "cincinnati bengals"
Below is an context that describes a sql 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 (capacity VARCHAR, model_engine VARCHAR) ### Question: Name the capacity for the engine of 2.0 duratorq ### Answer: SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE VOTING_RECORD (President_Vote VARCHAR, VICE_President_Vote VARCHAR) ### Question: Report the distinct president vote and the vice president vote. ### Answer: SELECT DISTINCT President_Vote, VICE_President_Vote FROM VOTING_RECORD
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, game VARCHAR) ### Question: What are the high rebounds in the 45 game? ### Answer: SELECT high_rebounds FROM table_27734577_8 WHERE game = 45
Below is an context that describes a sql 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 (winner VARCHAR, finalist VARCHAR) ### Question: WHo is the Winner of andre agassi Finalist? ### Answer: SELECT winner FROM table_name_97 WHERE finalist = "andre agassi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE CHARACTERISTICS (Id VARCHAR) ### Question: How many characteristics are there? ### Answer: SELECT COUNT(*) FROM CHARACTERISTICS
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR) ### Question: What is the tie number when the home team was gillingham? ### Answer: SELECT tie_no FROM table_name_12 WHERE home_team = "gillingham"
Below is an context that describes a sql 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 (kicker VARCHAR, yards VARCHAR, opponent VARCHAR) ### Question: Yards larger than 52, and a Opponent of san francisco 49ers is what kicker? ### Answer: SELECT kicker FROM table_name_5 WHERE yards > 52 AND opponent = "san francisco 49ers"
Below is an context that describes a sql 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 (organized_by VARCHAR, church_name VARCHAR) ### Question: Who organized Alston Church? ### Answer: SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
Below is an context that describes a sql 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 (_2_clubs VARCHAR, total VARCHAR) ### Question: What is the lowest 4 hoops, 2 clubs of the nation with a total of 38.25? ### Answer: SELECT MIN(4 AS _hoops), _2_clubs FROM table_name_66 WHERE total = 38.25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11677100_5 (school VARCHAR, player VARCHAR) ### Question: What school did Pat Osborn attend? ### Answer: SELECT school FROM table_11677100_5 WHERE player = "Pat Osborn"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: Which country has 69 score? ### Answer: SELECT country FROM table_name_41 WHERE score = 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_69 (screen_size VARCHAR, pixels VARCHAR, model VARCHAR) ### Question: Tell me the screen size for pixels of model s6400 ### Answer: SELECT screen_size, pixels FROM table_name_69 WHERE model = "s6400"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR) ### Question: What is Notes, when Year is "2010"? ### Answer: SELECT notes FROM table_name_96 WHERE year = 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_86 (money___ INTEGER, score VARCHAR) ### Question: How much money has 76-70-68-73=287 as a score? ### Answer: SELECT SUM(money___) AS $__ FROM table_name_86 WHERE score = 76 - 70 - 68 - 73 = 287
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE BOOKINGS (Order_Date VARCHAR) ### Question: List the order dates of all the bookings. ### Answer: SELECT Order_Date FROM BOOKINGS
Below is an context that describes a sql 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 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR) ### Question: What points have 1 for drawn, and 16 as a try bonus? ### Answer: SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "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_81 (gold INTEGER, rank VARCHAR) ### Question: What is the lowest gold medals of a rank 12 team? ### Answer: SELECT MIN(gold) FROM table_name_81 WHERE rank = "12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) ### Question: What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll? ### Answer: SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll"
Below is an context that describes a sql 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 (name VARCHAR, moving_to VARCHAR, country VARCHAR) ### Question: What is the union moving name and is from cmr? ### Answer: SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr"
Below is an context that describes a sql 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 (time VARCHAR, notes VARCHAR, athlete VARCHAR) ### Question: What is the time of frida svensson's race that had sa/b under the notes? ### Answer: SELECT time FROM table_name_81 WHERE notes = "sa/b" AND athlete = "frida svensson"
Below is an context that describes a sql 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 (top_10s INTEGER, wins INTEGER) ### Question: What is the best top 10 when there are fewer than 0 wins? ### Answer: SELECT MAX(top_10s) FROM table_name_30 WHERE 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_name_56 (points INTEGER, games INTEGER) ### Question: What is the low point total when there are over 5 games? ### Answer: SELECT MIN(points) FROM table_name_56 WHERE games > 5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (population_estimate_2005 VARCHAR, area__km_2__ INTEGER) ### Question: how many times was the population estimate 2005 have an area (km2) more than 8,023.74? ### Answer: SELECT COUNT(population_estimate_2005) FROM table_name_26 WHERE area__km_2__ > 8 OFFSET 023.74
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (date VARCHAR, week VARCHAR) ### Question: What is the date of week 11? ### Answer: SELECT date FROM table_name_20 WHERE week = 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_80 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team has blackpool as the away team? ### Answer: SELECT home_team FROM table_name_80 WHERE away_team = "blackpool"
Below is an context that describes a sql 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 (against INTEGER, status VARCHAR, date VARCHAR) ### Question: Lowest against for tour match on 21 july 1990? ### Answer: SELECT MIN(against) FROM table_name_46 WHERE status = "tour match" AND date = "21 july 1990"
Below is an context that describes a sql 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 (no_2 VARCHAR, no_9 VARCHAR) ### Question: What is No. 2, when No. 9 is Mia? ### Answer: SELECT no_2 FROM table_name_56 WHERE no_9 = "mia"
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR) ### Question: What week has December 19, 2004 as the date? ### Answer: SELECT week FROM table_name_33 WHERE date = "december 19, 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (date VARCHAR, time VARCHAR) ### Question: What is the Date of the Event with a Time of 2:23:47? ### Answer: SELECT date FROM table_name_23 WHERE time = "2:23:47"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (total INTEGER, player VARCHAR) ### Question: How many totals have andy north as the player? ### Answer: SELECT SUM(total) FROM table_name_96 WHERE player = "andy north"
Below is an context that describes a sql 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 (stadium VARCHAR, runs VARCHAR) ### Question: What is the stadium name that has 144 as the runs? ### Answer: SELECT stadium FROM table_name_86 WHERE runs = "144"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: what was the score on september 14 ### Answer: SELECT score FROM table_name_43 WHERE date = "september 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_10 (home_team VARCHAR, venue VARCHAR) ### Question: What was the home team score at Glenferrie Oval? ### Answer: SELECT home_team AS score FROM table_name_10 WHERE venue = "glenferrie 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_13258876_2 (result VARCHAR, attendance VARCHAR) ### Question: What was the score of the game when the attendance was 48945? ### Answer: SELECT result FROM table_13258876_2 WHERE attendance = 48945
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10701133_1 (no_in_season INTEGER) ### Question: What is the highest no. in season? ### Answer: SELECT MAX(no_in_season) FROM table_10701133_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_18 (language VARCHAR, english_translation VARCHAR) ### Question: what is the language when the english translation is come to me? ### Answer: SELECT language FROM table_name_18 WHERE english_translation = "come to me"
Below is an context that describes a sql 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 (name VARCHAR, goals VARCHAR) ### Question: What name is the goals of 25? ### Answer: SELECT name FROM table_name_18 WHERE goals = 25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20722805_1 (mccain_number INTEGER, obama_percentage VARCHAR) ### Question: What was McCain's vote when Obama had 48.35% ### Answer: SELECT MIN(mccain_number) FROM table_20722805_1 WHERE obama_percentage = "48.35%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR) ### Question: How many atp wins did he have when his money list rank was 4? ### Answer: SELECT MAX(atp_wins) FROM table_22839669_12 WHERE money_list_rank = 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_22 (place VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215? ### Answer: SELECT place FROM table_name_22 WHERE to_par = "+2" AND score = 70 - 72 - 73 = 215
Below is an context that describes a sql 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 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) ### Question: What are the years when the grizzles had a player who attended UCLA? ### Answer: SELECT years_for_grizzlies FROM table_name_71 WHERE school_club_team = "ucla"
Below is an context that describes a sql 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 (away_team VARCHAR, tie_no VARCHAR) ### Question: What is the Away team of Tie no 1? ### Answer: SELECT away_team FROM table_name_68 WHERE tie_no = "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_19 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR) ### Question: What is the lowest overall of the wide receiver player from a round higher than 5 and a pick lower than 7? ### Answer: SELECT MIN(overall) FROM table_name_19 WHERE position = "wide receiver" AND round < 5 AND pick__number > 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_89 (points VARCHAR, artist VARCHAR) ### Question: How many points did Linda Martin have? ### Answer: SELECT COUNT(points) FROM table_name_89 WHERE artist = "linda martin"
Below is an context that describes a sql 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 (europe VARCHAR, goals VARCHAR, rank VARCHAR, top_goalscorer VARCHAR) ### Question: What country in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals? ### Answer: SELECT europe FROM table_name_68 WHERE rank = "4" AND top_goalscorer = "karl-heinz rummenigge" AND goals = 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_2490289_1 (pc_intro VARCHAR, amiga_intro VARCHAR) ### Question: What won est pc intro when 4k0 (polka brothers) won best amiga intro? ### Answer: SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)"
Below is an context that describes a sql 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 (score VARCHAR, loss VARCHAR) ### Question: What was the score of the game with a loss of Mercedes (0-1)? ### Answer: SELECT score FROM table_name_47 WHERE loss = "mercedes (0-1)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (name VARCHAR, country VARCHAR) ### Question: What is the name of the player from NGA? ### Answer: SELECT name FROM table_name_17 WHERE country = "nga"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR) ### Question: Which situation has an original u.s. airdate of December 5, 2007? ### Answer: SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 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_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR) ### Question: What's the record on April 12 when the location was The Omni? ### Answer: SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR) ### Question: What is the to par for Scotland? ### Answer: SELECT to_par FROM table_name_96 WHERE country = "scotland"
Below is an context that describes a sql 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 (song VARCHAR, artist VARCHAR) ### Question: What is the name of Aleko Berdzenishvili's song? ### Answer: SELECT song FROM table_name_18 WHERE artist = "aleko berdzenishvili"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19131921_1 (dma INTEGER) ### Question: What is dma? ### Answer: SELECT MIN(dma) FROM table_19131921_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_94 (championships INTEGER, years_won VARCHAR) ### Question: Who won the ABA Championship in 1971? ### Answer: SELECT MIN(championships) FROM table_name_94 WHERE years_won = "1971"
Below is an context that describes a sql 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 (heat INTEGER, rank VARCHAR, lane VARCHAR, time VARCHAR) ### Question: In what heat did the swimmer in Lane 6 rank higher than 7 with a time of 4:08.27? ### Answer: SELECT SUM(heat) FROM table_name_17 WHERE lane = 6 AND time = "4:08.27" AND rank > 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_2679061_2 (nationality VARCHAR, player VARCHAR) ### Question: What is the nationality when the player is randy heath? ### Answer: SELECT nationality FROM table_2679061_2 WHERE player = "Randy Heath"
Below is an context that describes a sql 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 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) ### Question: What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91? ### Answer: SELECT name FROM table_name_84 WHERE heat = 4 AND rank < 23 AND result = "55.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_13 (team_1 VARCHAR, team_2 VARCHAR) ### Question: Which Team 1, has Team 2, Slovan Liberec? ### Answer: SELECT team_1 FROM table_name_13 WHERE team_2 = "slovan liberec"
Below is an context that describes a sql 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 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR) ### Question: Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g ### Answer: SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341930_40 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for l. mendel rivers ### Answer: SELECT COUNT(candidates) FROM table_1341930_40 WHERE incumbent = "L. Mendel Rivers"
Below is an context that describes a sql 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 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) ### Question: What was the broadcast date of the episode that visited South Africa? ### Answer: SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "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_35 (frequency_mhz INTEGER, call_sign VARCHAR) ### Question: Which Frequency MHz has a Call sign of k210dv? ### Answer: SELECT MAX(frequency_mhz) FROM table_name_35 WHERE call_sign = "k210dv"
Below is an context that describes a sql 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 (trailing_party VARCHAR, party_won VARCHAR, year VARCHAR) ### Question: What is Trailing Party, when Party Won is "Janata Dal", and when Year is "1996"? ### Answer: SELECT trailing_party FROM table_name_74 WHERE party_won = "janata dal" AND year = 1996
Below is an context that describes a sql 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 (date VARCHAR, high_assists VARCHAR) ### Question: On which date was the high assists Delonte West Earl Watson (6)? ### Answer: SELECT date FROM table_name_78 WHERE high_assists = "delonte west earl watson (6)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25711913_14 (field_goals__4_points_ INTEGER) ### Question: What is the least number of field goals scored by a player? ### Answer: SELECT MIN(field_goals__4_points_) FROM table_25711913_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_10 (population_2001_census INTEGER, population_1991_census VARCHAR) ### Question: What is the number of Population 2001 Census that has 476,815 in Population 1991 Census? ### Answer: SELECT SUM(population_2001_census) FROM table_name_10 WHERE population_1991_census = 476 OFFSET 815
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1691800_2 (population__2010_ VARCHAR, municipality VARCHAR) ### Question: what is the population where municipality is san jacinto? ### Answer: SELECT population__2010_ FROM table_1691800_2 WHERE municipality = "San Jacinto"
Below is an context that describes a sql 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 (rank VARCHAR, time VARCHAR) ### Question: What rank did the time of 7:31.90 receive? ### Answer: SELECT COUNT(rank) FROM table_name_62 WHERE time = "7:31.90"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE APPELLATIONs (Appelation VARCHAR, Area VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR) ### Question: Find the names of all distinct wines that have appellations in North Coast area. ### Answer: SELECT DISTINCT T2.Name FROM APPELLATIONs AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.Area = "North Coast"
Below is an context that describes a sql 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 (points VARCHAR, played INTEGER) ### Question: What is the Points with a Played larger than 14? ### Answer: SELECT COUNT(points) FROM table_name_18 WHERE played > 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_73 (result VARCHAR, rank VARCHAR) ### Question: What was the result of rank 1? ### Answer: SELECT result FROM table_name_73 WHERE rank = 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_97 (earnings___ INTEGER, wins VARCHAR, events VARCHAR) ### Question: What is the number of earning for more than 2 wins and less than 25 events? ### Answer: SELECT SUM(earnings___) AS $__ FROM table_name_97 WHERE wins > 2 AND events < 25
Below is an context that describes a sql 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 (away_team VARCHAR, attendance VARCHAR) ### Question: Who was the away team when the attendance was 7,891? ### Answer: SELECT away_team FROM table_name_28 WHERE attendance = "7,891"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1745843_2 (part_2 VARCHAR, part_4 VARCHAR) ### Question: What word is listed under part 2 for part 4 *ridanaz? ### Answer: SELECT part_2 FROM table_1745843_2 WHERE part_4 = "*ridanaz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE film (Studio VARCHAR, Director VARCHAR) ### Question: Show the studios that have not produced films with director "Walter Hill". ### Answer: SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director = "Walter Hill"
Below is an context that describes a 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_23 (result VARCHAR, district VARCHAR) ### Question: Name the total number of result for mississippi 4? ### Answer: SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 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_53 (stories VARCHAR, height__m_ VARCHAR, year_of_completion VARCHAR) ### Question: How many stories have a height less than 138 meters with a completion date in 1971? ### Answer: SELECT stories FROM table_name_53 WHERE height__m_ < 138 AND year_of_completion = 1971
Below is an context that describes a sql 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 (game_site VARCHAR, attendance VARCHAR) ### Question: Where was the game that had an attendance of 39,889? ### Answer: SELECT game_site FROM table_name_64 WHERE attendance = "39,889"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) ### Question: Which label is in a limited edition cd/dvd format? ### Answer: SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE GRAPES (GRAPE VARCHAR, Color VARCHAR); CREATE TABLE WINE (Winery VARCHAR, GRAPE VARCHAR) ### Question: Find the top 3 wineries with the greatest number of wines made of white color grapes. ### Answer: SELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE = T2.GRAPE WHERE T1.Color = "White" GROUP BY T2.Winery 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_66 (iata VARCHAR, icao VARCHAR) ### Question: For an ICAO of VCCT, what is the IATA? ### Answer: SELECT iata FROM table_name_66 WHERE icao = "vcct"
Below is an context that describes a sql 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 VARCHAR, average VARCHAR) ### Question: Which season's average was 37.5? ### Answer: SELECT season FROM table_name_31 WHERE average = 37.5
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (original_title VARCHAR, winner_and_nominees VARCHAR) ### Question: What was the original title for the king's speech? ### Answer: SELECT original_title FROM table_name_58 WHERE winner_and_nominees = "the king's speech"
Below is an context that describes a sql 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 (extra VARCHAR, tournament VARCHAR) ### Question: Tell me the extra for tournament of olympic games ### Answer: SELECT extra FROM table_name_14 WHERE tournament = "olympic games"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, age INTEGER) ### Question: Find the number of students who is older than 20 in each dorm. ### Answer: SELECT COUNT(*), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.age > 20 GROUP BY T3.dorm_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_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR) ### Question: Who was the constitutional ticket when william karlin was the socialist ticket? ### Answer: SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin"
Below is an context that describes a sql 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 (high_rebounds VARCHAR, high_assists VARCHAR) ### Question: What is High Rebounds, when High Assists is "Delonte West (10)"? ### Answer: SELECT high_rebounds FROM table_name_86 WHERE high_assists = "delonte west (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_23 (home_team VARCHAR) ### Question: What did Footscray score at the home game? ### Answer: SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR) ### Question: Name the vote for thiago ### Answer: SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago"