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_17 (points INTEGER, december VARCHAR, game VARCHAR) ### Question: What is the average points that have a December less than 6, with a game greater than 26? ### Answer: SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26
Below is an context that describes a sql 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 (brazil_scorers VARCHAR, score VARCHAR) ### Question: What Brazil scorers have a 1-1 Score? ### Answer: SELECT brazil_scorers FROM table_name_93 WHERE score = "1-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 (loss INTEGER, avg_g VARCHAR) ### Question: WHAT IS THE LOSS WITH AN AVERAGE OF 89.9? ### Answer: SELECT SUM(loss) FROM table_name_18 WHERE avg_g = 89.9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (rifle VARCHAR, german_gewehr_98 VARCHAR) ### Question: What is the Rifle when the German Gewehr 98 is 74cm? ### Answer: SELECT rifle FROM table_name_94 WHERE german_gewehr_98 = "74cm"
Below is an context that describes a sql 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 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR) ### Question: What is the smallest rank for an industry of banking, a company of bank of america, and profits (billion $) larger than 16.47? ### Answer: SELECT MIN(rank) FROM table_name_36 WHERE industry = "banking" AND company = "bank of america" AND profits__billion_$_ > 16.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_55 (away_team VARCHAR, venue VARCHAR) ### Question: Which away team played at MCG? ### Answer: SELECT away_team FROM table_name_55 WHERE venue = "mcg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (a_score VARCHAR, nation VARCHAR, t_score VARCHAR) ### Question: What was the total number of A scores for Japan when the T score was more than 4? ### Answer: SELECT COUNT(a_score) FROM table_name_63 WHERE nation = "japan" AND t_score > 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_2430014_8 (directed_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR) ### Question: How many directors worked on the episode with 2.27m (5) is the ratings? ### Answer: SELECT COUNT(directed_by) FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (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_64 (earnings__ VARCHAR, player VARCHAR, rank VARCHAR) ### Question: How much did jim colbert earned ranked above 2? ### Answer: SELECT COUNT(earnings__) AS $__ FROM table_name_64 WHERE player = "jim colbert" AND rank < 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (plural VARCHAR, plural_gender VARCHAR, meaning VARCHAR) ### Question: What is the plural if the meaning is python and the plural gender is n? ### Answer: SELECT plural FROM table_name_92 WHERE plural_gender = "n" AND meaning = "python"
Below is an context that describes a sql 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 (heat INTEGER, lane VARCHAR, country VARCHAR, mark VARCHAR) ### Question: What is the lowest heat for the United states with a mark of 51.85 pb and lane higher than 6? ### Answer: SELECT MIN(heat) FROM table_name_43 WHERE country = "united states" AND mark = "51.85 pb" AND lane > 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_27864661_6 (total_wins VARCHAR, first_title VARCHAR) ### Question: How many wins are listed when the first title is 2004? ### Answer: SELECT total_wins FROM table_27864661_6 WHERE first_title = 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 job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR) ### Question: display all the information of those employees who did not have any job in the past. ### Answer: SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: What was the score in the game where the record was 10-9-7? ### Answer: SELECT score FROM table_name_94 WHERE record = "10-9-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_98 (gold INTEGER, rank VARCHAR, silver VARCHAR) ### Question: What is the sum of gold with a rank that is 3 and a silver larger than 7? ### Answer: SELECT SUM(gold) FROM table_name_98 WHERE rank = "3" AND silver > 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (venue VARCHAR, score VARCHAR) ### Question: What is the venue of the match with a score of 33-22? ### Answer: SELECT venue FROM table_name_45 WHERE score = "33-22"
Below is an context that describes a sql 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 (entrant VARCHAR, chassis VARCHAR) ### Question: Name the entrant for chassis of gh1 ### Answer: SELECT entrant FROM table_name_27 WHERE chassis = "gh1"
Below is an context that describes a sql 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 (date VARCHAR, opponent_in_final VARCHAR) ### Question: What date was the opponent in the final Virginie Pichet? ### Answer: SELECT date FROM table_name_46 WHERE opponent_in_final = "virginie pichet"
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114? ### Answer: SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, standard_stamp_duty VARCHAR) ### Question: When the standard stamp duty is 367 what is the percentage over gdp? ### Answer: SELECT over_gdp__in__percentage_ FROM table_1618358_1 WHERE standard_stamp_duty = "367"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR) ### Question: Who was the stage winner of the letua cycling team on stage 2? ### Answer: SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 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_178408_1 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) ### Question: Name the location of the church for bremanger ### Answer: SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger"
Below is an context that describes a sql 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 (occupation VARCHAR, candidate VARCHAR) ### Question: What occupation does Mary Louise Lorefice have? ### Answer: SELECT occupation FROM table_name_35 WHERE candidate = "mary louise lorefice"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25213146_2 (pole_position VARCHAR, date VARCHAR) ### Question: How many Pole Positions were there on 30 March? ### Answer: SELECT COUNT(pole_position) FROM table_25213146_2 WHERE date = "30 March"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, year INTEGER) ### Question: who is the opponent in the final when the year is before 1883? ### Answer: SELECT opponent_in_the_final FROM table_name_8 WHERE year < 1883
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_171666_1 (rank VARCHAR, area__sq_mi_ VARCHAR) ### Question: What is the rank of the division with an area of 456800 sq mi? ### Answer: SELECT rank FROM table_171666_1 WHERE area__sq_mi_ = 456800
Below is an context that describes a sql 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 (partner VARCHAR, year VARCHAR, score_in_the_final VARCHAR) ### Question: Who was the partner where the score was 2–6, 3–6 and happened after 2007? ### Answer: SELECT partner FROM table_name_86 WHERE year > 2007 AND score_in_the_final = "2–6, 3–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_1458412_1 (year VARCHAR, avg_start VARCHAR) ### Question: What is the totl amount of years where avg start is 27.3? ### Answer: SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.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_86 (writer VARCHAR, title VARCHAR) ### Question: Who wrote Infiltration? ### Answer: SELECT writer FROM table_name_86 WHERE title = "infiltration"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20887670_1 (institution VARCHAR, location VARCHAR) ### Question: what is the name of the institution of the sparta, wi location? ### Answer: SELECT institution FROM table_20887670_1 WHERE location = "Sparta, WI"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1557752_1 (platelet_count VARCHAR, condition VARCHAR) ### Question: What is the condition of the platelet counts in hemophilia? ### Answer: SELECT platelet_count FROM table_1557752_1 WHERE condition = "Hemophilia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR) ### Question: WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6? ### Answer: SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = "smw rovers" AND wins > 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_name_7 (date_of_demolition VARCHAR, location VARCHAR) ### Question: How many dates of demolition are located on Wood Street? ### Answer: SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE location = "wood street"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25548213_1 (title VARCHAR, directed_by VARCHAR) ### Question: What was the name of the episode that bill lawrence directed? ### Answer: SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence"
Below is an context that describes a 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_16 (mlb_draft VARCHAR, position VARCHAR) ### Question: What MLB Drafts have the position pitcher/infielder? ### Answer: SELECT mlb_draft FROM table_11677100_16 WHERE position = "Pitcher/Infielder"
Below is an context that describes a sql 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 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? ### Answer: SELECT nationality FROM table_name_59 WHERE position = "guard" AND school_club_team = "notre dame"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: What was the attendance on July 30? ### Answer: SELECT AVG(attendance) FROM table_name_77 WHERE date = "july 30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR) ### Question: No Decision listed above has a visitor of Montreal. ### Answer: SELECT decision FROM table_name_62 WHERE visitor = "montreal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25352318_1 (poles INTEGER) ### Question: What is the lowest overall amount of poles? ### Answer: SELECT MIN(poles) FROM table_25352318_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_21808535_1 (runner_up VARCHAR, date VARCHAR) ### Question: Who was the runner-up on September 11? ### Answer: SELECT runner_up FROM table_21808535_1 WHERE date = "September 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 Highschooler (grade VARCHAR) ### Question: Show the number of high schoolers for each grade. ### Answer: SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26032940_2 (main_cast VARCHAR, airdate VARCHAR) ### Question: Who was the cast on the 3/23/1963 episode? ### Answer: SELECT main_cast FROM table_26032940_2 WHERE airdate = "3/23/1963"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) ### Question: what is the song name for the film name ganga kare insaaf? ### Answer: SELECT song_name FROM table_11827596_2 WHERE film_name = "Ganga Kare Insaaf"
Below is an context that describes a sql 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 (year_joined VARCHAR, school VARCHAR) ### Question: In what year did the team from the Western school join the conference? ### Answer: SELECT year_joined FROM table_name_10 WHERE school = "western"
Below is an context that describes a sql 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 (name VARCHAR, year VARCHAR) ### Question: Which event happened in 1988? ### Answer: SELECT name FROM table_name_91 WHERE year = "1988"
Below is an context that describes a sql 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 (snow__days_year_ INTEGER, sunshine__hrs_year_ VARCHAR, storms__days_year_ VARCHAR) ### Question: What is the amount of snow where the sunshine is 1 633, and storms are lower than 29? ### Answer: SELECT AVG(snow__days_year_) FROM table_name_23 WHERE sunshine__hrs_year_ = "1 633" AND storms__days_year_ < 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR) ### Question: When has winnipeg jets with a Score of 4–6? ### Answer: SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–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_name_47 (played INTEGER, goals_conceded VARCHAR, draw VARCHAR) ### Question: What was the highest number played when there were 21 goals conceded and a draw greater than 3? ### Answer: SELECT MAX(played) FROM table_name_47 WHERE goals_conceded = 21 AND draw > 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_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What driver has under 19 laps and a grid under 10? ### Answer: SELECT driver FROM table_name_89 WHERE laps < 19 AND grid < 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (total INTEGER, rank VARCHAR, gold VARCHAR) ### Question: What is the largest total when the rank is 6 and there's less than 1 gold? ### Answer: SELECT MAX(total) FROM table_name_31 WHERE rank = "6" AND gold < 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_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR) ### Question: What is the Middle German (Luxemburgish) word for ein? ### Answer: SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_21 (party VARCHAR, incumbent VARCHAR) ### Question: what is the party where the incumbent is edward boland? ### Answer: SELECT party FROM table_1341690_21 WHERE incumbent = "Edward Boland"
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What team was the away team at Junction Oval? ### Answer: SELECT away_team FROM table_name_20 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_68 (gender VARCHAR, name VARCHAR) ### Question: What genders did Lynmore Primary School take? ### Answer: SELECT gender FROM table_name_68 WHERE name = "lynmore primary school"
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR, score VARCHAR) ### Question: What is the Venue with a Result of 10–0, and a Score with 3–0? ### Answer: SELECT venue FROM table_name_64 WHERE result = "10–0" AND score = "3–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_43 (wins VARCHAR, team VARCHAR, year VARCHAR) ### Question: How many wins does Benelli have before 1962? ### Answer: SELECT COUNT(wins) FROM table_name_43 WHERE team = "benelli" AND year < 1962
Below is an context that describes a sql 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 (lane INTEGER, name VARCHAR) ### Question: What is the average lane that is called rebecca brown? ### Answer: SELECT AVG(lane) FROM table_name_88 WHERE name = "rebecca brown"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14928423_1 (director_s_ VARCHAR, original_title VARCHAR) ### Question: how many directors for the film мајки ### Answer: SELECT COUNT(director_s_) FROM table_14928423_1 WHERE original_title = "Мајки"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30087032_5 (high_points VARCHAR, game VARCHAR) ### Question: Who did the high points in game number 1? ### Answer: SELECT high_points FROM table_30087032_5 WHERE game = 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_32 (against VARCHAR, position INTEGER) ### Question: Which Against has a Position larger than 11? ### Answer: SELECT COUNT(against) FROM table_name_32 WHERE position > 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_22 (date VARCHAR, record VARCHAR) ### Question: what date has the record of 77-62? ### Answer: SELECT date FROM table_name_22 WHERE record = "77-62"
Below is an context that describes a sql 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 (round INTEGER, event VARCHAR) ### Question: What was the lowest round for the KOTC 25: Flaming Fury event? ### Answer: SELECT MIN(round) FROM table_name_82 WHERE event = "kotc 25: flaming fury"
Below is an context that describes a sql 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 (year INTEGER, edition VARCHAR, winner VARCHAR) ### Question: I want the sum of year for edition more than 4 and winners of new york red bulls ### Answer: SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"
Below is an context that describes a sql 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 (overall VARCHAR, position VARCHAR) ### Question: What is the overall of the running back player? ### Answer: SELECT overall FROM table_name_91 WHERE position = "running back"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14330096_3 (title VARCHAR, writer VARCHAR) ### Question: What's the title of the episode that Rob Heyland wrote? ### Answer: SELECT title FROM table_14330096_3 WHERE writer = "Rob Heyland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) ### Question: Which Mountains classification has a General classification of egoi martínez, and a Stage of 9? ### Answer: SELECT mountains_classification FROM table_name_42 WHERE general_classification = "egoi martínez" AND stage = "9"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (partially_deleted VARCHAR, name VARCHAR) ### Question: What is the partially deleted result for Bunker Hill Mining & Metallurgical? ### Answer: SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1204998_2 (simplified VARCHAR, pinyin VARCHAR) ### Question: When pinyin is xīnluó qū, what is the simplified value? ### Answer: SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū"
Below is an context that describes a 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_3 (itv1_weekly_ranking INTEGER) ### Question: What is the maximum ITV1 weekly ranking? ### Answer: SELECT MAX(itv1_weekly_ranking) FROM table_25664518_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_50 (pick__number INTEGER, college VARCHAR) ### Question: What is the Pick # of the player from Simon Fraser College? ### Answer: SELECT AVG(pick__number) FROM table_name_50 WHERE college = "simon fraser"
Below is an context that describes a sql 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 (name VARCHAR, home_venue VARCHAR, city VARCHAR) ### Question: What squad plays at comunale in darfo boario terme? ### Answer: SELECT name FROM table_name_40 WHERE home_venue = "comunale" AND city = "darfo boario terme"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_228973_3 (title VARCHAR, no_in_series VARCHAR) ### Question: what is the name of the episode whose number of the series episode was 31? ### Answer: SELECT title FROM table_228973_3 WHERE no_in_series = 31
Below is an context that describes a sql 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 (number INTEGER, year_start VARCHAR, year_end VARCHAR) ### Question: Which Number has a Year Start smaller than 1874, and a Year End larger than 1873? ### Answer: SELECT MAX(number) FROM table_name_13 WHERE year_start < 1874 AND year_end > 1873
Below is an context that describes a 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 (party VARCHAR, first_elected VARCHAR) ### Question: Name the party for 1998 first elected ### Answer: SELECT party FROM table_25030512_24 WHERE first_elected = "1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR) ### Question: What is the weight of the player from club panionios g.c. and was born on 1975-05-21? ### Answer: SELECT weight FROM table_name_70 WHERE club = "panionios g.c." AND date_of_birth = "1975-05-21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17360840_4 (attendance INTEGER, record VARCHAR) ### Question: What is the minimum attendance on games of record 0-2-1 ### Answer: SELECT MIN(attendance) FROM table_17360840_4 WHERE record = "0-2-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_14984103_1 (attendance INTEGER, game_site VARCHAR) ### Question: Name the most attendance for game site for los angeles memorial coliseum ### Answer: SELECT MAX(attendance) FROM table_14984103_1 WHERE game_site = "Los Angeles Memorial Coliseum"
Below is an context that describes a sql 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 (release_date VARCHAR, part_number_s_ VARCHAR) ### Question: What date was part number rk80533pz933256 released? ### Answer: SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE museum (open_year VARCHAR) ### Question: How many museums were opened after 2013 or before 2008? ### Answer: SELECT COUNT(*) FROM museum WHERE open_year > 2013 OR open_year < 2008
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) ### Question: who is the constructor when the grid is more than 10 and the time/retired is +1 lap? ### Answer: SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = "+1 lap"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) ### Question: Churai has what as the fewest number of electorates? ### Answer: SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"
Below is an context that describes a sql 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 (lost VARCHAR, points VARCHAR, name VARCHAR) ### Question: How much Lost has Points larger than 15, and a Name of ev pegnitz? ### Answer: SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = "ev pegnitz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12828723_5 (drawn VARCHAR, points_against VARCHAR) ### Question: What were the drawn with points against at 416? ### Answer: SELECT drawn FROM table_12828723_5 WHERE points_against = "416"
Below is an context that describes a sql 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 (total VARCHAR, league INTEGER) ### Question: what is the total when the league is less than 1? ### Answer: SELECT total FROM table_name_89 WHERE league < 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_36 (nominee VARCHAR, vote_to_save VARCHAR) ### Question: Which Nominee has a Vote to Save of 1.98%? ### Answer: SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%"
Below is an context that describes a sql 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 (owner VARCHAR, call_sign VARCHAR) ### Question: Who is the owner of CKLF-FM? ### Answer: SELECT owner FROM table_name_78 WHERE call_sign = "cklf-fm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27539535_4 (game INTEGER, score VARCHAR) ### Question: What is the least entry for game if the score is 1-0? ### Answer: SELECT MIN(game) FROM table_27539535_4 WHERE score = "1-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_20745754_1 (_number VARCHAR, attendance VARCHAR) ### Question: What game number had an attendance of 2813? ### Answer: SELECT _number FROM table_20745754_1 WHERE attendance = 2813
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (Id VARCHAR) ### Question: What is 2007, when 2003 is 1R? ### Answer: SELECT 2007 FROM table_name_54 WHERE 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_61 (airport VARCHAR, icao VARCHAR) ### Question: Which airport's ICAO is rpvi? ### Answer: SELECT airport FROM table_name_61 WHERE icao = "rpvi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (react VARCHAR, lane VARCHAR, heat VARCHAR) ### Question: what is the react when the lane is 3 and heat is 2? ### Answer: SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 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_34 (mark INTEGER, rank VARCHAR) ### Question: What is the lowest mark of the rank 8 record? ### Answer: SELECT MIN(mark) FROM table_name_34 WHERE rank = 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_58 (percent_of_mass VARCHAR, molecules VARCHAR) ### Question: what is the perfect of mass when the molecules is 1.74e14*? ### Answer: SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1.74e14*"
Below is an context that describes a sql 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 (country VARCHAR, city VARCHAR) ### Question: Name the country for johannesburg ### Answer: SELECT country FROM table_name_35 WHERE city = "johannesburg"
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR) ### Question: Which Score has a Visitor of atlanta? ### Answer: SELECT score FROM table_name_72 WHERE visitor = "atlanta"
Below is an context that describes a sql 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 (losses INTEGER, win__percentage VARCHAR, no_result VARCHAR) ### Question: What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0? ### Answer: SELECT SUM(losses) FROM table_name_23 WHERE win__percentage = "71.43%" AND no_result > 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_18 (chipset_based_on VARCHAR, retail_name VARCHAR, digital_analog_signal VARCHAR, available_interface VARCHAR) ### Question: What is the Chipset based on with a Digital/analog signal of analog, with an Available interface of agp, with Retail name with all-in-wonder 9800? ### Answer: SELECT chipset_based_on FROM table_name_18 WHERE digital_analog_signal = "analog" AND available_interface = "agp" AND retail_name = "all-in-wonder 9800"
Below is an context that describes a sql 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 (wins VARCHAR, matches VARCHAR) ### Question: what was the win for the 6 matches? ### Answer: SELECT wins FROM table_name_17 WHERE matches = "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_name_66 (off_site_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR) ### Question: With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs? ### Answer: SELECT AVG(off_site_atms) FROM table_name_66 WHERE bank_type = "foreign banks" AND on_site_atms < 218
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE school (Denomination VARCHAR) ### Question: Show the denomination shared by more than one school. ### Answer: SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*) > 1