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_90 (race_name VARCHAR, round VARCHAR)
### Question:
What is the name of the race from round 1?
### Answer:
SELECT race_name FROM table_name_90 WHERE round = 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_18 (surface VARCHAR, date VARCHAR)
### Question:
What Surface has a Date of 1 september 2008?
### Answer:
SELECT surface FROM table_name_18 WHERE date = "1 september 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_26591309_3 (first_broadcast_denmark___dr1__ VARCHAR, official_barb_ratings VARCHAR)
### Question:
When was the episode with a 999,000 BARB rating first aired in Denmark?
### Answer:
SELECT first_broadcast_denmark___dr1__ FROM table_26591309_3 WHERE official_barb_ratings = "999,000"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR)
### Question:
What is Resident Country, when Local Location is "Copenhagen"?
### Answer:
SELECT resident_country FROM table_name_79 WHERE local_location = "copenhagen"
|
Below is an context that describes a sql 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 (catalog VARCHAR, format VARCHAR, label VARCHAR)
### Question:
What is the Catalog number of the CD Reissue Universal release?
### Answer:
SELECT catalog FROM table_name_79 WHERE format = "cd reissue" AND label = "universal"
|
Below is an context that describes a sql 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 (points INTEGER, lost VARCHAR, position VARCHAR, played VARCHAR)
### Question:
How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?
### Answer:
SELECT AVG(points) FROM table_name_20 WHERE position < 8 AND played = 16 AND lost > 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_46 (howard_baker VARCHAR, ronald_reagan VARCHAR)
### Question:
Name the howard baker for ronald reagan of 72%
### Answer:
SELECT howard_baker FROM table_name_46 WHERE ronald_reagan = "72%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR)
### Question:
what is the highest attendance for week 3?
### Answer:
SELECT MAX(attendance) FROM table_name_34 WHERE week = 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_1140085_2 (pole_position VARCHAR, rnd VARCHAR)
### Question:
who is the pole position for the rnd 3
### Answer:
SELECT pole_position FROM table_1140085_2 WHERE rnd = 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_13 (pick__number INTEGER, cfl_team VARCHAR)
### Question:
What was the highest pick number for the Hamilton tiger-cats?
### Answer:
SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats"
|
Below is an context that describes a sql 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 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)
### Question:
What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?
### Answer:
SELECT SUM(total) FROM table_name_40 WHERE gymnast = "robert stanescu ( rou )" AND b_score > 8.75
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)
### Question:
In which district is the incumbent Marcia C. Kaptur?
### Answer:
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"
|
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
### Question:
What is the average points that Centro Asegurador earned with the McLaren M23 chassis?
### Answer:
SELECT AVG(points) FROM table_name_3 WHERE chassis = "mclaren m23" AND entrant = "centro asegurador"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR)
### Question:
Which CFL team did the player from British Columbia get drafted to
### Answer:
SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12828723_3 (lost VARCHAR, points_for VARCHAR)
### Question:
what's the loss with points for being 594
### Answer:
SELECT lost FROM table_12828723_3 WHERE points_for = "594"
|
Below is an context that describes a sql 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 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR)
### Question:
What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?
### Answer:
SELECT inf_stem FROM table_name_13 WHERE subj_pres = "a" AND plur_pret = "uo"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (Id VARCHAR)
### Question:
Which 1988 has a 1982 of 104?
### Answer:
SELECT 1988 FROM table_name_46 WHERE 1982 = "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_67 (to_par VARCHAR, player VARCHAR)
### Question:
What is the To par has the presence of Vijay Singh?
### Answer:
SELECT to_par FROM table_name_67 WHERE player = "vijay singh"
|
Below is an context that describes a sql 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 (chassis VARCHAR, entrant VARCHAR)
### Question:
Which chassis had an entrant of John Mecom?
### Answer:
SELECT chassis FROM table_name_37 WHERE entrant = "john mecom"
|
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR)
### Question:
What was the attendance when Footscray played as the away team?
### Answer:
SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray"
|
Below is an context that describes a sql 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 (build_date VARCHAR, model VARCHAR)
### Question:
What is the build date of the locomotive with a fa-2 model?
### Answer:
SELECT build_date FROM table_name_55 WHERE model = "fa-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_44 (catalog VARCHAR, date VARCHAR)
### Question:
Which catalog has a date of 24 march 2006?
### Answer:
SELECT catalog FROM table_name_44 WHERE date = "24 march 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_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8?
### Answer:
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR)
### Question:
Name the result for arrowhead stadium
### Answer:
SELECT result FROM table_name_45 WHERE game_site = "arrowhead 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_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR)
### Question:
How many different games against Florida Panthers were played in Verizon Center?
### Answer:
SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center"
|
Below is an context that describes a sql 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 (intra_dc_precision VARCHAR, name VARCHAR)
### Question:
Name the Intra DC Precision that has the Name main profile?
### Answer:
SELECT intra_dc_precision FROM table_name_59 WHERE name = "main profile"
|
Below is an context that describes a sql 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 (top_5 INTEGER, tournament VARCHAR, events VARCHAR)
### Question:
What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86?
### Answer:
SELECT SUM(top_5) FROM table_name_68 WHERE tournament = "totals" AND events > 86
|
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
In what Week was the Attendance 39,923?
### Answer:
SELECT SUM(week) FROM table_name_71 WHERE attendance = "39,923"
|
Below is an context that describes a sql 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 (round VARCHAR, event VARCHAR)
### Question:
What round did the event UFC 86 take place?
### Answer:
SELECT round FROM table_name_31 WHERE event = "ufc 86"
|
Below is an context that describes a sql 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 (name VARCHAR, stage VARCHAR)
### Question:
What is the Name of the SS11 Stage?
### Answer:
SELECT name FROM table_name_3 WHERE stage = "ss11"
|
Below is an context that describes a sql 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 (attendance INTEGER, home_team VARCHAR)
### Question:
What is the lowest Attendance when the home team was slough town?
### Answer:
SELECT MIN(attendance) FROM table_name_62 WHERE home_team = "slough town"
|
Below is an context that describes a sql 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 (name VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR)
### Question:
Which one has a rank bigger than 2, lane of 1, and is from Hong Kong?
### Answer:
SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong"
|
Below is an context that describes a sql 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 (power_plant VARCHAR, year_of_commission VARCHAR)
### Question:
What power plant was commissioned in 2008?
### Answer:
SELECT power_plant FROM table_name_97 WHERE year_of_commission = 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_92 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What is the team 1 with tikveš as team 2?
### Answer:
SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
### Question:
If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?
### Answer:
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "January 31, 2007 23:09"
|
Below is an context that describes a sql 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 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
What was the loss of the game against the Indians when the record was 15-15?
### Answer:
SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (points_for VARCHAR, points VARCHAR)
### Question:
What is Points For, when Points is "63"?
### Answer:
SELECT points_for FROM table_name_8 WHERE points = "63"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (total INTEGER, player VARCHAR)
### Question:
What is the average total for Dave Stockton?
### Answer:
SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton"
|
Below is an context that describes a sql 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 (ansi_code INTEGER, township VARCHAR, water__sqmi_ VARCHAR)
### Question:
What is the average ANSI code for the town of Sherman and the smaller of the water area in square miles than 0.005?
### Answer:
SELECT AVG(ansi_code) FROM table_name_39 WHERE township = "sherman" AND water__sqmi_ < 0.005
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2618102_1 (no_in_series INTEGER, directed_by VARCHAR)
### Question:
Name the least number in series for james quinn
### Answer:
SELECT MIN(no_in_series) FROM table_2618102_1 WHERE directed_by = "James Quinn"
|
Below is an context that describes a sql 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 (runner_up VARCHAR, score VARCHAR, winner VARCHAR)
### Question:
What runner-up has 4 & 3 as the score, with michael bonallack as the winner?
### Answer:
SELECT runner_up FROM table_name_14 WHERE score = "4 & 3" AND winner = "michael bonallack"
|
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
Who was the home team on 27 march 2008?
### Answer:
SELECT home FROM table_name_83 WHERE date = "27 march 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_40 (round VARCHAR, venue VARCHAR)
### Question:
What round was in canberra stadium?
### Answer:
SELECT round FROM table_name_40 WHERE venue = "canberra 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_91 (tournament VARCHAR)
### Question:
Which tournament has a 1R value in 2007 and 2009?
### Answer:
SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR)
### Question:
What are the names and buying prices of all the products?
### Answer:
SELECT product_name, typical_buying_price FROM products
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
### Question:
What is the average goals scored when less than 34 were played and there were more than 2 draws?
### Answer:
SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND 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_33 (status VARCHAR, date VARCHAR)
### Question:
What is Status, when Date is 10/05/1975?
### Answer:
SELECT status FROM table_name_33 WHERE date = "10/05/1975"
|
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR, date VARCHAR)
### Question:
Which Opponent has a Result of 1–1, and a Date of 28 november 1998?
### Answer:
SELECT opponent FROM table_name_30 WHERE result = "1–1" AND date = "28 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_15 (high_assists VARCHAR, game VARCHAR)
### Question:
What was the high assist for game 66?
### Answer:
SELECT high_assists FROM table_name_15 WHERE game = 66
|
Below is an context that describes a sql 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 (held_every VARCHAR, sport VARCHAR)
### Question:
How often is the table tennis competition held?
### Answer:
SELECT held_every FROM table_name_13 WHERE sport = "table tennis"
|
Below is an context that describes a sql 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 (MIN VARCHAR, year VARCHAR, $25___1_4_oz VARCHAR)
### Question:
WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?
### Answer:
SELECT MIN AS $50___1_2_oz FROM table_name_59 WHERE year = 1997 AND $25___1_4_oz > 27 OFFSET 100
|
Below is an context that describes a sql 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 (player VARCHAR, overall INTEGER)
### Question:
What is the name of the player with an Overall larger than 227?
### Answer:
SELECT player FROM table_name_14 WHERE overall > 227
|
Below is an context that describes a sql 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 (total VARCHAR, score_points VARCHAR, rank_points VARCHAR)
### Question:
What was the total when the score points was 12 and the rank points was 15?
### Answer:
SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)
### Question:
On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?
### Answer:
SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
### Question:
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
### Answer:
SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 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_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)
### Question:
what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?
### Answer:
SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"
|
Below is an context that describes a sql 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 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)
### Question:
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
### Answer:
SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown"
|
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
What is the place of the player witha 69-69=138 score?
### Answer:
SELECT place FROM table_name_45 WHERE score = 69 - 69 = 138
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR)
### Question:
Name the candidates for 1998
### Answer:
SELECT candidates FROM table_25030512_24 WHERE first_elected = "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 Customers (Id VARCHAR)
### Question:
How many customers do we have?
### Answer:
SELECT COUNT(*) FROM Customers
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22871239_9 (high_rebounds VARCHAR, arena_attendance VARCHAR)
### Question:
Name the high rebounds for td garden 18,624
### Answer:
SELECT high_rebounds FROM table_22871239_9 WHERE arena_attendance = "TD Garden 18,624"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Flight (origin VARCHAR)
### Question:
Show all origins and the number of flights from each origin.
### Answer:
SELECT origin, COUNT(*) FROM Flight GROUP BY origin
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE product (max_page_size VARCHAR)
### Question:
Find the list of page size which have more than 3 product listed
### Answer:
SELECT max_page_size FROM product GROUP BY max_page_size HAVING COUNT(*) > 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_28 (losses INTEGER, draws INTEGER)
### Question:
Which Losses have Draws larger than 0?
### Answer:
SELECT MAX(losses) FROM table_name_28 WHERE draws > 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_14312471_4 (ground VARCHAR, crowd VARCHAR)
### Question:
What are the ground where the crowd totals 19929?
### Answer:
SELECT ground FROM table_14312471_4 WHERE crowd = 19929
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE WINE (Winery VARCHAR, SCORE VARCHAR)
### Question:
Which winery is the wine that has the highest score from?
### Answer:
SELECT Winery FROM WINE ORDER BY SCORE 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_name_44 (challenge_winner VARCHAR, challenge_loser VARCHAR)
### Question:
Which winner has a Challenge Loser of alexcy?
### Answer:
SELECT challenge_winner FROM table_name_44 WHERE challenge_loser = "alexcy"
|
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR)
### Question:
What is the time of ufc 154?
### Answer:
SELECT time FROM table_name_44 WHERE event = "ufc 154"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
### Question:
How many values of HDTV apply when television service is elite shopping tv?
### Answer:
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping 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_54 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was Footscray's opponent on June 15th of 1968?
### Answer:
SELECT home_team FROM table_name_54 WHERE away_team = "footscray"
|
Below is an context that describes a sql 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 (population__1_july_2005_est_ INTEGER, population_density__per_km²_ VARCHAR)
### Question:
What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0?
### Answer:
SELECT MIN(population__1_july_2005_est_) FROM table_name_5 WHERE population_density__per_km²_ = 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_78 (Id VARCHAR)
### Question:
What is the highest value for 2000, when the value for 1950 is 3.5, and when the value for 1970 is greater than 3.4?
### Answer:
SELECT MAX(2000) FROM table_name_78 WHERE 1950 = 3.5 AND 1970 > 3.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_96 (game INTEGER, record VARCHAR)
### Question:
What was the earliest game with a record of 16–4–3?
### Answer:
SELECT MIN(game) FROM table_name_96 WHERE record = "16–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_17972136_1 (week INTEGER, game_site VARCHAR)
### Question:
Where is riverfront stadium the game site for the week?
### Answer:
SELECT MIN(week) FROM table_17972136_1 WHERE game_site = "Riverfront 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_26 (fourth_place VARCHAR, runners_up VARCHAR)
### Question:
What fourth-place has 2 (1999, 2005) as the runner(s)-up?
### Answer:
SELECT fourth_place FROM table_name_26 WHERE runners_up = "2 (1999, 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_65 (round VARCHAR, college VARCHAR)
### Question:
College of villanova has what round?
### Answer:
SELECT round FROM table_name_65 WHERE college = "villanova"
|
Below is an context that describes a sql 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 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, professors VARCHAR)
### Question:
How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81?
### Answer:
SELECT COUNT(lecturers) FROM table_name_71 WHERE assistant_professors > 8 AND professors > 14 AND associate_professors < 35 AND total > 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_84 (year INTEGER, from_album VARCHAR)
### Question:
How many years were there albums by heat wave?
### Answer:
SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave"
|
Below is an context that describes a sql 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 (sales__billion_$_ VARCHAR, company VARCHAR)
### Question:
Name the Sales (billion $) which have a Company of exxonmobil?
### Answer:
SELECT sales__billion_$_ FROM table_name_70 WHERE company = "exxonmobil"
|
Below is an context that describes a sql 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 (location VARCHAR, stop VARCHAR, station VARCHAR)
### Question:
What is the location of Tamagaki station with an l stop?
### Answer:
SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki"
|
Below is an context that describes a sql 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:
what is the latest year when the venue is berlin, germany?
### Answer:
SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, 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_41 (not_outs VARCHAR, average VARCHAR, runs VARCHAR, innings VARCHAR)
### Question:
What is the number of Not Outs when there were more than 327 runs and 24 innings, and an average of 29.54
### Answer:
SELECT not_outs FROM table_name_41 WHERE runs > 327 AND innings > 24 AND average = 29.54
|
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
How many attended the game on april 14?
### Answer:
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 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_18602462_21 (round_of_32 VARCHAR, round_of_16 VARCHAR)
### Question:
When in round of 16 it was did not advance what was it in round of 32?
### Answer:
SELECT round_of_32 FROM table_18602462_21 WHERE round_of_16 = "Did not advance"
|
Below is an context that describes a sql 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 (score INTEGER, country VARCHAR, player VARCHAR)
### Question:
When Tom Purtzer of the United States played what is the maximum score?
### Answer:
SELECT MAX(score) FROM table_name_94 WHERE country = "united states" AND player = "tom purtzer"
|
Below is an context that describes a sql 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 (passenger_fleet INTEGER, airline_holding VARCHAR, current_destinations VARCHAR)
### Question:
For an airline of Wizz Air and fewer than 83 destinations, what is the highest passenger fleet?
### Answer:
SELECT MAX(passenger_fleet) FROM table_name_77 WHERE airline_holding = "wizz air" AND current_destinations < 83
|
Below is an context that describes a sql 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 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR)
### Question:
Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen?
### Answer:
SELECT team_classification FROM table_name_28 WHERE combination_classification = "egoi martínez" AND winner = "tom boonen"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17596418_4 (COUnT VARCHAR, moving_from VARCHAR)
### Question:
How many transfer windows coming from Crystal Palace?
### Answer:
SELECT COUnT AS transfer_window FROM table_17596418_4 WHERE moving_from = "Crystal palace"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964154_11 (high_assists VARCHAR, location_attendance VARCHAR)
### Question:
Who had the high assists when the location attendance was Toyota Center 18,370?
### Answer:
SELECT high_assists FROM table_11964154_11 WHERE location_attendance = "Toyota Center 18,370"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
### Question:
Who was at the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy?
### Answer:
SELECT pole_position FROM table_19908651_3 WHERE winning_driver = "Paul Tracy" AND race_name = "ITT Automotive Grand Prix of Detroit"
|
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?
### Answer:
SELECT COUNT(gold) FROM table_name_80 WHERE silver < 14 AND rank > 8 AND bronze = 3
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner
### Answer:
SELECT championship FROM table_1918850_2 WHERE outcome = "Winner" AND surface = "Hard" AND partner = "Nicole Provis" AND opponents_in_the_final = "Helena Suková Tom Nijssen"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19864214_3 (starts VARCHAR, seasons VARCHAR)
### Question:
what is the number of starts in 1977
### Answer:
SELECT starts FROM table_19864214_3 WHERE seasons = "1977"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (pick VARCHAR, player VARCHAR)
### Question:
What pick was roger holdinsky?
### Answer:
SELECT pick FROM table_name_26 WHERE player = "roger holdinsky"
|
Below is an context that describes a sql 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 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR)
### Question:
What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0?
### Answer:
SELECT season FROM table_name_48 WHERE country = "china" AND team = "dalian shide" AND goals = 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_72 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who played Collingwood?
### Answer:
SELECT away_team FROM table_name_72 WHERE home_team = "collingwood"
|
Below is an context that describes a sql 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 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
### Question:
What is the Romanji Title of a show on TBS with less than 11 episodes?
### Answer:
SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)
### Question:
Which Time has Laps smaller than 28, and a Rider of nicky hayden?
### Answer:
SELECT time FROM table_name_40 WHERE laps < 28 AND rider = "nicky hayden"
|
Below is an context that describes a sql 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 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR)
### Question:
How much Technique has the Highest rank of yokozuna, and a Total larger than 11?
### Answer:
SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 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_7 (score VARCHAR, series VARCHAR)
### Question:
What was the score when the series was 3-2?
### Answer:
SELECT score FROM table_name_7 WHERE series = "3-2"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.