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 (order_part_number VARCHAR, multi_1 VARCHAR) ### Question: What is the order part number with a 12.5x multi 1? ### Answer: SELECT order_part_number FROM table_name_61 WHERE multi_1 = "12.5x"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: What is the avarage Attendance for the Date of october 26, 1947? ### Answer: SELECT AVG(attendance) FROM table_name_45 WHERE date = "october 26, 1947"
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR) ### Question: What player scored 71-69-71=211? ### Answer: SELECT player FROM table_name_68 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_name_4 (wins VARCHAR, avg_start INTEGER) ### Question: How many wins for average start less than 25? ### Answer: SELECT COUNT(wins) FROM table_name_4 WHERE avg_start < 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_2679061_7 (nationality VARCHAR, nhl_team VARCHAR) ### Question: What country do the Winnipeg Jets come from? ### Answer: SELECT nationality FROM table_2679061_7 WHERE nhl_team = "Winnipeg Jets"
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, gold VARCHAR) ### Question: What is the average bronze with a total of 15 and less than 2 gold? ### Answer: SELECT AVG(bronze) FROM table_name_69 WHERE total = 15 AND gold < 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_73 (away_team VARCHAR, venue VARCHAR) ### Question: Who played as the away team when they played at Brunswick Street Oval? ### Answer: SELECT away_team FROM table_name_73 WHERE venue = "brunswick street 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_83 (year_built VARCHAR, church_name VARCHAR) ### Question: When was the Hopperstad Stavkyrkje built? ### Answer: SELECT year_built FROM table_name_83 WHERE church_name = "hopperstad stavkyrkje"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR) ### Question: How many overalls have charley barnes as the name, with a pick less than 3? ### Answer: SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 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_83 (song_title VARCHAR, artist VARCHAR) ### Question: What's the title of the song by Winger? ### Answer: SELECT song_title FROM table_name_83 WHERE artist = "winger"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22669044_8 (team VARCHAR, score VARCHAR) ### Question: Name the team for w 115–104 (ot) ### Answer: SELECT team FROM table_22669044_8 WHERE score = "W 115–104 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1414702_3 (enrollment INTEGER, wiaa_classification VARCHAR) ### Question: What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification? ### Answer: SELECT MIN(enrollment) FROM table_1414702_3 WHERE wiaa_classification = "3A"
Below is an context that describes a sql 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 (artist VARCHAR, issue_price VARCHAR, year VARCHAR) ### Question: Who was the artist that had $49.95 as the issue price for the 2010 year? ### Answer: SELECT artist FROM table_name_50 WHERE issue_price = "$49.95" AND 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_27 (source_model VARCHAR, architecture VARCHAR) ### Question: Which Source model has a 16-bit* Architecture? ### Answer: SELECT source_model FROM table_name_27 WHERE architecture = "16-bit*"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR) ### Question: What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5? ### Answer: SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–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_36 (ground VARCHAR, result VARCHAR) ### Question: Where was the game played that has a result of 0-4? ### Answer: SELECT ground FROM table_name_36 WHERE result = "0-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 (away_team VARCHAR, round VARCHAR, home_team VARCHAR) ### Question: In the 6th round match with home team Bahia, who was the away team? ### Answer: SELECT away_team FROM table_name_96 WHERE round = "6th" AND home_team = "bahia"
Below is an context that describes a sql 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 (top_division_titles INTEGER, club VARCHAR) ### Question: What is the largest amount of top division titles featuring the tammeka club? ### Answer: SELECT MAX(top_division_titles) FROM table_name_56 WHERE club = "tammeka"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28962227_1 (runners_up VARCHAR, finale VARCHAR) ### Question: List all the runners-up on 16 October 2012? ### Answer: SELECT runners_up FROM table_28962227_1 WHERE finale = "16 October 2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (team_1 VARCHAR) ### Question: What is the first leg score in that match where Marseille was the first team? ### Answer: SELECT 1 AS st_leg FROM table_name_85 WHERE team_1 = "marseille"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20799587_1 (county VARCHAR, mccain_percentage VARCHAR) ### Question: In how many counties did McCain get 65.72% of the votes? ### Answer: SELECT COUNT(county) FROM table_20799587_1 WHERE mccain_percentage = "65.72%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (expected_end_date VARCHAR, target_approach VARCHAR) ### Question: What is Expected End Date, when Target/Approach is Notes? ### Answer: SELECT expected_end_date FROM table_name_3 WHERE target_approach = "notes"
Below is an context that describes a sql 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 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR) ### Question: What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced? ### Answer: SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 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_16376436_1 (college VARCHAR, position VARCHAR) ### Question: What college did the defensive back attend? ### Answer: SELECT college FROM table_16376436_1 WHERE position = "Defensive 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_name_90 (round INTEGER, player VARCHAR, pick VARCHAR) ### Question: What round was the player Ty Lawson with a pick earlier than 18? ### Answer: SELECT AVG(round) FROM table_name_90 WHERE player = "ty lawson" AND pick < 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (opponent VARCHAR, date VARCHAR) ### Question: What is the opponent for the date of august 5? ### Answer: SELECT opponent FROM table_name_75 WHERE date = "august 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 movie (title VARCHAR, director VARCHAR, YEAR VARCHAR, gross_worldwide VARCHAR) ### Question: What is the title and director for the movie with highest worldwide gross in the year 2000 or before? ### Answer: SELECT title, director FROM movie WHERE YEAR <= 2000 ORDER BY gross_worldwide 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_69 (event VARCHAR, opponent VARCHAR) ### Question: What event did Soares fight against josh spearman? ### Answer: SELECT event FROM table_name_69 WHERE opponent = "josh spearman"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What score has February 10 as the date? ### Answer: SELECT score FROM table_name_57 WHERE date = "february 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_1805191_10 (incumbent VARCHAR, party VARCHAR, district VARCHAR) ### Question: Who is the incumbent democratic party in district florida 11? ### Answer: SELECT incumbent FROM table_1805191_10 WHERE party = "Democratic" AND district = "Florida 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_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR) ### Question: What is Owner, when Finished is less than 15, when Trainer is "Steve Asmussen", and when Horse is "Z Fortune"? ### Answer: SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = "steve asmussen" AND horse = "z fortune"
Below is an context that describes a sql 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 (grid VARCHAR, driver VARCHAR) ### Question: What is the grid total for jean-pierre beltoise? ### Answer: SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise"
Below is an context that describes a sql 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 (lost INTEGER, points VARCHAR, draw VARCHAR) ### Question: What is the total value for Lost, when the value for Points is greater than 21, and when the value for Draw is 2? ### Answer: SELECT SUM(lost) FROM table_name_10 WHERE points > 21 AND draw = 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11178271_1 (weekly_rank VARCHAR, air_date VARCHAR) ### Question: What is the weekly rank with an air date is november 12, 2007? ### Answer: SELECT weekly_rank FROM table_11178271_1 WHERE air_date = "November 12, 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_2430014_9 (series_no INTEGER) ### Question: Name the least series number ### Answer: SELECT MIN(series_no) FROM table_2430014_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_99 (retitled_as_same VARCHAR, last_aired VARCHAR, show VARCHAR) ### Question: Which Retitled as/Same has a Last Aired larger than 1982, and a Show of we got it made? ### Answer: SELECT retitled_as_same FROM table_name_99 WHERE last_aired > 1982 AND show = "we got it made"
Below is an context that describes a sql 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 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari? ### Answer: SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"
Below is an context that describes a sql 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 (nation VARCHAR, points VARCHAR) ### Question: What nation had 1399.3 points? ### Answer: SELECT nation FROM table_name_35 WHERE points = 1399.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_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR) ### Question: How many percentage figures are given for the urban population when the total population number is 14685? ### Answer: SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, player VARCHAR) ### Question: Player Craig Parry of Australia is in what place number? ### Answer: SELECT place FROM table_name_86 WHERE country = "australia" AND player = "craig parry"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27712180_6 (record VARCHAR, date VARCHAR) ### Question: What is the record for the date november 19? ### Answer: SELECT record FROM table_27712180_6 WHERE date = "November 19"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: On September 7 what was the record? ### Answer: SELECT record FROM table_name_63 WHERE date = "september 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_44 (year INTEGER, award_description_s_ VARCHAR) ### Question: What is the average year with an award of platinum? ### Answer: SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum"
Below is an context that describes a sql 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 (date VARCHAR, surface VARCHAR, tournament VARCHAR) ### Question: What is the date of the Sydney, Australia tournament with a hard surface? ### Answer: SELECT date FROM table_name_50 WHERE surface = "hard" AND tournament = "sydney, australia"
Below is an context that describes a sql 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 (goals_scored INTEGER, place VARCHAR, lost VARCHAR) ### Question: Name the least goals scored with place more than 8 and lost less than 8 ### Answer: SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 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_10 (score VARCHAR, date VARCHAR) ### Question: what is the score on may 11, 1997? ### Answer: SELECT score FROM table_name_10 WHERE date = "may 11, 1997"
Below is an context that describes a sql 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 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0? ### Answer: SELECT AVG(rank) FROM table_name_19 WHERE bronze = 2 AND total = 2 AND gold < 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_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) ### Question: When did Gaspare Bona win the Pozzo Circuit? ### Answer: SELECT date FROM table_name_98 WHERE winning_driver = "gaspare bona" AND name = "pozzo circuit"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18481791_3 (title VARCHAR, us_viewers__in_millions_ VARCHAR) ### Question: What is the title when u.s. viewers (millions) is 3.97? ### Answer: SELECT title FROM table_18481791_3 WHERE us_viewers__in_millions_ = "3.97"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR) ### Question: Name the % for core moldova being 4.36% ### Answer: SELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"
Below is an context that describes a sql 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 (player VARCHAR, pick VARCHAR) ### Question: Which player has a pick of 175? ### Answer: SELECT player FROM table_name_58 WHERE pick = 175
Below is an context that describes a sql 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 (football VARCHAR, soccer VARCHAR, golf VARCHAR) ### Question: Which foot ball team played soccer at wooster, and Gold in Ashland? ### Answer: SELECT football FROM table_name_2 WHERE soccer = "wooster" AND golf = "ashland"
Below is an context that describes a sql 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 (record VARCHAR, games VARCHAR) ### Question: What is the Record of the 2013 Nassau Games? ### Answer: SELECT record FROM table_name_2 WHERE games = "2013 nassau"
Below is an context that describes a sql 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 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) ### Question: What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? ### Answer: SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-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 Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR) ### Question: Show the names of students who have at least 2 likes. ### Answer: SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 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_16388047_1 (ground VARCHAR, home_team VARCHAR) ### Question: Name the ground for essendon ### Answer: SELECT ground FROM table_16388047_1 WHERE home_team = "Essendon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21220720_1 (to VARCHAR, league_apps VARCHAR) ### Question: Name the to for 19 league apps ### Answer: SELECT to FROM table_21220720_1 WHERE league_apps = 19
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24222929_3 (original_airdate VARCHAR, episode_number_production_number VARCHAR) ### Question: When did the fourth episode of the season (4 1-04) first air? ### Answer: SELECT original_airdate FROM table_24222929_3 WHERE episode_number_production_number = "4 1-04"
Below is an context that describes a sql 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 (runner_up VARCHAR, event VARCHAR) ### Question: What is Runner-up, when Event is Mancora Peru Classic? ### Answer: SELECT runner_up FROM table_name_87 WHERE event = "mancora peru classic"
Below is an context that describes a sql 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, home_team VARCHAR) ### Question: What is the time of the Essendon home team game? ### Answer: SELECT time FROM table_name_81 WHERE home_team = "essendon"
Below is an context that describes a sql 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 (instrumental VARCHAR, genitive VARCHAR) ### Question: What instrumental has tkven-i as the genitive? ### Answer: SELECT instrumental FROM table_name_42 WHERE genitive = "tkven-i"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR) ### Question: What is the low point total for arrows a22 chassis? ### Answer: SELECT MIN(points) FROM table_name_3 WHERE chassis = "arrows a22"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: How many people attended the game on May 31? ### Answer: SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 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_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR) ### Question: What is the innovation when the economic incentive grime is 7.14? ### Answer: SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.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_98 (event VARCHAR, method VARCHAR) ### Question: What event did Mikhail Avetisyan win by method of DQ (eye gouging)? ### Answer: SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11406866_2 (opponent VARCHAR, tv VARCHAR, game_site VARCHAR) ### Question: who is the opponent where tv is abc and game site is tampa stadium ### Answer: SELECT opponent FROM table_11406866_2 WHERE tv = "ABC" AND game_site = "Tampa Stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE policies (policy_type_code VARCHAR) ### Question: Find the number of records of each policy type and its type code. ### Answer: SELECT policy_type_code, COUNT(*) FROM policies GROUP BY policy_type_code
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21284653_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR) ### Question: What is the change (%) when the area size (km2) is 247.21? ### Answer: SELECT change___percentage_ FROM table_21284653_1 WHERE area__km²_ = "247.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_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR) ### Question: Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h? ### Answer: SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = "18.32 km/h"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER) ### Question: Which Administrative Panel has a Nominated by the Taoiseach smaller than 0? ### Answer: SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 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_11960944_11 (location_attendance VARCHAR, high_assists VARCHAR) ### Question: Where was the game played when the high assists were scored by billups , stuckey (4)? ### Answer: SELECT location_attendance FROM table_11960944_11 WHERE high_assists = "Billups , Stuckey (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_74 (race VARCHAR, date VARCHAR) ### Question: What race occurred on the date of 15 June? ### Answer: SELECT race FROM table_name_74 WHERE date = "15 june"
Below is an context that describes a sql 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 (mlb_draft VARCHAR, player VARCHAR) ### Question: What MLB draft has Shaun Boyd? ### Answer: SELECT mlb_draft FROM table_name_80 WHERE player = "shaun boyd"
Below is an context that describes a sql 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 (displacement VARCHAR, model VARCHAR) ### Question: What is the displacement for the petrol engines model? ### Answer: SELECT displacement FROM table_name_64 WHERE model = "petrol engines"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_174491_1 (fis_nordic_world_ski_championships VARCHAR, country VARCHAR, holmenkollen VARCHAR) ### Question: What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships? ### Answer: SELECT fis_nordic_world_ski_championships FROM table_174491_1 WHERE country = "Norway" AND holmenkollen = "1958"
Below is an context that describes a sql 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 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: What is the average number of golds for nations with less than 2 silver, named uzbekistan, and less than 4 bronze? ### Answer: SELECT AVG(gold) FROM table_name_51 WHERE silver < 2 AND nation = "uzbekistan" AND bronze < 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_8 (partnering VARCHAR, against VARCHAR) ### Question: Who was partnering when nueza silva played against greece? ### Answer: SELECT partnering FROM table_name_8 WHERE against = "greece"
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR, year VARCHAR, surface VARCHAR) ### Question: Which competition has a Year of 2008, a Surface of carpet, and a Date of 31 jan? ### Answer: SELECT competition FROM table_name_65 WHERE year = 2008 AND surface = "carpet" AND date = "31 jan"
Below is an context that describes a sql 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 (event VARCHAR, total VARCHAR) ### Question: Which event had a total of defending champion? ### Answer: SELECT event FROM table_name_39 WHERE total = "defending champion"
Below is an context that describes a sql 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 (poles VARCHAR, bike VARCHAR, podiums VARCHAR) ### Question: How many Poles have a Bike of honda rc212v, and Podiums smaller than 0? ### Answer: SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 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 (opponent VARCHAR, time VARCHAR) ### Question: Which Opponent has a Time of 0:38? ### Answer: SELECT opponent FROM table_name_18 WHERE time = "0:38"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) ### Question: Which is the highest Gold that has a total smaller than 4 and a silver of 1, and a bronze smaller than 2, and a rank of 13? ### Answer: SELECT MAX(gold) FROM table_name_94 WHERE total < 4 AND silver = 1 AND bronze < 2 AND rank = "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 tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) ### Question: Find the name and college of students whose decisions are yes in the tryout. ### Answer: SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Below is an context that describes a sql 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 (gold INTEGER, silver VARCHAR, total VARCHAR) ### Question: What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals? ### Answer: SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 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 Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR) ### Question: Show all product names and the total quantity ordered for each product name. ### Answer: SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_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_29565858_2 (l VARCHAR, stolen_ends VARCHAR) ### Question: What is listed under L when the stolen ends is 1? ### Answer: SELECT l FROM table_29565858_2 WHERE stolen_ends = 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_83 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR) ### Question: How many ranks are higher than lane 4 from Great Britain, raced by Margaretha Pedder? ### Answer: SELECT COUNT(rank) FROM table_name_83 WHERE lane > 4 AND nationality = "great britain" AND name = "margaretha pedder"
Below is an context that describes a sql 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 (time VARCHAR, notes VARCHAR, country VARCHAR) ### Question: What is the time with FB notes for Canada? ### Answer: SELECT time FROM table_name_43 WHERE notes = "fb" AND country = "canada"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR) ### Question: how many winners with # being 4 ### Answer: SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 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_93 (goals INTEGER, caps VARCHAR, average VARCHAR) ### Question: What is the goal low with caps less than 38 and an average less than 1.083? ### Answer: SELECT MIN(goals) FROM table_name_93 WHERE caps < 38 AND average < 1.083
Below is an context that describes a sql 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 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR) ### Question: Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0? ### Answer: SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = "2002" AND podiums < 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_32 (centerfold_model VARCHAR, date VARCHAR) ### Question: Who was the Centerfold Model on 5-95? ### Answer: SELECT centerfold_model FROM table_name_32 WHERE date = "5-95"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR) ### Question: How many players played for adams state school? ### Answer: SELECT COUNT(player) FROM table_10960039_6 WHERE college = "Adams 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 Students (current_address_id VARCHAR) ### Question: How many different addresses do the students currently live? ### Answer: SELECT COUNT(DISTINCT current_address_id) FROM Students
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR) ### Question: How many draft picks are there at the Defensive End position? ### Answer: SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Defensive End"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_174151_5 (devices_per_channel VARCHAR, raw_bandwidth__mbit_s_ VARCHAR) ### Question: Name the devices per channel for 2560 ### Answer: SELECT devices_per_channel FROM table_174151_5 WHERE raw_bandwidth__mbit_s_ = 2560
Below is an context that describes a sql 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 (scored INTEGER, team VARCHAR) ### Question: Which Scored has a Team of recoleta? ### Answer: SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta"
Below is an context that describes a sql 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 (match INTEGER, runs VARCHAR, year VARCHAR) ### Question: Which Match has Runs of 100, and a Year larger than 1994? ### Answer: SELECT SUM(match) FROM table_name_14 WHERE runs = 100 AND year > 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 Movie (director VARCHAR, title VARCHAR) ### Question: Who is the director of movie Avatar? ### Answer: SELECT director FROM Movie WHERE title = 'Avatar'
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, visitor VARCHAR) ### Question: In the game where the Hornets were the home team and Clippers the visiting team, what is the score? ### Answer: SELECT score FROM table_name_9 WHERE home = "hornets" AND visitor = "clippers"