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_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR)
### Question:
what is the population estimate 2005 for the with the area (km2) 3,034.08?
### Answer:
SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)
### Question:
Which Attendance has a Record of 34–51?
### Answer:
SELECT MIN(attendance) FROM table_name_63 WHERE record = "34–51"
|
Below is an context that describes a sql 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 (name VARCHAR, total VARCHAR)
### Question:
Which player has a total of 8 (24)?
### Answer:
SELECT name FROM table_name_8 WHERE total = "8 (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 table_214479_8 (y_ VARCHAR, _2009 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
### Question:
what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?
### Answer:
SELECT y_ = _2009 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 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_13 (physical_property VARCHAR, helium VARCHAR)
### Question:
Which Physical property has a Helium of 0.0693?
### Answer:
SELECT physical_property FROM table_name_13 WHERE helium = "0.0693"
|
Below is an context that describes a sql 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 (league_goals VARCHAR, league_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
### Question:
what is the league goals when the fa cup goals is higher than 0, the fa cup apps is 2 and the league apps is 45?
### Answer:
SELECT league_goals FROM table_name_50 WHERE fa_cup_goals > 0 AND fa_cup_apps = "2" AND league_apps = "45"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26060884_2 (property_crimes INTEGER, burglary VARCHAR)
### Question:
What was the minimum property crimes stats if the burglary committed was 45350?
### Answer:
SELECT MIN(property_crimes) FROM table_26060884_2 WHERE burglary = 45350
|
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR)
### Question:
What is the to par for the 69-70-72=211 score?
### Answer:
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
### Question:
How many drivers on the williams team had a margin of defeat of 2?
### Answer:
SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "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_20 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
What is the low lap total for henri pescarolo with a grad larger than 6?
### Answer:
SELECT MIN(laps) FROM table_name_20 WHERE grid > 6 AND driver = "henri pescarolo"
|
Below is an context that describes a sql 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 (time VARCHAR, heat VARCHAR, name VARCHAR)
### Question:
What was Liu Limin's time in heat 4?
### Answer:
SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin"
|
Below is an context that describes a sql 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 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR)
### Question:
Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms?
### Answer:
SELECT MIN(staterooms) FROM table_name_44 WHERE comments = "diesel-electric hybrid engines" AND length = "443 feet" AND guests > 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_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR)
### Question:
What is the team with the date of vacancy 8 dec 2010?
### Answer:
SELECT team FROM table_27383390_4 WHERE date_of_vacancy = "8 Dec 2010"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR)
### Question:
What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"?
### Answer:
SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21824695_8 (team VARCHAR, average VARCHAR)
### Question:
Which team has 7757 as the average?
### Answer:
SELECT team FROM table_21824695_8 WHERE average = 7757
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (original_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)
### Question:
What was the original US Tour cast when the original broadway was Kevin Chamberlin?
### Answer:
SELECT original_us_tour_cast FROM table_name_75 WHERE original_broadway_cast = "kevin chamberlin"
|
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
Which Player has a Score of 72-69-73=214?
### Answer:
SELECT player FROM table_name_71 WHERE score = 72 - 69 - 73 = 214
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341930_33 (party VARCHAR, incumbent VARCHAR)
### Question:
what's the party with incumbent being herbert covington bonner
### Answer:
SELECT party FROM table_1341930_33 WHERE incumbent = "Herbert Covington Bonner"
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Name the 2003 for atp masters series 1998
### Answer:
SELECT 2003 FROM table_name_83 WHERE 1998 = "atp masters series"
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
With a 2008 result of 153 what is the result for 2007?
### Answer:
SELECT 2007 FROM table_name_23 WHERE 2008 = "153"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR)
### Question:
How many weights are there when the flange with is 304?
### Answer:
SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = 304
|
Below is an context that describes a sql 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 (league INTEGER, play_offs VARCHAR, total VARCHAR)
### Question:
Name the lowest league for play-offs more than 0 and total of 25
### Answer:
SELECT MIN(league) FROM table_name_88 WHERE play_offs > 0 AND total = 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_name_31 (manufacturer VARCHAR, style VARCHAR, opened VARCHAR)
### Question:
Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008?
### Answer:
SELECT manufacturer FROM table_name_31 WHERE style = "steel sit down" AND opened > 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_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)
### Question:
Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?
### Answer:
SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE song (f_id VARCHAR, genre_is VARCHAR, song_name VARCHAR); CREATE TABLE files (duration VARCHAR, file_size VARCHAR, formats VARCHAR, f_id VARCHAR)
### Question:
List the duration, file size and format of songs whose genre is pop, ordered by title?
### Answer:
SELECT T1.duration, T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.genre_is = "pop" ORDER BY T2.song_name
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR)
### Question:
What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?
### Answer:
SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-23"
|
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR)
### Question:
What is the Country of the Player with a To par of –1?
### Answer:
SELECT country FROM table_name_69 WHERE to_par = "–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_64 (actor VARCHAR, character VARCHAR)
### Question:
who is the actor that played rachel mckenna?
### Answer:
SELECT actor FROM table_name_64 WHERE character = "rachel mckenna"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR)
### Question:
How many people scored the most points during the game on December 10?
### Answer:
SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 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_21692771_1 (isin VARCHAR, maturity VARCHAR)
### Question:
What is the ISIN associated with the maturity date of 3/11/2011?
### Answer:
SELECT isin FROM table_21692771_1 WHERE maturity = "3/11/2011"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11944282_1 (integrated VARCHAR, allied_related VARCHAR)
### Question:
How many integrated allied-related are there?
### Answer:
SELECT integrated FROM table_11944282_1 WHERE allied_related = "Many"
|
Below is an context that describes a sql 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 (nationality VARCHAR, fate VARCHAR, name VARCHAR)
### Question:
Which Nationality has a Fate of sunk, and a Name of alderamin?
### Answer:
SELECT nationality FROM table_name_67 WHERE fate = "sunk" AND name = "alderamin"
|
Below is an context that describes a sql 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 (position VARCHAR, wins VARCHAR, season VARCHAR)
### Question:
What was his position in 2009 with 1 win?
### Answer:
SELECT position FROM table_name_93 WHERE wins = "1" AND season = "2009"
|
Below is an context that describes a sql 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 (wins INTEGER, byes INTEGER)
### Question:
What's the average number of wins for those with less than 2 byes?
### Answer:
SELECT AVG(wins) FROM table_name_62 WHERE byes < 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_76 (noof_settlements INTEGER, district VARCHAR, pop_dens VARCHAR)
### Question:
How many settlements are in český krumlov (ck) with a population density higher than 38?
### Answer:
SELECT SUM(noof_settlements) FROM table_name_76 WHERE district = "český krumlov (ck)" AND pop_dens > 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_28298589_4 (date VARCHAR, visiting_team VARCHAR)
### Question:
What date was the game where Texas Southern was the visiting team?
### Answer:
SELECT date FROM table_28298589_4 WHERE visiting_team = "Texas Southern"
|
Below is an context that describes a sql 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 (loss VARCHAR, save VARCHAR)
### Question:
What is the resulting loss when a save is ||12,838||48–35?
### Answer:
SELECT loss FROM table_name_50 WHERE save = "||12,838||48–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_name_41 (school VARCHAR, county VARCHAR)
### Question:
What school is in 36 Jackson?
### Answer:
SELECT school FROM table_name_41 WHERE county = "36 jackson"
|
Below is an context that describes a sql 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 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What was team one name for the Team 2 of Toulouse Fc (d1)>?
### Answer:
SELECT team_1 FROM table_name_34 WHERE team_2 = "toulouse fc (d1)"
|
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR)
### Question:
Which Year has a Venue of bydgoszcz, poland?
### Answer:
SELECT AVG(year) FROM table_name_35 WHERE venue = "bydgoszcz, 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_name_27 (drawn INTEGER, lost VARCHAR, points VARCHAR, against VARCHAR)
### Question:
What is the highest number of draws with more than 15 points, an against of 19, and less than 3 losses?
### Answer:
SELECT MAX(drawn) FROM table_name_27 WHERE points > 15 AND against = 19 AND lost < 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_1661124_1 (target VARCHAR, approval_date VARCHAR)
### Question:
How many targets are there with an approval date of 1997?
### Answer:
SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25703_1 (death_2013 INTEGER, death_2012 VARCHAR)
### Question:
What is the highest death/2013 when the death/2012 is 12,7?
### Answer:
SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,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_9 (date VARCHAR, game_site VARCHAR)
### Question:
What Date was the Game at Griffith Stadium?
### Answer:
SELECT date FROM table_name_9 WHERE game_site = "griffith stadium"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (population INTEGER, region INTEGER)
### Question:
What is the smallest population in a region greater than 9?
### Answer:
SELECT MIN(population) FROM table_name_94 WHERE region > 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_1 (type VARCHAR, location VARCHAR)
### Question:
Which type of institution is in Amherst, MA?
### Answer:
SELECT type FROM table_name_1 WHERE location = "amherst, ma"
|
Below is an context that describes a sql 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 (bronze VARCHAR, year VARCHAR, silver VARCHAR)
### Question:
Which Bronze has a Year smaller than 1994, and a Silver of south korea?
### Answer:
SELECT bronze FROM table_name_45 WHERE year < 1994 AND silver = "south korea"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR)
### Question:
How many official languages does Afghanistan have?
### Answer:
SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Afghanistan" AND IsOfficial = "T"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
### Question:
What team was the opponent in the 2008–09 season, with a final score of 2–3 l?
### Answer:
SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l"
|
Below is an context that describes a sql 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 (employed VARCHAR, position_held VARCHAR)
### Question:
What are the years employed shown for mathematics & prefect master?
### Answer:
SELECT employed FROM table_name_74 WHERE position_held = "mathematics & prefect master"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)
### Question:
How many copoes per particle are created in the segment that forms inner shell of the core?
### Answer:
SELECT copies_per_particle FROM table_140968_1 WHERE location = "Forms inner shell of the core"
|
Below is an context that describes a sql 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 (game VARCHAR, result VARCHAR)
### Question:
Result of 88-85 ot (1-0) involves what game?
### Answer:
SELECT game FROM table_name_16 WHERE result = "88-85 ot (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_27 (willingshain VARCHAR, reimboldsh VARCHAR)
### Question:
What Willinghshain has Reimboldsh of 101?
### Answer:
SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16034882_4 (draws INTEGER, club VARCHAR)
### Question:
How many draws did švyturys Klaipėda have?
### Answer:
SELECT MIN(draws) FROM table_16034882_4 WHERE club = "Švyturys Klaipėda"
|
Below is an context that describes a sql 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 (place INTEGER, song VARCHAR)
### Question:
What is the place of the song 'Never Change'?
### Answer:
SELECT SUM(place) FROM table_name_79 WHERE song = "never change"
|
Below is an context that describes a sql 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 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR)
### Question:
Which Opponent has a Location/Attendance of delta center/19,911 on dec 6?
### Answer:
SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 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_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR)
### Question:
What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27?
### Answer:
SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 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_name_88 (points INTEGER, match INTEGER)
### Question:
What is the lowest points for a match before 14?
### Answer:
SELECT MIN(points) FROM table_name_88 WHERE match > 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_71 (year INTEGER, venue VARCHAR, time VARCHAR)
### Question:
What's the lowest Year with a Venue of casablanca and has the Time of 20.63w?
### Answer:
SELECT MIN(year) FROM table_name_71 WHERE venue = "casablanca" AND time = "20.63w"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
### Question:
What's the production code of the episode originally aired on February 21, 1985?
### Answer:
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (country VARCHAR)
### Question:
How many employees are living in Canada?
### Answer:
SELECT COUNT(*) FROM employees WHERE country = "Canada"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR)
### Question:
what is the points total for forti corse?
### Answer:
SELECT SUM(points) FROM table_name_49 WHERE entrant = "forti corse"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (channel VARCHAR, opponent VARCHAR)
### Question:
Which Channel has an Opponent of washington redskins?
### Answer:
SELECT channel FROM table_name_41 WHERE opponent = "washington redskins"
|
Below is an context that describes a sql 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 (state VARCHAR, major_series VARCHAR, city VARCHAR)
### Question:
What is the State with the trans-am Major Series in Grand Rapids?
### Answer:
SELECT state FROM table_name_38 WHERE major_series = "trans-am" AND city = "grand rapids"
|
Below is an context that describes a sql 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 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)
### Question:
Which ERP W has a Class of A, and a Call sign of wffc?
### Answer:
SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2144389_8 (rōmaji VARCHAR, japanese_translation VARCHAR)
### Question:
Name the romaji by your side ~hikari's theme~ (popup.version)
### Answer:
SELECT rōmaji FROM table_2144389_8 WHERE japanese_translation = "By Your Side ~Hikari's Theme~ (PopUp.Version)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR)
### Question:
What is the last year total for the team with a lowest of 23578?
### Answer:
SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578
|
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the average number of silvers for teams ranked 5 with 0 bronze?
### Answer:
SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND 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_2482547_5 (wickets_taken INTEGER, name VARCHAR)
### Question:
What's the maximum wickets taken by players named Bill Lockwood?
### Answer:
SELECT MAX(wickets_taken) FROM table_2482547_5 WHERE name = "Bill Lockwood"
|
Below is an context that describes a sql 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 (vs_all VARCHAR, vs_terran VARCHAR)
### Question:
What is the score vs. all when the score vs. Terran is 159?
### Answer:
SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256286_14 (no_votes INTEGER)
### Question:
Name the most no votes
### Answer:
SELECT MAX(no_votes) FROM table_256286_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 Apartment_Bookings (Id VARCHAR)
### Question:
How many apartment bookings are there in total?
### Answer:
SELECT COUNT(*) FROM Apartment_Bookings
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (played INTEGER, lost VARCHAR, position VARCHAR, against VARCHAR)
### Question:
What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6?
### Answer:
SELECT AVG(played) FROM table_name_3 WHERE position > 3 AND against < 27 AND lost < 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_55 (week INTEGER, attendance VARCHAR)
### Question:
Total weeks of 49,980 attendance?
### Answer:
SELECT SUM(week) FROM table_name_55 WHERE attendance = 49 OFFSET 980
|
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, location VARCHAR)
### Question:
Which IHSAA Class has a Location of brazil?
### Answer:
SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil"
|
Below is an context that describes a sql 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 (top_25 INTEGER, cuts_made VARCHAR)
### Question:
How many times has Watney made the top 25 for a tournament in which he as also been cut 6 times?
### Answer:
SELECT SUM(top_25) FROM table_name_47 WHERE cuts_made = 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_53 (result VARCHAR, attendance VARCHAR)
### Question:
What is the Result of the game with an Attendance of 55,353?
### Answer:
SELECT result FROM table_name_53 WHERE attendance = "55,353"
|
Below is an context that describes a sql 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 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR)
### Question:
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw?
### Answer:
SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw"
|
Below is an context that describes a sql 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 VARCHAR, home_team VARCHAR)
### Question:
How many people attended the game of a.f.c. totton?
### Answer:
SELECT attendance FROM table_name_47 WHERE home_team = "a.f.c. totton"
|
Below is an context that describes a sql 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 (builder VARCHAR, name_number VARCHAR)
### Question:
Who was the builder for joffre
### Answer:
SELECT builder FROM table_name_60 WHERE name_number = "joffre"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (artist VARCHAR, place VARCHAR, percentage VARCHAR)
### Question:
What Artist has a Place of 3 or less with a Percentage of 38.60%?
### Answer:
SELECT artist FROM table_name_50 WHERE place < 3 AND percentage = "38.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_1140105_6 (constructor VARCHAR, date VARCHAR)
### Question:
What is te name of the constructors dated 26 march?
### Answer:
SELECT constructor FROM table_1140105_6 WHERE date = "26 March"
|
Below is an context that describes a sql 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 (date VARCHAR, potts__i_ VARCHAR)
### Question:
On which date did Potts (I) poll at 9%?
### Answer:
SELECT date FROM table_name_92 WHERE potts__i_ = "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_52 (country VARCHAR, base VARCHAR, play VARCHAR)
### Question:
What Country has the Play The Libation Bearers a Base of Mecklenburg?
### Answer:
SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_3 (episode VARCHAR, daves_team VARCHAR)
### Question:
In how many episodes was Dave's team made up of David Walliams and Louis Walsh?
### Answer:
SELECT COUNT(episode) FROM table_23292220_3 WHERE daves_team = "David Walliams and Louis Walsh"
|
Below is an context that describes a sql 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 (north_america VARCHAR, europe VARCHAR)
### Question:
Tell me the north america for september 18, 2009
### Answer:
SELECT north_america FROM table_name_64 WHERE europe = "september 18, 2009"
|
Below is an context that describes a sql 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 (year INTEGER, event VARCHAR, location VARCHAR, final_score VARCHAR)
### Question:
Location of saint paul, and a Final-Score larger than 14.35, and a Event of all around is what sum of year?
### Answer:
SELECT SUM(year) FROM table_name_39 WHERE location = "saint paul" AND final_score > 14.35 AND event = "all around"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_145439_1 (health VARCHAR, justice VARCHAR)
### Question:
what's the health score with justice being 80.7
### Answer:
SELECT health FROM table_145439_1 WHERE justice = "80.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_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
### Question:
What is the frequency for the country station owned by Jim Pattison Group?
### Answer:
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
|
Below is an context that describes a sql 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 (grüne VARCHAR, fritz VARCHAR)
### Question:
What percent did GRÜNE get in the state where FRITZ got 1.3%?
### Answer:
SELECT grüne FROM table_name_14 WHERE fritz = "1.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_20 (on_site_atms INTEGER, off_site_atms VARCHAR, total_atms VARCHAR)
### Question:
What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?
### Answer:
SELECT AVG(on_site_atms) FROM table_name_20 WHERE off_site_atms = 1567 AND total_atms < 4772
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (place VARCHAR, rope VARCHAR, name VARCHAR)
### Question:
What is Milena Reljin's place with a smaller than 9.8 rope?
### Answer:
SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = "milena reljin"
|
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was the away team when Lincoln City was the home team?
### Answer:
SELECT away_team FROM table_name_19 WHERE home_team = "lincoln city"
|
Below is an context that describes a sql 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 (label VARCHAR, date VARCHAR, format VARCHAR)
### Question:
What Label released on October 25, 1984, in the format of Stereo LP?
### Answer:
SELECT label FROM table_name_79 WHERE date = "october 25, 1984" AND format = "stereo lp"
|
Below is an context that describes a sql 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 (country VARCHAR, director VARCHAR)
### Question:
Which Country is listed for the Director Thomas Vinterberg?
### Answer:
SELECT country FROM table_name_74 WHERE director = "thomas vinterberg"
|
Below is an context that describes a sql 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 (start VARCHAR, rank VARCHAR)
### Question:
What place did Jimmy Reece start from when he ranked 12?
### Answer:
SELECT start FROM table_name_83 WHERE rank = "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_89 (venue VARCHAR, status VARCHAR, against VARCHAR)
### Question:
What Venue has a Status of five nations, and Against of 0?
### Answer:
SELECT venue FROM table_name_89 WHERE status = "five nations" AND against = 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_8 (first_publisher VARCHAR, year VARCHAR)
### Question:
What is the First Publisher in 2007?
### Answer:
SELECT first_publisher FROM table_name_8 WHERE year = 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_name_90 (race_leader VARCHAR, course VARCHAR)
### Question:
Who's the race leader of Cuneo to Turin?
### Answer:
SELECT race_leader FROM table_name_90 WHERE course = "cuneo to turin"
|
Below is an context that describes a sql 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 (nationality VARCHAR, round VARCHAR)
### Question:
WHAT NATIONALITY HAS ROUND 3?
### Answer:
SELECT nationality FROM table_name_97 WHERE round = 3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.