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_31 (college VARCHAR, overall VARCHAR) ### Question: Which college had an overall pick of 9? ### Answer: SELECT college FROM table_name_31 WHERE overall = 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_31 (location VARCHAR, name VARCHAR, type VARCHAR, entered_service VARCHAR) ### Question: Where is Transocean Richardson, a semi entered into service in 1988? ### Answer: SELECT location FROM table_name_31 WHERE type = "semi" AND entered_service = "1988" AND name = "transocean richardson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1969634_1 (division VARCHAR, nickname VARCHAR) ### Question: How many teams have skyhawks as a nickname? ### Answer: SELECT COUNT(division) FROM table_1969634_1 WHERE nickname = "Skyhawks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341577_47 (result VARCHAR, district VARCHAR) ### Question: What was the result of the election in the Virginia 3 district? ### Answer: SELECT result FROM table_1341577_47 WHERE district = "Virginia 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_9 (edition_publisher VARCHAR, author VARCHAR) ### Question: Who is the edition/publisher for Xavier Herbert? ### Answer: SELECT edition_publisher FROM table_name_9 WHERE author = "xavier herbert"
Below is an context that describes a sql 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 (score VARCHAR, round VARCHAR, away_team VARCHAR) ### Question: For the 5th round match with away team of Bahia, what was the final score? ### Answer: SELECT score FROM table_name_65 WHERE round = "5th" AND away_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_72 (score VARCHAR, couple VARCHAR) ### Question: What was the score when the couple was shannon & derek? ### Answer: SELECT score FROM table_name_72 WHERE couple = "shannon & derek"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR) ### Question: What is the enrollment of STM which has been in competition since 1990? ### Answer: SELECT COUNT(enrolment) FROM table_11318462_29 WHERE in_competition_since = 1990 AND abbreviation = "STM"
Below is an context that describes a sql 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 (losses INTEGER, club VARCHAR, against VARCHAR) ### Question: What are the least losses of Mortlake having less than 970 against? ### Answer: SELECT MIN(losses) FROM table_name_96 WHERE club = "mortlake" AND against < 970
Below is an context that describes a sql 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 (name VARCHAR, position VARCHAR, weight__lbs_ VARCHAR) ### Question: What is the Name when the position is g, and weight is 190 pounds? ### Answer: SELECT name FROM table_name_54 WHERE position = "g" AND weight__lbs_ = 190
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (surface VARCHAR, mountain VARCHAR) ### Question: What is the surface of the mountain range that contains the Elk Garden Mountain? ### Answer: SELECT surface FROM table_name_38 WHERE mountain = "elk garden"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? ### Answer: SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "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_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR) ### Question: What was spent per voter when total amount spent was 210,280,000? ### Answer: SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,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_18733814_2 (points_classification VARCHAR, winner VARCHAR) ### Question: When philippe gilbert is the winner who is the points classification? ### Answer: SELECT points_classification FROM table_18733814_2 WHERE winner = "Philippe Gilbert"
Below is an context that describes a sql 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 (location VARCHAR, record VARCHAR) ### Question: What was the location of the fight when Sara McMann's record was 1-0? ### Answer: SELECT location FROM table_name_42 WHERE record = "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_name_11 (rank VARCHAR, finish VARCHAR) ### Question: Which Rank has a Finish of 8? ### Answer: SELECT rank FROM table_name_11 WHERE finish = "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_85 (week VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) ### Question: Which week has a Kickoff time of 1:00 with a record of 4-5-1? ### Answer: SELECT week FROM table_name_85 WHERE kickoff_[a_] = "1:00" AND record = "4-5-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_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR) ### Question: What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790? ### Answer: SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790
Below is an context that describes a 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 (no INTEGER, player VARCHAR) ### Question: What jersey number did Al Harrington wear ### Answer: SELECT MAX(no) FROM table_15621965_8 WHERE player = "Al Harrington"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22298383_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR) ### Question: Who manufactured the car that won with an average speed of 126.259 mph? ### Answer: SELECT manufacturer FROM table_22298383_1 WHERE average_speed__mph_ = "126.259"
Below is an context that describes a sql 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 (english_translation VARCHAR, artist VARCHAR, language VARCHAR, draw VARCHAR) ### Question: what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash? ### Answer: SELECT english_translation FROM table_name_51 WHERE language = "english" AND draw < 16 AND artist = "aysel and arash"
Below is an context that describes a sql 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 (league_division VARCHAR, club VARCHAR) ### Question: What league is Sun Source in? ### Answer: SELECT league_division FROM table_name_6 WHERE club = "sun source"
Below is an context that describes a sql 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 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? ### Answer: SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 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_23 (crowd INTEGER, venue VARCHAR) ### Question: What is the total crowd count for the venue Princes Park? ### Answer: SELECT SUM(crowd) FROM table_name_23 WHERE venue = "princes 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_63 (losses INTEGER, runs_allowed VARCHAR, wins VARCHAR) ### Question: What is the average number of losses the team with less than 25 runs allowed and 5 wins have? ### Answer: SELECT AVG(losses) FROM table_name_63 WHERE runs_allowed < 25 AND wins = 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_53 (average VARCHAR, place INTEGER) ### Question: WHAT IS THE TOTAL AVERAGE WITH A PLACE SMALLER THAN 1? ### Answer: SELECT COUNT(average) FROM table_name_53 WHERE place < 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_24565004_8 (period VARCHAR, name VARCHAR) ### Question: What is the period total number if the name is Geraldão? ### Answer: SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão"
Below is an context that describes a sql 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 (line_name VARCHAR, nimt_junction VARCHAR) ### Question: What line has Junction of Huntly NIMT ### Answer: SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR, opponent VARCHAR) ### Question: What was the record for the date above 27 and an opponent of the St. Louis Blues? ### Answer: SELECT record FROM table_name_33 WHERE date > 27 AND opponent = "st. louis blues"
Below is an context that describes a sql 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 (crowd VARCHAR, home_team VARCHAR) ### Question: What was the size of the crowd at the game where Fitzroy was the home team? ### Answer: SELECT crowd FROM table_name_94 WHERE home_team = "fitzroy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (height VARCHAR, player VARCHAR) ### Question: What is Player Kenny Williams' Height? ### Answer: SELECT height FROM table_name_53 WHERE player = "kenny williams"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13677808_1 (technology VARCHAR, rank VARCHAR) ### Question: How many times is denmark ranked in technology? ### Answer: SELECT COUNT(technology) FROM table_13677808_1 WHERE rank = "Denmark"
Below is an context that describes a sql 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 (name VARCHAR, laid_down VARCHAR, built_by_hm_dockyard VARCHAR) ### Question: What is the name that has July 1823 as the Laid down, and portsmouth as the built by hm dockyard? ### Answer: SELECT name FROM table_name_96 WHERE laid_down = "july 1823" AND built_by_hm_dockyard = "portsmouth"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR) ### Question: What is the average weight of the player with a height of 180 cm and plays the d position? ### Answer: SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d"
Below is an context that describes a sql 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 (number_of_issues INTEGER, end_month VARCHAR) ### Question: How many issues end on jan–72? ### Answer: SELECT SUM(number_of_issues) FROM table_name_82 WHERE end_month = "jan–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_42 (winner VARCHAR, year VARCHAR) ### Question: Who won in 1965? ### Answer: SELECT winner FROM table_name_42 WHERE year = "1965"
Below is an context that describes a sql 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 (years VARCHAR, actor VARCHAR, soap_opera VARCHAR, duration VARCHAR) ### Question: What years did Marienhof run, which featured Leonore Capell and lasted 10 years? ### Answer: SELECT years FROM table_name_88 WHERE soap_opera = "marienhof" AND duration = "10 years" AND actor = "leonore capell"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Which Opponent has a Date of november 21, 1999? ### Answer: SELECT opponent FROM table_name_9 WHERE date = "november 21, 1999"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (played INTEGER, points VARCHAR, drawn VARCHAR, goals_for VARCHAR) ### Question: What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team? ### Answer: SELECT MAX(played) FROM table_name_91 WHERE drawn > 4 AND goals_for = 37 AND points > 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_7 (level INTEGER, season VARCHAR) ### Question: what is the total levels in 2007? ### Answer: SELECT SUM(level) FROM table_name_7 WHERE season = 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_14058433_3 (try_bonus VARCHAR, club VARCHAR) ### Question: What is the try bonus for Ruthin RFC? ### Answer: SELECT try_bonus FROM table_14058433_3 WHERE club = "Ruthin RFC"
Below is an context that describes a sql 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 (name VARCHAR, took_office VARCHAR) ### Question: Which deputy took office in 1976? ### Answer: SELECT name FROM table_name_97 WHERE took_office = "1976"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24565004_17 (goals¹ VARCHAR, name VARCHAR) ### Question: Name the goals for mauricio pochettino ### Answer: SELECT goals¹ FROM table_24565004_17 WHERE name = "Mauricio Pochettino"
Below is an context that describes a sql 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 (grid VARCHAR, points VARCHAR) ### Question: What grid has 24 points? ### Answer: SELECT grid FROM table_name_88 WHERE points = "24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE ROLES (role_description VARCHAR, role_name VARCHAR) ### Question: Show the description for role name "Proof Reader". ### Answer: SELECT role_description FROM ROLES WHERE role_name = "Proof Reader"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23465011_5 (couple VARCHAR, total_score VARCHAR) ### Question: Which couple has 295 as a total score? ### Answer: SELECT couple FROM table_23465011_5 WHERE total_score = 295
Below is an context that describes a sql 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 (score INTEGER, player VARCHAR) ### Question: What was Jack Nicklaus's score after round 1? ### Answer: SELECT MIN(score) FROM table_name_97 WHERE player = "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_74 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team's score at Western Oval? ### Answer: SELECT away_team AS score FROM table_name_74 WHERE venue = "western 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_38 (round INTEGER, player VARCHAR, pick VARCHAR) ### Question: Which Round has a Player of brunel christensen and a Pick smaller than 293? ### Answer: SELECT MIN(round) FROM table_name_38 WHERE player = "brunel christensen" AND pick < 293
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What is the away team that played at punt road oval? ### Answer: SELECT away_team FROM table_name_24 WHERE venue = "punt road 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_25046766_3 (prod_no INTEGER, episode_no VARCHAR) ### Question: What is the production number of 3-04? ### Answer: SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-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_21234111_10 (robin VARCHAR, result VARCHAR) ### Question: What was Robin's score when she was eliminated? ### Answer: SELECT robin FROM table_21234111_10 WHERE result = "Eliminated"
Below is an context that describes a sql 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 (tied VARCHAR, drawn VARCHAR) ### Question: I want to know the tie for drawn of 47 ### Answer: SELECT tied FROM table_name_46 WHERE drawn = "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_16 (score VARCHAR, competition VARCHAR) ### Question: What is the score of the 2002 Tiger Cup third/fourth place match? ### Answer: SELECT score FROM table_name_16 WHERE competition = "2002 tiger cup third/fourth place"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26108103_2 (rushing_yards VARCHAR, opponent VARCHAR, passing_yards VARCHAR) ### Question: How many rushing yards where there when the opponent was Indiana and there was 503 passing yards? ### Answer: SELECT rushing_yards FROM table_26108103_2 WHERE opponent = "Indiana" AND passing_yards = 503
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (enrollment VARCHAR, _number___county VARCHAR, ihsaa_class VARCHAR) ### Question: What's the total enrollment in 57 Noble having a # and AA as the IHSAA Class? ### Answer: SELECT COUNT(enrollment) FROM table_name_95 WHERE _number___county = "57 noble" AND ihsaa_class = "aa"
Below is an context that describes a sql 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 (points INTEGER, points_against VARCHAR, losses VARCHAR) ### Question: What is the average Points when the Points Against is 594, and Losses is more than 3? ### Answer: SELECT AVG(points) FROM table_name_85 WHERE points_against = 594 AND losses > 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_67 (year VARCHAR, drivers VARCHAR, flaps VARCHAR) ### Question: How many years have Drivers of ben hanley, and Flaps smaller than 0? ### Answer: SELECT COUNT(year) FROM table_name_67 WHERE drivers = "ben hanley" AND flaps < 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_25 (opponent VARCHAR, record VARCHAR) ### Question: what opponent has the record of 78-63? ### Answer: SELECT opponent FROM table_name_25 WHERE record = "78-63"
Below is an context that describes a sql 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 (date VARCHAR, length_duration VARCHAR) ### Question: What was the date of the race that lasted 6 hours? ### Answer: SELECT date FROM table_name_54 WHERE length_duration = "6 hours"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE railway (Location VARCHAR, Railway_ID VARCHAR); CREATE TABLE train (Railway_ID VARCHAR) ### Question: Show id and location of railways that are associated with more than one train. ### Answer: SELECT T2.Railway_ID, T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID GROUP BY T2.Railway_ID HAVING COUNT(*) > 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_88 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who did they play at lincoln financial field at 8:30 (ET) after week 14? ### Answer: SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = "lincoln financial field" AND time__et_ = "8: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_10 (silver INTEGER, total VARCHAR, gold VARCHAR) ### Question: Which Silver has a Total of 7, and a Gold larger than 1? ### Answer: SELECT AVG(silver) FROM table_name_10 WHERE total = 7 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_33 (total INTEGER, rank VARCHAR, bronze VARCHAR) ### Question: What average Total has a Rank of 3 and a Bronze award larger than 3? ### Answer: SELECT AVG(total) FROM table_name_33 WHERE rank = "3" AND bronze > 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_15829930_5 (wins INTEGER, success_rate VARCHAR) ### Question: Name the least wins of 56.25% ### Answer: SELECT MIN(wins) FROM table_15829930_5 WHERE success_rate = "56.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_1965650_3 (pick__number INTEGER, player VARCHAR) ### Question: Name the least pick # for doug gibson ### Answer: SELECT MIN(pick__number) FROM table_1965650_3 WHERE player = "Doug Gibson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR) ### Question: How many points did Denis Pederson have? ### Answer: SELECT points FROM table_name_79 WHERE player = "denis pederson"
Below is an context that describes a sql 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 (centennial VARCHAR, altadeña VARCHAR) ### Question: Which Centennial has a Altadeña of panthers? ### Answer: SELECT centennial FROM table_name_4 WHERE altadeña = "panthers"
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR) ### Question: What is the time for the 50m breaststroke? ### Answer: SELECT time FROM table_name_34 WHERE event = "50m breaststroke"
Below is an context that describes a sql 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 (position VARCHAR, competition VARCHAR) ### Question: Which Position has a Competition of european race walking cup? ### Answer: SELECT position FROM table_name_32 WHERE competition = "european race walking cup"
Below is an context that describes a sql 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 (position VARCHAR, channel VARCHAR) ### Question: What is the position when the channel shows channel 4? ### Answer: SELECT position FROM table_name_42 WHERE channel = "channel 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_65 (preliminaries INTEGER, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) ### Question: What is the preliminaries score where the swimsuit is smaller than 9.297, the evening gown is 9.617, and the interview is larger than 9.143? ### Answer: SELECT AVG(preliminaries) FROM table_name_65 WHERE swimsuit < 9.297 AND evening_gown = 9.617 AND interview > 9.143
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR) ### Question: Which Country has a Place of t1? ### Answer: SELECT country FROM table_name_38 WHERE place = "t1"
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR, attendance VARCHAR) ### Question: Which Date has a Week smaller than 11, and a Attendance of 54,094? ### Answer: SELECT date FROM table_name_17 WHERE week < 11 AND attendance = "54,094"
Below is an context that describes a sql 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 (player VARCHAR, pick__number VARCHAR) ### Question: Name The Player who has a Pick # of 27? ### Answer: SELECT player FROM table_name_13 WHERE pick__number = 27
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR) ### Question: how many total with bush # being 1552 ### Answer: SELECT COUNT(total) FROM table_13606924_1 WHERE bush__number = 1552
Below is an context that describes a sql 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 (series_leader VARCHAR, date VARCHAR) ### Question: What is the Series leader with a Date that is may 31? ### Answer: SELECT series_leader FROM table_name_64 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_1628792_1 (champion VARCHAR, tournament_location VARCHAR) ### Question: Name the champion for london hunt and country club ( london , on ) ### Answer: SELECT champion FROM table_1628792_1 WHERE tournament_location = "London Hunt and country Club ( London , ON )"
Below is an context that describes a sql 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 (socket VARCHAR, part_number_s_ VARCHAR) ### Question: What is Socket, when Part Number(s) is au80610003495aa? ### Answer: SELECT socket FROM table_name_69 WHERE part_number_s_ = "au80610003495aa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1569516_1 (frequency__per_hour_ VARCHAR, destination VARCHAR) ### Question: When London Bridge is the destination, what is the frequency? ### Answer: SELECT frequency__per_hour_ FROM table_1569516_1 WHERE destination = "London Bridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341718_14 (party VARCHAR, incumbent VARCHAR) ### Question: what is the party when the incumbent is sidney r. yates? ### Answer: SELECT party FROM table_1341718_14 WHERE incumbent = "Sidney R. Yates"
Below is an context that describes a sql 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 (alternate VARCHAR, second VARCHAR) ### Question: What is the alternate of the nation with hubert gründhammer as the second? ### Answer: SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer"
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR) ### Question: Who was the driver when there were 35 laps? ### Answer: SELECT driver FROM table_name_10 WHERE laps = "35"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR) ### Question: Name the date successor seated for delegate seat established ### Answer: SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Delegate seat established"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23730973_5 (episode VARCHAR, no VARCHAR) ### Question: What was the title of episode 3? ### Answer: SELECT episode FROM table_23730973_5 WHERE no = 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_48 (division_record VARCHAR, team VARCHAR) ### Question: What is the Panthers' Division Record? ### Answer: SELECT division_record FROM table_name_48 WHERE team = "panthers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12379297_1 (ch__number VARCHAR, callsign VARCHAR) ### Question: What is the ch# of dwlj-tv? ### Answer: SELECT ch__number FROM table_12379297_1 WHERE callsign = "DWLJ-TV"
Below is an context that describes a sql 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 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) ### Question: What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000? ### Answer: SELECT dates_administered FROM table_name_72 WHERE lead_margin > 14 AND poll_source = "research 2000"
Below is an context that describes a sql 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 (date VARCHAR, team VARCHAR, venue VARCHAR) ### Question: What day did Glentoran play at Windsor Park, Belfast? ### Answer: SELECT date FROM table_name_34 WHERE team = "glentoran" AND venue = "windsor park, belfast"
Below is an context that describes a sql 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 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) ### Question: What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1? ### Answer: SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 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_24 (method VARCHAR, event VARCHAR) ### Question: Which is the method under the event Jungle Fight 2? ### Answer: SELECT method FROM table_name_24 WHERE event = "jungle fight 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_9 (surface VARCHAR, opponent VARCHAR) ### Question: On what Surface was the match against Ilija Bozoljac played? ### Answer: SELECT surface FROM table_name_9 WHERE opponent = "ilija bozoljac"
Below is an context that describes a sql 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, nation VARCHAR) ### Question: How many Gold medals did the Soviet Union receive? ### Answer: SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
Below is an context that describes a sql 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 (draws VARCHAR, against VARCHAR, wins VARCHAR) ### Question: When against is 797 and wins is more than 10, what is the sum of draws? ### Answer: SELECT COUNT(draws) FROM table_name_28 WHERE against = 797 AND wins > 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_21302_1 (former_name VARCHAR, population__2005_ VARCHAR) ### Question: With the population in 2005 of 572, what is the former name? ### Answer: SELECT former_name FROM table_21302_1 WHERE population__2005_ = 572
Below is an context that describes 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 (LOCATION VARCHAR, Founded VARCHAR) ### Question: List the locations of schools in descending order of founded year. ### Answer: SELECT LOCATION FROM school ORDER BY Founded DESC
Below is an context that describes a sql 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 (high_assists VARCHAR, game INTEGER) ### Question: What high assists have a game greater than 46? ### Answer: SELECT high_assists FROM table_name_61 WHERE game > 46
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27708484_3 (average_attendance_per_match VARCHAR, elevation VARCHAR) ### Question: what is the average attendance per match wheree the elevation is 1500 m? ### Answer: SELECT average_attendance_per_match FROM table_27708484_3 WHERE elevation = "1500 m"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What result in 1994 has a SR as the tournament? ### Answer: SELECT 1994 FROM table_name_45 WHERE tournament = "sr"
Below is an context that describes a sql 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 (date VARCHAR) ### Question: Which Date has Notes of notes? ### Answer: SELECT date FROM table_name_21 WHERE "notes" = "notes"