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_70 (state VARCHAR, region VARCHAR, host VARCHAR) ### Question: Mideast region host University of Tennessee is in what state? ### Answer: SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR) ### Question: What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio? ### Answer: SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio"
Below is an context that describes a sql 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 (safari VARCHAR, chrome VARCHAR) ### Question: What percentage of browsers were using Safari during the period in which 2.05% were using Chrome? ### Answer: SELECT safari FROM table_name_57 WHERE chrome = "2.05%"
Below is an context that describes a sql 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 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR) ### Question: How many Goals have Games smaller than 6, and a Debut year of 1939, and Years at club of 1939, 1941? ### Answer: SELECT COUNT(goals) FROM table_name_48 WHERE games < 6 AND debut_year = 1939 AND years_at_club = "1939, 1941"
Below is an context that describes a sql 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 (money___ INTEGER, to_par VARCHAR, place VARCHAR, player VARCHAR) ### Question: Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12? ### Answer: SELECT AVG(money___) AS $__ FROM table_name_76 WHERE place = "t10" AND player = "denny shute" AND to_par > 12
Below is an context that describes a sql 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 (wins INTEGER, against INTEGER) ### Question: How many wins has more than 165 against? ### Answer: SELECT MAX(wins) FROM table_name_80 WHERE against > 165
Below is an context that describes a sql 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 (date VARCHAR, tournament VARCHAR) ### Question: Which date has a Tournament of la quinta? ### Answer: SELECT date FROM table_name_14 WHERE tournament = "la quinta"
Below is an context that describes a sql 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 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR) ### Question: What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2? ### Answer: SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-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_57 (venue VARCHAR, date VARCHAR) ### Question: Which venue has a Date of 20,21,22,23,24 november 1998? ### Answer: SELECT venue FROM table_name_57 WHERE date = "20,21,22,23,24 november 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR) ### Question: What is the largest crowd for a Home team of carlton? ### Answer: SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR) ### Question: How many losses did the club who had 9 bonus points and 11 wins have? ### Answer: SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "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_18 (away_team VARCHAR, tie_no VARCHAR) ### Question: What is the away team at the game with a Tie no of 2? ### Answer: SELECT away_team FROM table_name_18 WHERE tie_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_name_59 (goals VARCHAR, player VARCHAR) ### Question: What are the goals of Mile Sterjovski as a player? ### Answer: SELECT goals FROM table_name_59 WHERE player = "mile sterjovski"
Below is an context that describes a sql 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 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) ### Question: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? ### Answer: SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kw" AND callsign = "dyfx-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_7 (date VARCHAR, opponent VARCHAR) ### Question: What is the Date of the match against Guillermo Olaso? ### Answer: SELECT date FROM table_name_7 WHERE opponent = "guillermo olaso"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (category VARCHAR, award VARCHAR) ### Question: What is the category for the premios lo nuestro award? ### Answer: SELECT category FROM table_name_72 WHERE award = "premios lo nuestro"
Below is an context that describes a sql 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 (silver INTEGER, event VARCHAR, bronze VARCHAR) ### Question: what is the most silver when the event is 2008 summer paralympics and bronze is less than 1? ### Answer: SELECT MAX(silver) FROM table_name_86 WHERE event = "2008 summer paralympics" AND bronze < 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_77 (Id VARCHAR) ### Question: Which 1991 has an A 1993 ? ### Answer: SELECT 1991 FROM table_name_77 WHERE 1993 = "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_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) ### Question: What is the ERP for the Mount Goonaneman transmitter? ### Answer: SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman"
Below is an context that describes a sql 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 (higgins VARCHAR, davis VARCHAR) ### Question: What is the Higgins with a Davis that is 9%? ### Answer: SELECT higgins FROM table_name_90 WHERE davis = "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_25461827_2 (height__ft_ VARCHAR, country VARCHAR) ### Question: What is the height associated with Paraguay? ### Answer: SELECT height__ft_ FROM table_25461827_2 WHERE country = "Paraguay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26139405_1 (writer VARCHAR, episode__number VARCHAR) ### Question: Who wrote episode 26 in the series? ### Answer: SELECT writer FROM table_26139405_1 WHERE episode__number = 26
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE races (name VARCHAR, YEAR INTEGER) ### Question: Find the distinct names of all races held between 2014 and 2017? ### Answer: SELECT DISTINCT name FROM races WHERE YEAR BETWEEN 2014 AND 2017
Below is an context that describes a sql 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 (round INTEGER, opponent VARCHAR, location VARCHAR) ### Question: Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands? ### Answer: SELECT MIN(round) FROM table_name_60 WHERE opponent = "paul cahoon" AND location = "amsterdam, netherlands"
Below is an context that describes a 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_2 (title VARCHAR, production_code VARCHAR) ### Question: Name the total number of titles for 3x5655 ### Answer: SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (week VARCHAR, result VARCHAR) ### Question: What is the Week of the game with a Result of w 48–20? ### Answer: SELECT week FROM table_name_58 WHERE result = "w 48–20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (high_rebounds VARCHAR, date VARCHAR) ### Question: Who had the most rebounds on January 3? ### Answer: SELECT high_rebounds FROM table_name_7 WHERE date = "january 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_92 (matches VARCHAR, strike_rate VARCHAR) ### Question: Can you tell me the sum of 100s that has the Matches of 12, and the Strike Rate smaller than 144.81? ### Answer: SELECT SUM(100 AS s) FROM table_name_92 WHERE matches = 12 AND strike_rate < 144.81
Below is an context that describes a sql 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 (total INTEGER, silver INTEGER) ### Question: How many total medals does a country with more than 1 silver medals have? ### Answer: SELECT SUM(total) FROM table_name_32 WHERE 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_67 (Id VARCHAR) ### Question: What is the 2012 value with a 1.3 in 2010 and a 3.6 in 2008? ### Answer: SELECT 2012 FROM table_name_67 WHERE 2010 = "1.3" AND 2008 = "3.6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) ### Question: WHich Score has a Date on november 11? ### Answer: SELECT score FROM table_name_30 WHERE date = "november 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_13498403_1 (trainer VARCHAR, jockey VARCHAR) ### Question: how many people work with N Rawiller ### Answer: SELECT COUNT(trainer) FROM table_13498403_1 WHERE jockey = "N Rawiller"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR) ### Question: How many couples have an average of 25.3? ### Answer: SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.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_76 (website VARCHAR, founded VARCHAR) ### Question: Which website has 1921 as the year founded? ### Answer: SELECT website FROM table_name_76 WHERE founded = 1921
Below is an context that describes a sql 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 (date INTEGER, works_number VARCHAR, builder VARCHAR, number VARCHAR) ### Question: Which Date has a Builder of alco schenectady, and a Number larger than 835, and Works number of 56566? ### Answer: SELECT AVG(date) FROM table_name_19 WHERE builder = "alco schenectady" AND number > 835 AND works_number = 56566
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248869_6 (high_assists VARCHAR, team VARCHAR) ### Question: Who did the high assists in the game against Portland? ### Answer: SELECT high_assists FROM table_23248869_6 WHERE team = "Portland"
Below is an context that describes a sql 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 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR) ### Question: What is Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"? ### Answer: SELECT club_source_[i_] FROM table_name_14 WHERE name = "andrew mccombie category:articles with hcards"
Below is an context that describes a sql 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 (whenbuilt VARCHAR, name VARCHAR) ### Question: When was moray firth built? ### Answer: SELECT whenbuilt FROM table_name_32 WHERE name = "moray firth"
Below is an context that describes a sql 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 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR) ### Question: What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? ### Answer: SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 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_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR) ### Question: What is the transfer window with a status of transfer from the country of Wal? ### Answer: SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal"
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR) ### Question: When was the game at the North Shore Events Centre? ### Answer: SELECT date FROM table_name_99 WHERE venue = "north shore events centre"
Below is an context that describes a sql 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 (type VARCHAR, date VARCHAR, condition VARCHAR) ### Question: What is the Type of castle from the 14th Century which Condition is preserved? ### Answer: SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Question: Name the high rebounds for american airlines center 20,557 ### Answer: SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
Below is an context that describes a sql 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 (played INTEGER, position VARCHAR, drawn VARCHAR) ### Question: How much Played has a Position of 7, and a Drawn smaller than 7? ### Answer: SELECT SUM(played) FROM table_name_72 WHERE position = 7 AND drawn < 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_58 (record VARCHAR, december VARCHAR, score VARCHAR) ### Question: Which Record has a December smaller than 22 and a Score of 4–3? ### Answer: SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–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 (venue VARCHAR, year VARCHAR, notes VARCHAR) ### Question: What venue hosted in 2005 and had a Notes of men individual 9.84km? ### Answer: SELECT venue FROM table_name_83 WHERE year = 2005 AND notes = "men individual 9.84km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (outcome VARCHAR, score VARCHAR) ### Question: Which Outcome has a Score of 6–2, 6–2? ### Answer: SELECT outcome FROM table_name_20 WHERE score = "6–2, 6–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_42 (rank VARCHAR, director_s_ VARCHAR) ### Question: What Rank is the Director(s) of satoko okita? ### Answer: SELECT rank FROM table_name_42 WHERE director_s_ = "satoko okita"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10335_1 (estimated_deaths VARCHAR, operational VARCHAR) ### Question: what's the estimated deaths with operational period of 17 march 1942 – end of june 1943 ### Answer: SELECT estimated_deaths FROM table_10335_1 WHERE operational = "17 March 1942 – end of June 1943"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR) ### Question: What is the highest number of division championships where playoff berths were 11? ### Answer: SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 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_2679061_2 (nhl_team VARCHAR, college_junior_club_team VARCHAR, position VARCHAR) ### Question: What is the nhl team when the college, junior, club team is toronto marlboros (ohl) and the position is centre? ### Answer: SELECT nhl_team FROM table_2679061_2 WHERE college_junior_club_team = "Toronto Marlboros (OHL)" AND position = "Centre"
Below is an context that describes a sql 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 (meet VARCHAR, event VARCHAR) ### Question: What meet had a 400m individual medley meet? ### Answer: SELECT meet FROM table_name_56 WHERE event = "400m individual medley"
Below is an context that describes a sql 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 (decision VARCHAR, record VARCHAR) ### Question: For the game ending with a record of 31-43-2, what was the decision? ### Answer: SELECT decision FROM table_name_10 WHERE record = "31-43-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_14253123_1 (zip_code_prefix_es_ VARCHAR, _percentage_of_boundary_by_water VARCHAR) ### Question: When the % of boundary by water is 63% what is the overall number of zip code prefix(es)? ### Answer: SELECT COUNT(zip_code_prefix_es_) FROM table_14253123_1 WHERE _percentage_of_boundary_by_water = "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 countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR) ### Question: What are the name of the countries where there is not a single car maker? ### Answer: SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE university (enrollment INTEGER, founded INTEGER) ### Question: What are the average enrollment size of the universities that are founded before 1850? ### Answer: SELECT AVG(enrollment) FROM university WHERE founded < 1850
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341604_10 (candidates VARCHAR, result VARCHAR) ### Question: how many candidates with result being new seat democratic gain ### Answer: SELECT COUNT(candidates) FROM table_1341604_10 WHERE result = "New seat Democratic gain"
Below is an context that describes a sql 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 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the opponent when the attendance was 31,002? ### Answer: SELECT opponent FROM table_name_86 WHERE attendance = "31,002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22904752_1 (original_air_date VARCHAR, written_by VARCHAR) ### Question: When is the original air date written by sean whitesell? ### Answer: SELECT original_air_date FROM table_22904752_1 WHERE written_by = "Sean Whitesell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668264_22 (party VARCHAR, incumbent VARCHAR) ### Question: What party does joel r. poinsett represent? ### Answer: SELECT party FROM table_2668264_22 WHERE incumbent = "Joel R. Poinsett"
Below is an context that describes a sql 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 (avg_finish INTEGER, poles INTEGER) ### Question: What is the sum of value for average finish with poles less than 0? ### Answer: SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 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_66 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: What is the average Lap of damon hill, with a Grid smaller than 1? ### Answer: SELECT AVG(laps) FROM table_name_66 WHERE driver = "damon hill" AND grid < 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_21 (rank VARCHAR, lane VARCHAR) ### Question: What is the rank # of the swimmer in Lane 5? ### Answer: SELECT COUNT(rank) FROM table_name_21 WHERE lane = 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_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR) ### Question: What was the GDP (in millions USD) of Indonesia in 2009? ### Answer: SELECT COUNT(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Indonesia"
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR) ### Question: What is Darren Clarke's total score? ### Answer: SELECT COUNT(score) FROM table_name_45 WHERE player = "darren clarke"
Below is an context that describes 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 (Id VARCHAR) ### Question: How many schools are there? ### Answer: SELECT COUNT(*) FROM school
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (d_47 VARCHAR, d_41 VARCHAR) ### Question: Name the D 47 when it has a D 41 of r 36 ### Answer: SELECT d_47 FROM table_name_93 WHERE d_41 = "r 36"
Below is an context that describes a sql 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 (nominee VARCHAR, category VARCHAR) ### Question: Which Nominee has a Category of outstanding musical? ### Answer: SELECT nominee FROM table_name_88 WHERE category = "outstanding musical"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (year VARCHAR, developer VARCHAR) ### Question: What year did Avatar Reality release a game? ### Answer: SELECT year FROM table_name_14 WHERE developer = "avatar reality"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: What was home team North Melbourne's opponents score? ### Answer: SELECT away_team AS score FROM table_name_40 WHERE home_team = "north melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11959669_6 (game INTEGER, location_attendance VARCHAR) ### Question: What is the game that the location attendance is pepsi center 19,894? ### Answer: SELECT MAX(game) FROM table_11959669_6 WHERE location_attendance = "Pepsi Center 19,894"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17256857_1 (grid VARCHAR, driver VARCHAR) ### Question: How many drivers on the grid are called Vitor Meira? ### Answer: SELECT COUNT(grid) FROM table_17256857_1 WHERE driver = "Vitor Meira"
Below is an context that describes a 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_3 (track_no VARCHAR, track VARCHAR) ### Question: How many track numbers were called song 2? ### Answer: SELECT COUNT(track_no) FROM table_28715942_3 WHERE track = "Song 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_1342451_13 (party VARCHAR, incumbent VARCHAR) ### Question: What political party for burton e. sweet? ### Answer: SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (losses INTEGER, draws VARCHAR, against VARCHAR) ### Question: What is the greatest number of losses when there are more than 0 draws and 1390 against matches? ### Answer: SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390
Below is an context that describes a sql 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 (rebounds INTEGER, team VARCHAR, games VARCHAR) ### Question: What is the sum of Rebounds, when Team is Aris Thessaloniki, and when Games is greater than 14? ### Answer: SELECT SUM(rebounds) FROM table_name_56 WHERE team = "aris thessaloniki" AND games > 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_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR) ### Question: What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52? ### Answer: SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Third_Party_Companies (company_name VARCHAR, company_id VARCHAR); CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR, contract_start_date VARCHAR) ### Question: Which company started the earliest the maintenance contract? Show the company name. ### Answer: SELECT T1.company_name FROM Third_Party_Companies AS T1 JOIN Maintenance_Contracts AS T2 ON T1.company_id = T2.maintenance_contract_company_id ORDER BY T2.contract_start_date 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_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR) ### Question: In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume? ### Answer: SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 2801
Below is an context that describes a sql 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 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR) ### Question: What is the average total with 1 FA cup and more than 0 FA trophies? ### Answer: SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 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_47 (catalog VARCHAR, region VARCHAR) ### Question: What Catalog was released in Germany? ### Answer: SELECT catalog FROM table_name_47 WHERE region = "germany"
Below is an context that describes a sql 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 (country VARCHAR, margin_of_victory VARCHAR) ### Question: Which Country has a Margin of victory of 2 strokes? ### Answer: SELECT country FROM table_name_91 WHERE margin_of_victory = "2 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_name_62 (nationality VARCHAR, player VARCHAR) ### Question: What is the nationality of Martin Lewis? ### Answer: SELECT nationality FROM table_name_62 WHERE player = "martin lewis"
Below is an context that describes a 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 (winner VARCHAR, runners_up VARCHAR) ### Question: Who won the season for which Brendan Lynch is the runner-up? ### Answer: SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR) ### Question: What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55? ### Answer: SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55"
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR) ### Question: Opponent of Philadelphia eagles had what attendance? ### Answer: SELECT attendance FROM table_name_38 WHERE opponent = "philadelphia eagles"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: On what date was the record 19-11? ### Answer: SELECT date FROM table_name_58 WHERE record = "19-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_66 (scored INTEGER, competition VARCHAR) ### Question: What is the highest scored in the 2010 east asian football championship? ### Answer: SELECT MAX(scored) FROM table_name_66 WHERE competition = "2010 east asian football championship"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (purse__ VARCHAR, location VARCHAR) ### Question: What was the Purse ($) total for Iowa? ### Answer: SELECT COUNT(purse__) AS $__ FROM table_name_88 WHERE location = "iowa"
Below is an context that describes a sql 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 (series VARCHAR, release_date VARCHAR) ### Question: What is the Series of the Filmography with a Release date of 1946-03-16? ### Answer: SELECT series FROM table_name_85 WHERE release_date = "1946-03-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_15 (partner VARCHAR, opponents_in_the_final VARCHAR) ### Question: Tell me the partner for opponents of anamika bhargava sylvia krywacz ### Answer: SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR) ### Question: How many team songs does fremantle have? ### Answer: SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26842217_16 (broadcast VARCHAR, home_team VARCHAR) ### Question: On what network was the Kentucky game broadcast? ### Answer: SELECT broadcast FROM table_26842217_16 WHERE home_team = "Kentucky"
Below is an context that describes a 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 (rank VARCHAR, security VARCHAR) ### Question: What country has a 5.5 mark for security? ### Answer: SELECT rank FROM table_13677808_1 WHERE security = "5.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 invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR) ### Question: List the top 10 customers by total gross sales. List customers' first and last name and total gross sales. ### Answer: SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 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_80 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### Question: What is To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"? ### Answer: SELECT to_par FROM table_name_80 WHERE country = "united states" AND place = "t4" AND player = "frank boynton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (attendance INTEGER, opponent VARCHAR) ### Question: What is the highest number in attendance against the game at Kansas City Chiefs? ### Answer: SELECT MAX(attendance) FROM table_name_47 WHERE opponent = "at kansas city chiefs"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR) ### Question: On what Date is the Minnesota Vikings the Opponent? ### Answer: SELECT date FROM table_name_71 WHERE opponent = "minnesota vikings"
Below is an context that describes a sql 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, days_held VARCHAR) ### Question: What event has unknown as the days held.? ### Answer: SELECT event FROM table_name_98 WHERE days_held = "unknown"
Below is an context that describes a sql 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 (course VARCHAR, date VARCHAR) ### Question: What is the course on 1 June? ### Answer: SELECT course FROM table_name_10 WHERE date = "1 june"