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_27274566_2 (date VARCHAR, home_team VARCHAR, division VARCHAR) ### Question: What is the date where the home team was kaizer chiefs and the division was mtn 8 semi-final? ### Answer: SELECT date FROM table_27274566_2 WHERE home_team = "Kaizer Chiefs" AND division = "MTN 8 Semi-final"
Below is an context that describes a sql 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 (date VARCHAR, runner_s__up VARCHAR) ### Question: What is the date that has yani tseng as the runner (s)-up? ### Answer: SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng"
Below is an context that describes a sql 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, score VARCHAR) ### Question: What was the place when the score was 71-69-71=211? ### Answer: SELECT place FROM table_name_22 WHERE score = 71 - 69 - 71 = 211
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18676973_3 (most_recent_date VARCHAR, country VARCHAR) ### Question: When united kingdom is the country what is the most recent date? ### Answer: SELECT most_recent_date FROM table_18676973_3 WHERE country = "United Kingdom"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25352324_5 (assists VARCHAR, player VARCHAR) ### Question: What is every entry for assists if the player is Lynn Pride? ### Answer: SELECT assists FROM table_25352324_5 WHERE player = "Lynn Pride"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR) ### Question: Find the name of the user who gives the most reviews. ### Answer: SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_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_62 (diameter__km_ VARCHAR, name VARCHAR) ### Question: What is the diameter in km of t'ien hu colles? ### Answer: SELECT diameter__km_ FROM table_name_62 WHERE name = "t'ien hu colles"
Below is an context that describes a sql 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 (deputy_prime_minister VARCHAR, left_office VARCHAR) ### Question: Which deputy prime minister left office in 1981? ### Answer: SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "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_name_28 (test_standard VARCHAR, usage VARCHAR, class VARCHAR) ### Question: Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4 ### Answer: SELECT test_standard FROM table_name_28 WHERE usage = "secondary filters" AND class = "f5"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1213511_6 (nhl_team VARCHAR, player VARCHAR) ### Question: Which team does Pierre Duguay play for? ### Answer: SELECT nhl_team FROM table_1213511_6 WHERE player = "Pierre Duguay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR) ### Question: What year was the BBC two total viewing 7,530,000? ### Answer: SELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = "7,530,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_48 (game INTEGER, record VARCHAR) ### Question: What was the earliest game with a record of 23–6–4? ### Answer: SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR) ### Question: What years does plateau school serve? ### Answer: SELECT years FROM table_name_96 WHERE name = "plateau 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_54 (rank VARCHAR, matches VARCHAR) ### Question: How many ranks had 205 matches? ### Answer: SELECT COUNT(rank) FROM table_name_54 WHERE matches = 205
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27948565_1 (round VARCHAR, circuit VARCHAR) ### Question: Name the number of rounds for brno ### Answer: SELECT COUNT(round) FROM table_27948565_1 WHERE circuit = "Brno"
Below is an context that describes a sql 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 (high_assists VARCHAR, team VARCHAR) ### Question: Tell me the high assists for orlando ### Answer: SELECT high_assists FROM table_name_46 WHERE team = "orlando"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2822193_1 (seasons VARCHAR, series VARCHAR) ### Question: How many seasons are there with Formula Holden? ### Answer: SELECT COUNT(seasons) FROM table_2822193_1 WHERE series = "Formula Holden"
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR, points VARCHAR) ### Question: what is the engine for year less than 1959 and points more than 4? ### Answer: SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 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_97 (erp_w INTEGER, frequency_mhz VARCHAR) ### Question: What is the highest ERP W of an 89.1 frequency translator? ### Answer: SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.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 member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Name VARCHAR, Member_ID VARCHAR) ### Question: List the names of members who did not attend any performance. ### Answer: SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance)
Below is an context that describes a sql 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 (club VARCHAR, league_goals VARCHAR, total VARCHAR) ### Question: Which club has 16 league goals for a total of 20? ### Answer: SELECT club FROM table_name_2 WHERE league_goals = "16" AND total = 20
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (qual_1 VARCHAR, name VARCHAR) ### Question: What is Alex Tagliani's qual 1? ### Answer: SELECT qual_1 FROM table_name_89 WHERE name = "alex tagliani"
Below is an context that describes a sql 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 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) ### Question: What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital? ### Answer: SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR) ### Question: What was the grid for rider Russell Holland, riding a Honda CBR1000rr? ### Answer: SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
Below is an context that describes a sql 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 (score VARCHAR, save VARCHAR) ### Question: What score occurred when the save was ||27,108||63–44? ### Answer: SELECT score FROM table_name_93 WHERE save = "||27,108||63–44"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Teachers (first_name VARCHAR, email_address VARCHAR) ### Question: Find the first names of teachers whose email address contains the word "man". ### Answer: SELECT first_name FROM Teachers WHERE email_address LIKE '%man%'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR) ### Question: What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? ### Answer: SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang"
Below is an context that describes a sql 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 (pass_def INTEGER, sacks VARCHAR, team VARCHAR, solo VARCHAR) ### Question: What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2? ### Answer: SELECT AVG(pass_def) FROM table_name_63 WHERE team = "green bay packers" AND solo = 62 AND sacks < 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_48 (loss VARCHAR, date VARCHAR) ### Question: What was the losing score on September 1? ### Answer: SELECT loss FROM table_name_48 WHERE date = "september 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_17881033_1 (division_north VARCHAR, season VARCHAR) ### Question: what is the division north in 2007–08 ### Answer: SELECT division_north FROM table_17881033_1 WHERE season = "2007–08"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR) ### Question: What actor was nominted for an award in the film Anastasiya Slutskaya? ### Answer: SELECT actors_name FROM table_10236830_6 WHERE film_name = "Anastasiya Slutskaya"
Below is an context that describes a sql 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 (rank_points VARCHAR, score_points VARCHAR) ### Question: What is the rank for the player where there are 11 points? ### Answer: SELECT rank_points FROM table_name_87 WHERE score_points = "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_50 (playoffs VARCHAR, points VARCHAR, head_coach VARCHAR, finish VARCHAR) ### Question: What was the playoff status when the head coach was Brent Sutter, the finish was 4th central, and the points were 82? ### Answer: SELECT playoffs FROM table_name_50 WHERE head_coach = "brent sutter" AND finish = "4th central" AND points = "82"
Below is an context that describes a sql 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 (issue_date VARCHAR, download VARCHAR, artist VARCHAR) ### Question: What's the Issue Date for an Eric Prydz song with a no available Download information? ### Answer: SELECT issue_date FROM table_name_89 WHERE download = "no available" AND artist = "eric prydz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR) ### Question: What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? ### Answer: SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant"
Below is an context that describes a sql 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 (week VARCHAR, result VARCHAR) ### Question: What is the Week number with a result of l 31–28? ### Answer: SELECT COUNT(week) FROM table_name_77 WHERE result = "l 31–28"
Below is an context that describes a sql 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 (matches VARCHAR, year VARCHAR) ### Question: What is Matches, when Year is "2003"? ### Answer: SELECT matches FROM table_name_72 WHERE year = "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_65 (bronze INTEGER, silver INTEGER) ### Question: Which country has the highest bronze amount and a silver amount bigger than 41? ### Answer: SELECT MAX(bronze) FROM table_name_65 WHERE silver > 41
Below is an context that describes a sql 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 (molecular_target VARCHAR, marine_organism_α VARCHAR) ### Question: What is the molecular target of bacterium? ### Answer: SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = "bacterium"
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR) ### Question: Who is the opponent of game 54, which was in Los Angeles and was before day 18? ### Answer: SELECT opponent FROM table_name_26 WHERE location_attendance = "los angeles" AND date < 18 AND game = 54
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27361255_1 (team_nickname VARCHAR, location VARCHAR) ### Question: What is the nickname of the Adrian, Michigan team? ### Answer: SELECT team_nickname FROM table_27361255_1 WHERE location = "Adrian, Michigan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR) ### Question: Which major town is located within the Outback Areas Community Development Trust? ### Answer: SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR) ### Question: What film festival had the Best Male Actor? ### Answer: SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor"
Below is an context that describes a sql 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 (session VARCHAR, event VARCHAR) ### Question: The Fall Nationals has what sessions? ### Answer: SELECT session FROM table_name_84 WHERE event = "fall nationals"
Below is an context that describes a sql 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 (away_team VARCHAR, score VARCHAR) ### Question: What away team scored 107-104? ### Answer: SELECT away_team FROM table_name_84 WHERE score = "107-104"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1942366_9 (high VARCHAR, low VARCHAR) ### Question: What's the C_{high} when the C_{low} value is 250.5? ### Answer: SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.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 payment (payment_date VARCHAR, staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, first_name VARCHAR); CREATE TABLE payment (payment_date VARCHAR, amount INTEGER) ### Question: Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa. ### Answer: SELECT payment_date FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa'
Below is an context that describes a sql 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 VARCHAR, nominee VARCHAR) ### Question: How many years were they nominated for outstanding musical? ### Answer: SELECT COUNT(year) FROM table_name_93 WHERE nominee = "outstanding musical"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28035004_1 (operator VARCHAR, bodybuilder VARCHAR) ### Question: Who is the operator when Roe was the bodybuilder? ### Answer: SELECT operator FROM table_28035004_1 WHERE bodybuilder = "Roe"
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR) ### Question: What is Venue, when Result is "0-0"? ### Answer: SELECT venue FROM table_name_65 WHERE result = "0-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_31 (name VARCHAR, number VARCHAR, type VARCHAR) ### Question: What is the name of the bo-bodh train with a number less than 5? ### Answer: SELECT name FROM table_name_31 WHERE number < 5 AND type = "bo-bodh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Assets (asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR) ### Question: List the all the assets make, model, details by the disposed date ascendingly. ### Answer: SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date
Below is an context that describes a sql 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 (seasons INTEGER, years VARCHAR, lost VARCHAR) ### Question: What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses? ### Answer: SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 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_1341672_14 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Name the total number of incumbent for first elected of 1944 ### Answer: SELECT COUNT(incumbent) FROM table_1341672_14 WHERE first_elected = 1944
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15001957_1 (womens_doubles VARCHAR, mens_singles VARCHAR) ### Question: How may women doubles winner were there when Philippe Aulner was mens singles winner? ### Answer: SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = "Philippe Aulner"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14038363_1 (height VARCHAR, player VARCHAR) ### Question: How tall is Maksim Botin? ### Answer: SELECT height FROM table_14038363_1 WHERE player = "Maksim Botin"
Below is an context that describes a sql 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 (category VARCHAR, cancelable VARCHAR, type VARCHAR) ### Question: When Cancelable of yes, and a Type of drag, what was the Category? ### Answer: SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (margin_of_victory VARCHAR, runner_s__up VARCHAR) ### Question: By how many strokes did Lema beat Jack Nicklaus? ### Answer: SELECT margin_of_victory FROM table_name_16 WHERE runner_s__up = "jack nicklaus"
Below is an context that describes a sql 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 (opponent VARCHAR, round VARCHAR, record VARCHAR) ### Question: Who is the opponent in the fight of 1 round when the record is 18-7? ### Answer: SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-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_71 (race_1 VARCHAR, team VARCHAR, race_3 VARCHAR) ### Question: What is Race 1, when Team is "Dick Johnson Racing", and when Race 3 is "DNF"? ### Answer: SELECT race_1 FROM table_name_71 WHERE team = "dick johnson racing" AND race_3 = "dnf"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR) ### Question: What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49% ### Answer: SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percentage_yes = "66.49%"
Below is an context that describes a sql 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 (position VARCHAR, drawn VARCHAR, difference VARCHAR) ### Question: What is the Position when the Drawn is less than 2, with a Difference of 2? ### Answer: SELECT position FROM table_name_65 WHERE drawn < "2" AND difference = "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_43 (team VARCHAR, matches VARCHAR) ### Question: Tell me the team which has matches of 13 ### Answer: SELECT team FROM table_name_43 WHERE matches = 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_name_39 (distance VARCHAR, venue VARCHAR) ### Question: What is Distance, when Venue is "Belgrade"? ### Answer: SELECT distance FROM table_name_39 WHERE venue = "belgrade"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR) ### Question: Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup? ### Answer: SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR) ### Question: What week was October 9, 1938? ### Answer: SELECT COUNT(week) FROM table_name_66 WHERE date = "october 9, 1938"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, district VARCHAR) ### Question: Which Result has a First elected of 1876, and a District of south carolina 3? ### Answer: SELECT result FROM table_name_6 WHERE first_elected = 1876 AND district = "south carolina 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_44 (game INTEGER, record VARCHAR) ### Question: What is the smallest game number with a record of 16-7-2? ### Answer: SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-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 artwork (Name VARCHAR, TYPE VARCHAR) ### Question: List the name of artworks whose type is not "Program Talent Show". ### Answer: SELECT Name FROM artwork WHERE TYPE <> "Program Talent Show"
Below is an context that describes a sql 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 (team VARCHAR, run_1 VARCHAR) ### Question: Which team has run 1 of 1:17.44? ### Answer: SELECT team FROM table_name_36 WHERE run_1 = "1:17.44"
Below is an context that describes a sql 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 (socialist_labor_ticket VARCHAR, office VARCHAR) ### Question: Which Socialist Labor ticket has a Office of secretary of state? ### Answer: SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state"
Below is an context that describes a sql 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 (status VARCHAR, index VARCHAR) ### Question: For the event with index f7, what is the status? ### Answer: SELECT status FROM table_name_23 WHERE index = "f7"
Below is an context that describes a sql 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 (city___state VARCHAR, team VARCHAR, winner VARCHAR) ### Question: Tell me the city/state for the holden racing team with winner of mark skaife todd kelly ### Answer: SELECT city___state FROM table_name_33 WHERE team = "holden racing team" AND winner = "mark skaife todd kelly"
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR) ### Question: What is the margin of victory in a semgroup championship? ### Answer: SELECT margin_of_victory FROM table_name_39 WHERE tournament = "semgroup championship"
Below is an context that describes a sql 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 (wsu_year_s_ VARCHAR, pro_year_s_ VARCHAR) ### Question: What is WSU Year(s), when Pro Year(s) is 1974-77? ### Answer: SELECT wsu_year_s_ FROM table_name_88 WHERE pro_year_s_ = "1974-77"
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent when the Washington Nationals had a record of 8-4? ### Answer: SELECT opponent FROM table_name_24 WHERE record = "8-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 university (affiliation VARCHAR, enrollment INTEGER) ### Question: Find the number of universities that have over a 20000 enrollment size for each affiliation type. ### Answer: SELECT COUNT(*), affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR) ### Question: What is the opponent of the game with a w 87-64 score? ### Answer: SELECT opponent FROM table_name_88 WHERE score = "w 87-64"
Below is an context that describes a sql 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 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR) ### Question: Tell me the average top 25 with events of 5 and cuts madde less than 3 ### Answer: SELECT AVG(top_25) FROM table_name_33 WHERE events = 5 AND cuts_made < 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_57 (draw VARCHAR, match VARCHAR, team VARCHAR) ### Question: What was the draw for Lpż Gdańsk with a match of 8? ### Answer: SELECT draw FROM table_name_57 WHERE match = "8" AND team = "lpż gdańsk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (Major VARCHAR) ### Question: Show all majors. ### Answer: SELECT DISTINCT Major FROM Student
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (sport VARCHAR, name VARCHAR) ### Question: What is the Sport with a Name that is gustav larsson? ### Answer: SELECT sport FROM table_name_9 WHERE name = "gustav larsson"
Below is an context that describes a sql 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 (team VARCHAR, circuit VARCHAR) ### Question: Which team raced at Amaroo Park? ### Answer: SELECT team FROM table_name_65 WHERE circuit = "amaroo 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_8 (winner VARCHAR, event VARCHAR) ### Question: The EPT German open was won by which listed winner? ### Answer: SELECT winner FROM table_name_8 WHERE event = "ept german open"
Below is an context that describes a sql 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 (season VARCHAR, location VARCHAR, winners VARCHAR) ### Question: Which season's winner is Panathinaikos and is located in Athens? ### Answer: SELECT season FROM table_name_33 WHERE location = "athens" AND winners = "panathinaikos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16409745_1 (pages_per_minute__color_ INTEGER, product VARCHAR) ### Question: What is the maximum pages per minute for the Xerox Travel Scanner 100? ### Answer: SELECT MAX(pages_per_minute__color_) FROM table_16409745_1 WHERE product = "Xerox Travel Scanner 100"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15621965_8 (school_club_team VARCHAR, player VARCHAR) ### Question: What school did Dwight Howard play for ### Answer: SELECT school_club_team FROM table_15621965_8 WHERE player = "Dwight Howard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR) ### Question: What was the score when the away team was brighton & hove albion? ### Answer: SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion"
Below is an context that describes a sql 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 (result VARCHAR, competition VARCHAR) ### Question: What was the result of the friendly competition? ### Answer: SELECT result FROM table_name_69 WHERE competition = "friendly"
Below is an context that describes a sql 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 (player VARCHAR, total VARCHAR) ### Question: What is Player, when Total is "154"? ### Answer: SELECT player FROM table_name_73 WHERE total = "154"
Below is an context that describes a sql 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 (outcome VARCHAR, score VARCHAR) ### Question: What is the Outcome of the game with a Score of 6–4, 6–4? ### Answer: SELECT outcome FROM table_name_45 WHERE score = "6–4, 6–4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Who was played against in the final on November 14, 1994? ### Answer: SELECT opponent_in_the_final FROM table_name_17 WHERE date = "november 14, 1994"
Below is an context that describes a sql 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 (electronvolt VARCHAR, joule VARCHAR) ### Question: How many electronvolts is 3,600 joules? ### Answer: SELECT electronvolt FROM table_name_44 WHERE joule = "3,600"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (stories VARCHAR, rank VARCHAR) ### Question: Name the total number of stories that had a 16 rank ### Answer: SELECT COUNT(stories) FROM table_name_29 WHERE rank = "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_71 (year_s__won VARCHAR, total INTEGER) ### Question: Which Year(s) won has a Total smaller than 276? Question 1 ### Answer: SELECT year_s__won FROM table_name_71 WHERE total < 276
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR) ### Question: Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297? ### Answer: SELECT date FROM table_name_1 WHERE week > 4 AND venue = "city stadium" AND attendance > 14 OFFSET 297
Below is an context that describes a sql 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 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR) ### Question: What is the average population of the region with a density less than 487, a rank of 9, and an area larger than 377,944? ### Answer: SELECT AVG(population) FROM table_name_24 WHERE density__pop_per_km_2__ < 487 AND rank = 9 AND area__km_2__ > 377 OFFSET 944
Below is an context that describes a sql 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 (pick__number INTEGER, round VARCHAR, overall VARCHAR) ### Question: What is the sum of the pick numbers where the player was picked in round 5 and overall pick number was greater than 159? ### Answer: SELECT SUM(pick__number) FROM table_name_77 WHERE round = 5 AND overall > 159
Below is an context that describes a sql 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 (total VARCHAR, finish VARCHAR) ### Question: What is the total for the player whose finish was t66? ### Answer: SELECT total FROM table_name_70 WHERE finish = "t66"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2160008_4 (district VARCHAR, reason_for_change VARCHAR) ### Question: Name the district for reason for change being died july 4, 1939 ### Answer: SELECT district FROM table_2160008_4 WHERE reason_for_change = "Died July 4, 1939"