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_45 (result VARCHAR, opponent VARCHAR, venue VARCHAR) ### Question: What was the result when the opponent was manchester united in venue h? ### Answer: SELECT result FROM table_name_45 WHERE opponent = "manchester united" AND venue = "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_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) ### Question: What's the rank for February 11, 2012 with less than 18,735 in attendance? ### Answer: SELECT AVG(rank) FROM table_name_67 WHERE date = "february 11, 2012" AND attendance < 18 OFFSET 735
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, school VARCHAR) ### Question: What is the name of Rhode Island College's softball stadium? ### Answer: SELECT softball_stadium FROM table_1974545_3 WHERE school = "Rhode Island College"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_273617_6 (Id VARCHAR) ### Question: What is the lowest 2011 number (,000)? ### Answer: SELECT MIN(2011 AS _number__), 000 AS _ FROM table_273617_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_27892955_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) ### Question: What is the name of episode 120 in the series that Mike Rohl directed? ### Answer: SELECT title FROM table_27892955_1 WHERE directed_by = "Mike Rohl" AND no_in_series = 120
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (venue VARCHAR, score VARCHAR) ### Question: Where was the game held that resulted in a score of 9-2? ### Answer: SELECT venue FROM table_name_15 WHERE score = "9-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_26 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home team score at brunswick street oval? ### Answer: SELECT home_team AS score FROM table_name_26 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_60 (vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR) ### Question: What was the maximum speed for straight-4, 1.466 cc Type r 150? ### Answer: SELECT vmax FROM table_name_60 WHERE cylinder = "straight-4" AND capacity = "1.466 cc" AND type = "r 150"
Below is an context that describes a sql 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 (overall INTEGER, round VARCHAR, pick__number VARCHAR) ### Question: With Round 3 and Pick # over 10, what is the higher Overall number? ### Answer: SELECT MAX(overall) FROM table_name_38 WHERE round = 3 AND pick__number > 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) ### Question: What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861? ### Answer: SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) ### Question: what is the score on february 16? ### Answer: SELECT score FROM table_name_76 WHERE date = "february 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_58 (city VARCHAR, opponent VARCHAR) ### Question: What city did Yugoslavia play against Poland in? ### Answer: SELECT city FROM table_name_58 WHERE opponent = "poland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR) ### Question: How many counties have a place name of Macedonia? ### Answer: SELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = "Macedonia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR) ### Question: If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm? ### Answer: SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = "23000" AND engine_make_capacity = "MWM 6.10 TCA-EURO III (Turbo Intercooler)"
Below is an context that describes a sql 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, score VARCHAR) ### Question: What outcome has a score of 12-22? ### Answer: SELECT result FROM table_name_69 WHERE score = "12-22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR) ### Question: What was the number of location of nickname cbsua formerly known cssac? ### Answer: SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR) ### Question: Name the class 3 for silverstone rmit university ### Answer: SELECT class_3 FROM table_1936678_1 WHERE location = "Silverstone" AND class_1 = "RMIT University"
Below is an context that describes a sql 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 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR) ### Question: What nation has a bronze of 2 with a total less than 5 and rank of 6? ### Answer: SELECT nation FROM table_name_84 WHERE bronze = 2 AND total < 5 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_14342592_5 (position VARCHAR, touchdowns VARCHAR) ### Question: Which positions have made 4 touchdowns? ### Answer: SELECT position FROM table_14342592_5 WHERE touchdowns = 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_19 (gold INTEGER, bronze INTEGER) ### Question: Name the sum of gold when Bronze is less than 0 ### Answer: SELECT SUM(gold) FROM table_name_19 WHERE bronze < 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_50 (venue VARCHAR, away_team VARCHAR) ### Question: When Essendon played away; where did they play? ### Answer: SELECT venue FROM table_name_50 WHERE away_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_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR) ### Question: what is the capacity when the home city is zagreb and the manager is zlatko kranjčar? ### Answer: SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
Below is an context that describes a sql 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 (social_sec_leeds VARCHAR, president VARCHAR) ### Question: Name the Social Sec Leeds has a President of tom dawson? ### Answer: SELECT social_sec_leeds FROM table_name_13 WHERE president = "tom dawson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28715942_2 (original_artist VARCHAR, arranger_s_ VARCHAR) ### Question: Who were the original artist(s) when jack stamp arranged? ### Answer: SELECT original_artist FROM table_28715942_2 WHERE arranger_s_ = "Jack Stamp"
Below is an context that describes a sql 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 (director_s_ VARCHAR, film VARCHAR) ### Question: Who directed the film Antonio's Breakfast? ### Answer: SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24625467_1 (original_air_date VARCHAR, production_code VARCHAR) ### Question: What date did the episode with a production code of 2j5356 originally air? ### Answer: SELECT original_air_date FROM table_24625467_1 WHERE production_code = "2J5356"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE performance (HOST VARCHAR, Attendance VARCHAR) ### Question: List the hosts of performances in ascending order of attendance. ### Answer: SELECT HOST FROM performance ORDER BY 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_59 (fa_cup_goals VARCHAR, scorer VARCHAR) ### Question: How many FA Cup goals does George Yardley have? ### Answer: SELECT fa_cup_goals FROM table_name_59 WHERE scorer = "george yardley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR) ### Question: Who are all runner-ups for No. 2? ### Answer: SELECT runner_up FROM table_1507431_1 WHERE no = 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_17120964_9 (opponent VARCHAR, date VARCHAR) ### Question: who was the opponent where the date was the 21st? ### Answer: SELECT opponent FROM table_17120964_9 WHERE date = "21st"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the Opponent on November 27, 2005? ### Answer: SELECT opponent FROM table_name_32 WHERE date = "november 27, 2005"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE district (District_name VARCHAR, City_Population INTEGER) ### Question: Find the name and population of district with population between 200000 and 2000000 ### Answer: SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR) ### Question: What is the production code for episode 31 in the series? ### Answer: SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (venue VARCHAR, result VARCHAR) ### Question: In what venues was the match with a final result of Eng by 4 wkts? ### Answer: SELECT venue FROM table_name_19 WHERE result = "eng by 4 wkts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR) ### Question: What is the production code for the episode where the patient portrayer is Kathy Lamkin? ### Answer: SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin"
Below is an context that describes a sql 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 (attack VARCHAR, source VARCHAR) ### Question: What Attack has a Source of NCIOM? ### Answer: SELECT attack FROM table_name_71 WHERE source = "nciom"
Below is an context that describes a sql 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 (away_team VARCHAR, round VARCHAR, home_team VARCHAR) ### Question: Who was the away team when Queensland Roar was the home team in the round less than 3? ### Answer: SELECT away_team FROM table_name_80 WHERE round < 3 AND home_team = "queensland roar"
Below is an context that describes a sql 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 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR) ### Question: What district shows reserved for (SC / ST /None) of total:? ### Answer: SELECT district FROM table_name_45 WHERE reserved_for___sc___st__none_ = "total:"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_type_code VARCHAR, share_count INTEGER) ### Question: Show the transaction type descriptions and dates if the share count is smaller than 10. ### Answer: SELECT T1.transaction_type_description, T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 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 election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) ### Question: List the names of representatives that have not participated in elections listed here. ### Answer: SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election)
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away score at VFL Park? ### Answer: SELECT away_team AS score FROM table_name_78 WHERE venue = "vfl 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_18304259_1 (earnings_per_share__p_ VARCHAR, net_profit__£m_ VARCHAR) ### Question: Name the eps for net profit being 39.2 ### Answer: SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_profit__£m_ = "39.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_17516922_1 (pregame_analysts VARCHAR, sideline_reporters VARCHAR, network VARCHAR) ### Question: What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2? ### Answer: SELECT pregame_analysts FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez" AND network = "TSN2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR) ### Question: what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records? ### Answer: SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26631526_1 (release_date___xbox360__ VARCHAR, artist VARCHAR) ### Question: Name the release date xbox 360 for sea wolf ### Answer: SELECT release_date___xbox360__ FROM table_26631526_1 WHERE artist = "Sea Wolf"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR) ### Question: How many points did the Cowboys have when they had a 7-0 record? ### Answer: SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-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 (date VARCHAR, record VARCHAR) ### Question: What is the date of the games that saw a record of 43.66 m? ### Answer: SELECT date FROM table_name_25 WHERE record = "43.66 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_68 (target_version VARCHAR, license VARCHAR) ### Question: What is Target Version, when License is LGPL or MPL? ### Answer: SELECT target_version FROM table_name_68 WHERE license = "lgpl or mpl"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR) ### Question: Who are the co-drivers before 2010 with under 326 laps? ### Answer: SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26476336_2 (new_conference VARCHAR, new_classification VARCHAR) ### Question: How many new conferences are in the NCLL deep south conference? ### Answer: SELECT COUNT(new_conference) FROM table_26476336_2 WHERE new_classification = "NCLL Deep South Conference"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR) ### Question: Who was the opponent with the loss in Westbury, NY? ### Answer: SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "westbury, ny"
Below is an context that describes a sql 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 (date VARCHAR, type VARCHAR) ### Question: What is the Date of the Fortified House? ### Answer: SELECT date FROM table_name_39 WHERE type = "fortified house"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28286776_12 (club_s_ VARCHAR, goal_s_ VARCHAR) ### Question: What club did the championship player come from who had 10 goals? ### Answer: SELECT club_s_ FROM table_28286776_12 WHERE goal_s_ = 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_25005714_3 (bus_type VARCHAR, texture___gt__s_ VARCHAR) ### Question: What is every bus type for the texture of fillrate? ### Answer: SELECT bus_type FROM table_25005714_3 WHERE texture___gt__s_ = "Fillrate"
Below is an context that describes a sql 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 (tournament VARCHAR, margin_of_victory VARCHAR) ### Question: Which tournament had a margin of victory of 6 strokes? ### Answer: SELECT tournament FROM table_name_34 WHERE margin_of_victory = "6 strokes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22464685_1 (author VARCHAR, english_name VARCHAR) ### Question: Who is the auther when the english name was histories and eulogies of the sovereigns? ### Answer: SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns"
Below is an context that describes a sql 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 (res VARCHAR, round VARCHAR, event VARCHAR) ### Question: What is Res., when Round is greater than 2, and when Event is "Midwest Cage Championships 25: Inferno"? ### Answer: SELECT res FROM table_name_92 WHERE round > 2 AND event = "midwest cage championships 25: inferno"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR) ### Question: what's the height (ft) with name being 52-54 lime street ### Answer: SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29697744_1 (section VARCHAR, season VARCHAR) ### Question: how many sections are for the season of 2008 ### Answer: SELECT COUNT(section) FROM table_29697744_1 WHERE season = "2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) ### Question: What date did VFL play MCG? ### Answer: SELECT date FROM table_name_87 WHERE venue = "mcg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR) ### Question: Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix? ### Answer: SELECT record FROM table_name_59 WHERE home = "detroit" AND visitor = "phoenix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23297_3 (surface VARCHAR, year VARCHAR) ### Question: What is the surface for the year 2001? ### Answer: SELECT surface FROM table_23297_3 WHERE year = 2001
Below is an context that describes a sql 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 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ### Question: How many bronze medals for Romania when the silver count is more than 1? ### Answer: SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (completed INTEGER, quantity VARCHAR, numbers VARCHAR) ### Question: For the item with more than 10, and numbers of 53-58, 61-72, what is the lowest completed? ### Answer: SELECT MIN(completed) FROM table_name_97 WHERE quantity > 10 AND numbers = "53-58, 61-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_23 (location VARCHAR, loser VARCHAR, result VARCHAR) ### Question: Where was the game that the Indianapolis Colts lost 24-14? ### Answer: SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-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_27 (sprint_points VARCHAR, total_points VARCHAR) ### Question: How many sprint points contribute to 2 total points? ### Answer: SELECT sprint_points FROM table_name_27 WHERE total_points = "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_37 (week INTEGER, date VARCHAR) ### Question: During what week was the match on November 10, 1963? ### Answer: SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (distance VARCHAR, winning_horse VARCHAR) ### Question: What distance did the winning horse run in the Summer Doldrums. ### Answer: SELECT distance FROM table_name_7 WHERE winning_horse = "summer doldrums"
Below is an context that describes a sql 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 (goals_scored INTEGER, points VARCHAR, wins VARCHAR) ### Question: Which Goals scored has Points larger than 26 and Wins larger than 11? ### Answer: SELECT SUM(goals_scored) FROM table_name_79 WHERE points > 26 AND wins > 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_20236726_2 (lms_no VARCHAR, serial_no VARCHAR) ### Question: Name the lms number for serial number being 372 ### Answer: SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What team was the away team for the venue punt road oval? ### Answer: SELECT away_team FROM table_name_4 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_name_51 (bullet VARCHAR, shoulder VARCHAR) ### Question: What bullet does the gun with a shoulder measurement of 12.5 (.491)? ### Answer: SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"
Below is an context that describes a sql 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 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR) ### Question: What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A? ### Answer: SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 2012 has a 2007 of 0 / 4? ### Answer: SELECT 2012 FROM table_name_8 WHERE 2007 = "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_55 (result VARCHAR, week VARCHAR) ### Question: What was the result of the game on week 11? ### Answer: SELECT result FROM table_name_55 WHERE week = 11
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (lost VARCHAR, _percentage_won VARCHAR) ### Question: Name the lost for % won of 55.37 ### Answer: SELECT lost FROM table_name_46 WHERE _percentage_won = "55.37"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1918850_2 (surface VARCHAR, championship VARCHAR, score_in_the_final VARCHAR) ### Question: state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9 ### Answer: SELECT COUNT(surface) FROM table_1918850_2 WHERE championship = "Australian Open" AND score_in_the_final = "6–3, 4–6, 11–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_1341472_15 (result VARCHAR, district VARCHAR) ### Question: what's the result with district illinois 15 ### Answer: SELECT result FROM table_1341472_15 WHERE district = "Illinois 15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (frequency_mhz VARCHAR, erp_w VARCHAR) ### Question: Total frequency with ERP W of 62? ### Answer: SELECT COUNT(frequency_mhz) FROM table_name_40 WHERE erp_w = "62"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR) ### Question: What is the location/attendance of the game with a 3-1 record? ### Answer: SELECT location_attendance FROM table_name_1 WHERE record = "3-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_15869204_4 (date VARCHAR, location_attendance VARCHAR) ### Question: On what date was the attendance at Continental Airlines Arena 13,755? ### Answer: SELECT date FROM table_15869204_4 WHERE location_attendance = "Continental Airlines Arena 13,755"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: Which Opponent has a Result of l 14–10? ### Answer: SELECT opponent FROM table_name_27 WHERE result = "l 14–10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (height__ft_ INTEGER, city VARCHAR) ### Question: How high was the highest building in feet in the city of cologne? ### Answer: SELECT MAX(height__ft_) FROM table_name_66 WHERE city = "cologne"
Below is an context that describes a sql 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 (sample_size INTEGER, date_s__administered VARCHAR) ### Question: What is the highest sample size administered on October 18? ### Answer: SELECT MAX(sample_size) FROM table_name_35 WHERE date_s__administered = "october 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_14 (assists VARCHAR, team VARCHAR, total_points VARCHAR) ### Question: What assists has the Team SMU and the total points of 85? ### Answer: SELECT assists FROM table_name_14 WHERE team = "smu" AND total_points = "85"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE savings (custid VARCHAR, balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance INTEGER) ### Question: Find the name of accounts whose checking balance is higher than corresponding saving balance. ### Answer: SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T2.balance > T3.balance
Below is an context that describes a sql 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 (time VARCHAR, opponent VARCHAR) ### Question: What is the time for an opponent of Satoshi Honma? ### Answer: SELECT time FROM table_name_78 WHERE opponent = "satoshi honma"
Below is an context that describes a sql 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 (band VARCHAR, album_or_song VARCHAR) ### Question: Which band plays Self Versus Self - Immersion? ### Answer: SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR) ### Question: Name the melbourne for adelaide of no with auckland of yes and gold coast of yes ### Answer: SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417445_4 (date_of_successors_taking_office VARCHAR, successor VARCHAR) ### Question: When rudolph kleberg (d) is the successor what is the date of successors taking office? ### Answer: SELECT date_of_successors_taking_office FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (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_96 (total INTEGER, ward INTEGER) ### Question: WHAT IS THE TOTAL WITH WARD LARGER THAN 60? ### Answer: SELECT MIN(total) FROM table_name_96 WHERE ward > 60
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What was the score for the game that attendance was 70,721? ### Answer: SELECT result FROM table_name_24 WHERE attendance = "70,721"
Below is an context that describes a sql 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 (shooter VARCHAR, rank_points VARCHAR) ### Question: What was the shooter when the rank points was olympic bronze medalist? ### Answer: SELECT shooter FROM table_name_36 WHERE rank_points = "olympic bronze medalist"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR, start VARCHAR) ### Question: What team is after 1998 with a start of dnq? ### Answer: SELECT team FROM table_name_87 WHERE year > 1998 AND start = "dnq"
Below is an context that describes a sql 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 (points INTEGER, team VARCHAR, played VARCHAR) ### Question: What is the highest number of points team vitória, which had more than 38 played, had? ### Answer: SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 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_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR) ### Question: What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver? ### Answer: SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver"
Below is an context that describes a sql 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 (pick__number INTEGER, reg_gp INTEGER) ### Question: What is the smallest pick with a Reg GP less than 0? ### Answer: SELECT MIN(pick__number) FROM table_name_8 WHERE reg_gp < 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_73 (population_in_millions VARCHAR, gdp_2012_millions_of_euro VARCHAR) ### Question: What is Population in Millions, when GDP 2012 Millions of Euro is 600,638? ### Answer: SELECT population_in_millions FROM table_name_73 WHERE gdp_2012_millions_of_euro = "600,638"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR) ### Question: What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? ### Answer: SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = "olympic record" AND snatch = "total"
Below is an context that describes a sql 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 (driver VARCHAR, chassis VARCHAR) ### Question: Who is the driver of the chassis that is tg183b tg184? ### Answer: SELECT driver FROM table_name_79 WHERE chassis = "tg183b tg184"