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_19948664_2 (index__year_ VARCHAR, countries_sampled VARCHAR)
### Question:
How many years were listed under index when there were 157 countries sampled?
### Answer:
SELECT COUNT(index__year_) FROM table_19948664_2 WHERE countries_sampled = 157 |
Below is an context that describes a sql 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 (ties INTEGER, losses INTEGER)
### Question:
What is the highest value for Ties, when Losses is less than 8?
### Answer:
SELECT MAX(ties) FROM table_name_72 WHERE losses < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12028543_3 (season VARCHAR, losingteam VARCHAR)
### Question:
How many seasons was the losing team Adelaide City?
### Answer:
SELECT COUNT(season) FROM table_12028543_3 WHERE losingteam = "Adelaide 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_38 (cable_channel VARCHAR, call_sign VARCHAR)
### Question:
How many cable channels have callsign CBFT-DT?
### Answer:
SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt" |
Below is an context that describes a sql 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 (zaaps___ziips VARCHAR, model VARCHAR)
### Question:
For Model e64 what is the zAAPs/zIIPs?
### Answer:
SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64" |
Below is an context that describes a sql 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 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What is the sum of Points, when Home is "Pittsburgh", when Date is "December 21", and when Attendance is greater than 5,307?
### Answer:
SELECT SUM(points) FROM table_name_84 WHERE home = "pittsburgh" AND date = "december 21" AND attendance > 5 OFFSET 307 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27298240_26 (aorist VARCHAR, present VARCHAR)
### Question:
What aorist has bude in present tense?
### Answer:
SELECT aorist FROM table_27298240_26 WHERE present = "bude" |
Below is an context that describes a sql 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 (artist VARCHAR, draw INTEGER)
### Question:
What is the artist with less than a 2 draw?
### Answer:
SELECT artist FROM table_name_88 WHERE draw < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (bronze_medals INTEGER, gold_medals INTEGER)
### Question:
What is the highest number of bronze medals received by an ensemble who received fewer than 0 gold medals?
### Answer:
SELECT MAX(bronze_medals) FROM table_name_77 WHERE gold_medals < 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_184803_4 (spokespersons VARCHAR, voting_order VARCHAR)
### Question:
list the spokespersons where voting order is 9
### Answer:
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 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_20745444_1 (date VARCHAR, record VARCHAR)
### Question:
What was the date when the record was 1-0?
### Answer:
SELECT date FROM table_20745444_1 WHERE record = "1-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
### Question:
When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications?
### Answer:
SELECT general_classification FROM table_18733814_2 WHERE points_classification = "Alessandro Petacchi" AND young_rider_classification = "Thomas Löfkvist" |
Below is an context that describes a sql 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 (bb_pop VARCHAR, riaa VARCHAR, cb_cw VARCHAR, year VARCHAR)
### Question:
What is the BB pop of the song with a CB CW of 1, RIAA of P and was released more recently than 1976?
### Answer:
SELECT bb_pop FROM table_name_93 WHERE cb_cw = "1" AND year > 1976 AND riaa = "p" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (final_score VARCHAR, date VARCHAR)
### Question:
What was the final score of the game on November 17?
### Answer:
SELECT final_score FROM table_name_33 WHERE date = "november 17" |
Below is an context that describes a sql 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 (episode VARCHAR, result VARCHAR, nominee_s_ VARCHAR)
### Question:
For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result?
### Answer:
SELECT episode FROM table_name_52 WHERE result = "nominated" AND nominee_s_ = "walon green, joe sachs" |
Below is an context that describes a sql 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 (qual_2 VARCHAR, qual_1 VARCHAR)
### Question:
What was the qualifying 2 time for the team with a qualifying 1 time of 1:01.630?
### Answer:
SELECT qual_2 FROM table_name_55 WHERE qual_1 = "1:01.630" |
Below is an context that describes a sql 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 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR)
### Question:
What is the partially deleted result for a completed construction of m– in St. Maries Creosote?
### Answer:
SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14460085_3 (played INTEGER, team VARCHAR)
### Question:
What is the lowest number of games played for deportivo español?
### Answer:
SELECT MIN(played) FROM table_14460085_3 WHERE team = "Deportivo Español" |
Below is an context that describes a sql 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 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?
### Answer:
SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_3002894_4 (sonnet VARCHAR, model VARCHAR)
### Question:
When included ram (mib) is the model what is the sonnet?
### Answer:
SELECT sonnet FROM table_3002894_4 WHERE model = "Included RAM (MiB)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10240125_2 (total_goals INTEGER)
### Question:
Whatis the number of total goals maximum?
### Answer:
SELECT MAX(total_goals) FROM table_10240125_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_1342233_5 (incumbent VARCHAR, district VARCHAR)
### Question:
How many incumbents had a district of Arkansas 3?
### Answer:
SELECT COUNT(incumbent) FROM table_1342233_5 WHERE district = "Arkansas 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_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER)
### Question:
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
### Answer:
SELECT population__on_the_census_also_called_censo_2010_ FROM table_name_47 WHERE deputies_required_ignoring_the_limits < -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_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)
### Question:
Which Opponents have a Team of arsenal, and a Year of 1963–64?
### Answer:
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR)
### Question:
Name the feb 2010 for january 2010 for 6.2%
### Answer:
SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = "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 (year INTEGER, budget VARCHAR)
### Question:
How many years had budgets of $39 million?
### Answer:
SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)
### Question:
What is the area in kilometers squared the population density is 137.61?
### Answer:
SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (attendance VARCHAR, week VARCHAR)
### Question:
What is Attendance, when Week is 5?
### Answer:
SELECT attendance FROM table_name_95 WHERE week = 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (Id VARCHAR)
### Question:
What is in 2001, that has the year 2006, 2r, and in 2010 an A?
### Answer:
SELECT 2001 FROM table_name_71 WHERE 2006 = "2r" AND 2010 = "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 Albums (YEAR VARCHAR)
### Question:
What are the albums produced in year 2010?
### Answer:
SELECT * FROM Albums WHERE YEAR = 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)
### Question:
What is the muzzle device with a 1:7 barrel twist and a stock 4th generation?
### Answer:
SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation" |
Below is an context that describes a sql 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 (season VARCHAR, position VARCHAR, poles VARCHAR, series VARCHAR)
### Question:
In which season did he have 0 Poles and 19th position in the GP2 Series?
### Answer:
SELECT season FROM table_name_57 WHERE poles = "0" AND series = "gp2 series" AND position = "19th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)
### Question:
What positions were drafted from Las Vegas, NV?
### Answer:
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18018214_2 (loses VARCHAR, club VARCHAR)
### Question:
List total loses forh the tauras tauragė team.
### Answer:
SELECT COUNT(loses) FROM table_18018214_2 WHERE club = "Tauras Tauragė" |
Below is an context that describes a sql 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 (league VARCHAR, goals VARCHAR)
### Question:
Which league has 12 goals?
### Answer:
SELECT league FROM table_name_66 WHERE goals = 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_87 (water_depth VARCHAR, location VARCHAR, name VARCHAR)
### Question:
What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?
### Answer:
SELECT water_depth FROM table_name_87 WHERE location = "gulf of mexico" AND name = "discoverer clear leader" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)
### Question:
Find the average rating star for each movie that are not reviewed by Brittany Harris.
### Answer:
SELECT mID, AVG(stars) FROM Rating WHERE NOT mID IN (SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris") GROUP BY mID |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR)
### Question:
What the result for the hypo-meeting tournament in 1994?
### Answer:
SELECT result FROM table_name_81 WHERE year = 1994 AND tournament = "hypo-meeting" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
### Question:
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?
### Answer:
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR)
### Question:
How many losses does the club with 539 points for have?
### Answer:
SELECT lost FROM table_1676073_13 WHERE points_for = "539" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14181578_1 (club__city_town_ VARCHAR, goals_for_against VARCHAR)
### Question:
who is the the club (city/town) with goals for/against being 14-2
### Answer:
SELECT club__city_town_ FROM table_14181578_1 WHERE goals_for_against = "14-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_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR)
### Question:
who won basketball when ashland won track & field and cross country
### Answer:
SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
### Question:
What is the number of weeks where the venue was memorial stadium and the attendance was less than 41,252?
### Answer:
SELECT COUNT(week) FROM table_name_36 WHERE venue = "memorial stadium" AND attendance < 41 OFFSET 252 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29261215_4 (helen_sildna VARCHAR, iiris_vesik VARCHAR)
### Question:
How many scores did Helen Sildna give when Iiris Vesik gave a 3?
### Answer:
SELECT COUNT(helen_sildna) FROM table_29261215_4 WHERE iiris_vesik = 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_57 (origin VARCHAR, in_service VARCHAR)
### Question:
For the vessel with a listed In service of 1, what is the origin given?
### Answer:
SELECT origin FROM table_name_57 WHERE in_service = 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_49 (game VARCHAR, home_team VARCHAR, result VARCHAR)
### Question:
What was the game when Houston was the home team and the result is 106-104?
### Answer:
SELECT game FROM table_name_49 WHERE home_team = "houston" AND result = "106-104" |
Below is an context that describes a sql 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 (year_built INTEGER, name VARCHAR)
### Question:
What is the year built for the Fay No. 4?
### Answer:
SELECT MAX(year_built) FROM table_name_47 WHERE name = "fay no. 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_37 (year INTEGER, local_host_s_ VARCHAR)
### Question:
What is the sum of year with the local host Sai?
### Answer:
SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11793221_4 (complement VARCHAR, unit VARCHAR)
### Question:
Name the number of complement for 4th hanoverian brigade
### Answer:
SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanoverian Brigade" |
Below is an context that describes a sql 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 (site VARCHAR, date VARCHAR)
### Question:
I want the site for september 29, 2013
### Answer:
SELECT site FROM table_name_51 WHERE date = "september 29, 2013" |
Below is an context that describes a sql 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 (points VARCHAR, year VARCHAR)
### Question:
How many total points were in 1992?
### Answer:
SELECT COUNT(points) FROM table_name_74 WHERE year = 1992 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (rounds VARCHAR, engine_† VARCHAR)
### Question:
What were the rounds on the Engine † of the Ferrari 048?
### Answer:
SELECT rounds FROM table_name_33 WHERE engine_† = "ferrari 048" |
Below is an context that describes a sql 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 (role VARCHAR, year VARCHAR)
### Question:
What role was played in 2007?
### Answer:
SELECT role FROM table_name_37 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_11948857_1 (first_elected VARCHAR, district VARCHAR)
### Question:
How many entries are shown for first elected for district 41?
### Answer:
SELECT COUNT(first_elected) FROM table_11948857_1 WHERE district = 41 |
Below is an context that describes a sql 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 (silver INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
How many silvers for south korea with under 1 gold medal?
### Answer:
SELECT MAX(silver) FROM table_name_15 WHERE nation = "south korea" AND gold < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964047_10 (attendance VARCHAR, home VARCHAR)
### Question:
What is the attendance for the home game at Los Angeles Lakers?
### Answer:
SELECT attendance FROM table_11964047_10 WHERE home = "Los Angeles Lakers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
### Question:
Which Name has a Reserved for of none, and a Constituency number of 7?
### Answer:
SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "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_98 (owner VARCHAR, built VARCHAR)
### Question:
Who is the owner that built in 2009-2011?
### Answer:
SELECT owner FROM table_name_98 WHERE built = "2009-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_10701133_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who directed the episode where u.s. viewers (million) is 12.90?
### Answer:
SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (record VARCHAR, visitor VARCHAR)
### Question:
What is the record when the visitor was Nashville?
### Answer:
SELECT record FROM table_name_82 WHERE visitor = "nashville" |
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR)
### Question:
Which tournament was held on 9 Jun 2002?
### Answer:
SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" |
Below is an context that describes a sql 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 (winner VARCHAR, date VARCHAR)
### Question:
What is the name of the winner on 18 may?
### Answer:
SELECT winner FROM table_name_21 WHERE date = "18 may" |
Below is an context that describes a sql 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 (points VARCHAR, goal_difference VARCHAR, played VARCHAR)
### Question:
What is the total number of points of the club with a goal difference greater than 17 and more than 34 played?
### Answer:
SELECT COUNT(points) FROM table_name_76 WHERE goal_difference > 17 AND played > 34 |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the home team score of the game with Adelaide as the away team?
### Answer:
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide" |
Below is an context that describes a sql 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 (team_2 VARCHAR, team_1 VARCHAR)
### Question:
What is the team 2 with a team 1 us gorée?
### Answer:
SELECT team_2 FROM table_name_88 WHERE team_1 = "us gorée" |
Below is an context that describes a sql 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 (date VARCHAR, course VARCHAR)
### Question:
What is the date of the Rome to Florence course?
### Answer:
SELECT date FROM table_name_44 WHERE course = "rome to florence" |
Below is an context that describes a sql 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 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR)
### Question:
who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato?
### Answer:
SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato" |
Below is an context that describes a sql 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 (current_version VARCHAR, license VARCHAR, name VARCHAR)
### Question:
what is the current version of the name mupen64plus with gpl v2 license?
### Answer:
SELECT current_version FROM table_name_97 WHERE license = "gpl v2" AND name = "mupen64plus" |
Below is an context that describes a sql 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 (street_address VARCHAR, floors VARCHAR)
### Question:
What is the street address of the building with 40 floors?
### Answer:
SELECT street_address FROM table_name_94 WHERE floors = "40" |
Below is an context that describes a sql 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 (segment_a VARCHAR, segment_b VARCHAR)
### Question:
Which Segment A has a Segment B of s awning?
### Answer:
SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning" |
Below is an context that describes a sql 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 (match VARCHAR, result VARCHAR)
### Question:
What is the match number that had a result of 0:5 (0:3)?
### Answer:
SELECT COUNT(match) FROM table_name_20 WHERE result = "0:5 (0: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_29 (score VARCHAR, away_team VARCHAR)
### Question:
what is the score when the away team is tottenham hotspur?
### Answer:
SELECT score FROM table_name_29 WHERE away_team = "tottenham hotspur" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What date did the away team Bristol Rovers play?
### Answer:
SELECT date FROM table_name_63 WHERE away_team = "bristol rovers" |
Below is an context that describes a sql 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 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR)
### Question:
Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?
### Answer:
SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon" |
Below is an context that describes a sql 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 (long INTEGER, loss VARCHAR, avg_g VARCHAR)
### Question:
What was the highest long with less than 7 losses and an Avg/G smaller than 25.1?
### Answer:
SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.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 (total INTEGER, event VARCHAR, gold VARCHAR)
### Question:
What is the Total with the Event 2004 Athens and Gold less than 20?
### Answer:
SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 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_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)
### Question:
What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?
### Answer:
SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (cars_entered INTEGER, winning_driver VARCHAR, season VARCHAR)
### Question:
What are the largest Cars Entered with a Winning Driver of rodger ward, and a Season smaller than 1959?
### Answer:
SELECT MAX(cars_entered) FROM table_name_33 WHERE winning_driver = "rodger ward" AND season < 1959 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17505751_5 (Champions INTEGER)
### Question:
In the Champions league, what is the Minimum
### Answer:
SELECT MIN(Champions) AS league FROM table_17505751_5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (label VARCHAR, date_of_release VARCHAR)
### Question:
What label is released on September 20, 2005?
### Answer:
SELECT label FROM table_name_16 WHERE date_of_release = "september 20, 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 table_name_49 (date VARCHAR, record VARCHAR)
### Question:
What was the date of the game when the Devils had a record of 21–14–3?
### Answer:
SELECT date FROM table_name_49 WHERE record = "21–14–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_26565917_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
when did 14.55 people watch?
### Answer:
SELECT original_air_date FROM table_26565917_2 WHERE us_viewers__millions_ = "14.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_10 (english_translation VARCHAR, artist VARCHAR)
### Question:
what is the english translation when the artist is ann christine?
### Answer:
SELECT english_translation FROM table_name_10 WHERE artist = "ann christine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17157367_1 (output VARCHAR, short_description VARCHAR)
### Question:
what ist he output where the short description is massive?
### Answer:
SELECT output FROM table_17157367_1 WHERE short_description = "massive" |
Below is an context that describes a sql 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 (leading_scorer VARCHAR, visitor VARCHAR)
### Question:
What is the leading scorer of the game with the Celtics as the visiting team?
### Answer:
SELECT leading_scorer FROM table_name_59 WHERE visitor = "celtics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR)
### Question:
What was the previous school of #22?
### Answer:
SELECT previous_school FROM table_24925945_3 WHERE _number = 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_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR)
### Question:
Name the listed owners for brevak racing
### Answer:
SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak Racing" |
Below is an context that describes a sql 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 (builder VARCHAR, lot_no VARCHAR)
### Question:
What builder has lot number 30702?
### Answer:
SELECT builder FROM table_name_44 WHERE lot_no = 30702 |
Below is an context that describes a sql 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 (weight__kg_ INTEGER, jersey__number VARCHAR)
### Question:
What was the lowest Weight (kg) for a player that had Jersey #10?
### Answer:
SELECT MIN(weight__kg_) FROM table_name_67 WHERE jersey__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_8 (score_in_the_final VARCHAR, surface VARCHAR)
### Question:
What is the score in the final of the tournament with a hard surface?
### Answer:
SELECT score_in_the_final FROM table_name_8 WHERE surface = "hard" |
Below is an context that describes a sql 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 (ages VARCHAR, ofsted VARCHAR, school VARCHAR)
### Question:
Which Ages have an Ofsted larger than 106172, and a School of oakgrove school?
### Answer:
SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove 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_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR)
### Question:
What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes?
### Answer:
SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1000181_1 (notes VARCHAR, current_slogan VARCHAR)
### Question:
Tell me what the notes are for South Australia
### Answer:
SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR)
### Question:
Which printer issued sheets on October 5, 2006?
### Answer:
SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006" |
Below is an context that describes a sql 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 (cons VARCHAR, lib_dem VARCHAR, lead VARCHAR)
### Question:
What is the cons for lib dem of 8% and a lead of 27%
### Answer:
SELECT cons FROM table_name_19 WHERE lib_dem = "8%" AND lead = "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_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)
### Question:
Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?
### Answer:
SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 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 (series VARCHAR, podiums INTEGER)
### Question:
What series had more than 10 Podiums?
### Answer:
SELECT series FROM table_name_73 WHERE podiums > 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_19730892_1 (position VARCHAR, name VARCHAR)
### Question:
Name the total number of position for don clegg
### Answer:
SELECT COUNT(position) FROM table_19730892_1 WHERE name = "Don Clegg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR)
### Question:
What are all the AAAA classes in the schools years 2004-05?
### Answer:
SELECT class_aAAA FROM table_14603212_5 WHERE school_year = "2004-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_1420954_1 (publication_dates VARCHAR, artist_s_ VARCHAR)
### Question:
timothy truman worked on what dates
### Answer:
SELECT publication_dates FROM table_1420954_1 WHERE artist_s_ = "Timothy Truman" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.