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_25277262_2 (directed_by VARCHAR, written_by VARCHAR)
### Question:
If the writer is Mark Fink, who is the director?
### Answer:
SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score on december 10?
### Answer:
SELECT score FROM table_name_98 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_name_48 (points INTEGER, engine VARCHAR, chassis VARCHAR)
### Question:
What are the lowest points for the engines of the Lamborghini v12 and the Chassis on Minardi m191b?
### Answer:
SELECT MIN(points) FROM table_name_48 WHERE engine = "lamborghini v12" AND chassis = "minardi m191b" |
Below is an context that describes a 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_9 (start___utc__ VARCHAR, spacecraft VARCHAR)
### Question:
If the spacecraft is the Shenzhou 7 Eva 1, what is the start (utc) date and time?
### Answer:
SELECT start___utc__ FROM table_22385461_9 WHERE spacecraft = "Shenzhou 7 EVA 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_22 (country VARCHAR, player VARCHAR)
### Question:
What country was Henry Picard from?
### Answer:
SELECT country FROM table_name_22 WHERE player = "henry picard" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What did the home team score when they played the away team of Geelong?
### Answer:
SELECT home_team AS score FROM table_name_10 WHERE away_team = "geelong" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What is Date, when Home Team is "Chester City"?
### Answer:
SELECT date FROM table_name_18 WHERE home_team = "chester 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_82 (game VARCHAR, year VARCHAR, genre VARCHAR)
### Question:
What game was before 2010 and was a role-playing game?
### Answer:
SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "role-playing game" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
When did the home team of Richmond play?
### Answer:
SELECT date FROM table_name_89 WHERE home_team = "richmond" |
Below is an context that describes a sql 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 (score VARCHAR, partner VARCHAR)
### Question:
What was the score when Mark parterned with lorenzo manta?
### Answer:
SELECT score FROM table_name_19 WHERE partner = "lorenzo manta" |
Below is an context that describes a sql 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 (president VARCHAR, elected VARCHAR)
### Question:
What president was elected in 2010?
### Answer:
SELECT president FROM table_name_69 WHERE elected = 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_17814458_1 (slope_length INTEGER, type VARCHAR)
### Question:
Name the slope length for gondola
### Answer:
SELECT MIN(slope_length) FROM table_17814458_1 WHERE type = "gondola" |
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs?
### Answer:
SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs" |
Below is an context that describes a sql 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 (round VARCHAR, player VARCHAR)
### Question:
Which Round has a Player of anna chakvetadze?
### Answer:
SELECT round FROM table_name_23 WHERE player = "anna chakvetadze" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE enzyme (name VARCHAR)
### Question:
List the name of enzymes in descending lexicographical order.
### Answer:
SELECT name FROM enzyme ORDER BY name DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2249029_1 (gdp_per_capita VARCHAR, gdp_world_rank VARCHAR)
### Question:
Name the gdp per capita for world rank being 131
### Answer:
SELECT gdp_per_capita FROM table_2249029_1 WHERE gdp_world_rank = "131" |
Below is an context that describes a sql 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 (team VARCHAR, venue VARCHAR)
### Question:
What team plays in Dinamo, Brest?
### Answer:
SELECT team FROM table_name_97 WHERE venue = "dinamo, brest" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What was the result and score of the game on February 22?
### Answer:
SELECT result FROM table_name_5 WHERE date = "february 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_2351952_1 (numbers VARCHAR, order_number VARCHAR)
### Question:
What are the numbers for the order number 713096-713119?
### Answer:
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27501030_8 (opponent VARCHAR, game VARCHAR)
### Question:
How many games were numbered 69?
### Answer:
SELECT COUNT(opponent) FROM table_27501030_8 WHERE game = 69 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1671401_2 (poles VARCHAR, avg_finish VARCHAR)
### Question:
Name the poles for avg finish is 26.8
### Answer:
SELECT poles FROM table_1671401_2 WHERE avg_finish = "26.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_12 (attendance VARCHAR, result VARCHAR)
### Question:
Tell me the attendance with a result of l 26–3
### Answer:
SELECT attendance FROM table_name_12 WHERE result = "l 26–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_25360865_1 (home_town VARCHAR, _number VARCHAR)
### Question:
Name the number of home town for number being 32
### Answer:
SELECT COUNT(home_town) FROM table_25360865_1 WHERE _number = 32 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2527063_3 (rank INTEGER)
### Question:
Name the least rank
### Answer:
SELECT MIN(rank) FROM table_2527063_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_18 (location VARCHAR, tournament VARCHAR)
### Question:
What is the lowest first prize of the Mercedes Championships tournament in California?
### Answer:
SELECT MIN(1 AS st_prize___) AS $__ FROM table_name_18 WHERE location = "california" AND tournament = "mercedes championships" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)
### Question:
at kardinia park, what was the away team's score?
### Answer:
SELECT away_team AS score FROM table_name_22 WHERE venue = "kardinia park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)
### Question:
On March 23, what is the site/stadium?
### Answer:
SELECT site_stadium FROM table_name_21 WHERE date = "march 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_33 (ga VARCHAR, losses VARCHAR, team VARCHAR)
### Question:
What's the G.A. when there were 2 losses and Scotland played?
### Answer:
SELECT ga FROM table_name_33 WHERE losses = "2" AND team = "scotland" |
Below is an context that describes a sql 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 (position VARCHAR, pick VARCHAR, round VARCHAR)
### Question:
Which Position has a Pick smaller than 152, and a Round smaller than 3?
### Answer:
SELECT position FROM table_name_92 WHERE pick < 152 AND round < 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_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
### Question:
what's the height (ft) with name being leadenhall building
### Answer:
SELECT height__ft_ FROM table_13463790_2 WHERE name = "Leadenhall Building" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28132970_5 (breadth VARCHAR, vessel VARCHAR)
### Question:
How many breadth entries are there when the vessel is marianarray?
### Answer:
SELECT COUNT(breadth) FROM table_28132970_5 WHERE vessel = "Marianarray" |
Below is an context that describes a sql 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 (firefox VARCHAR, internet_explorer VARCHAR)
### Question:
What is the firefox value with a 22.0% internet explorer?
### Answer:
SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.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_1341598_22 (result VARCHAR, incumbent VARCHAR)
### Question:
What is the number of results for james shannon?
### Answer:
SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR)
### Question:
What is Place, when Player is "Tony Lema"?
### Answer:
SELECT place FROM table_name_93 WHERE player = "tony lema" |
Below is an context that describes a sql 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 (champion__seed_ VARCHAR, score VARCHAR)
### Question:
What was the Champion of the Tournament with a Score of 79–75 OT?
### Answer:
SELECT champion__seed_ FROM table_name_1 WHERE score = "79–75 ot" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)
### Question:
What is the boiler provider for Bhel, India's TG Set provider?
### Answer:
SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
What's the highest total of Romania when the bronze was less than 2?
### Answer:
SELECT MAX(total) FROM table_name_14 WHERE nation = "romania" AND bronze < 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_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)
### Question:
What is the poor law union when the townland is bohonagh?
### Answer:
SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2012187_1 (team_s_ VARCHAR, winnings VARCHAR)
### Question:
which team(s) won $2,605,05
### Answer:
SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,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_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR)
### Question:
List all of the NLL Toronto Rock players.
### Answer:
SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock" |
Below is an context that describes a sql 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 (time VARCHAR, opponent VARCHAR)
### Question:
How long was the match with Jaime Fletcher?
### Answer:
SELECT time FROM table_name_83 WHERE opponent = "jaime fletcher" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2010 value with a 1r in 2012 and an A in 2005?
### Answer:
SELECT 2010 FROM table_name_75 WHERE 2012 = "1r" AND 2005 = "a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (drew INTEGER, lost INTEGER)
### Question:
Which Drew has a Lost larger than 14?
### Answer:
SELECT SUM(drew) FROM table_name_17 WHERE lost > 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_48 (set_2 VARCHAR, time VARCHAR, set_1 VARCHAR)
### Question:
What is the score for set 2 when the time is 18:00 and the score of set 1 is 18–25?
### Answer:
SELECT set_2 FROM table_name_48 WHERE time = "18:00" AND set_1 = "18–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_13619135_7 (high_assists VARCHAR, team VARCHAR)
### Question:
How many people had the high assists @ minnesota?
### Answer:
SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota" |
Below is an context that describes a sql 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 (winning_score VARCHAR, margin_of_victory VARCHAR)
### Question:
What was the winning score when there were 9 strokes advantage?
### Answer:
SELECT winning_score FROM table_name_82 WHERE margin_of_victory = "9 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What is the Surface of the match against Yaroslava Shvedova?
### Answer:
SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27208311_1 (episode VARCHAR, writer VARCHAR)
### Question:
What is every episode with Barry Purchese as the writer?
### Answer:
SELECT episode FROM table_27208311_1 WHERE writer = "Barry Purchese" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24330912_1 (money_list_rank INTEGER, year VARCHAR)
### Question:
When 2011 is the year what is the lowest money list rank?
### Answer:
SELECT MIN(money_list_rank) FROM table_24330912_1 WHERE year = 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_16432543_1 (nickname VARCHAR, location VARCHAR)
### Question:
How many nicknames does the school in Newark, DE have
### Answer:
SELECT COUNT(nickname) FROM table_16432543_1 WHERE location = "Newark, DE" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR)
### Question:
How many rain figures are provided for sunlight hours in 1966?
### Answer:
SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966 |
Below is an context that describes a sql 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 (pick INTEGER, draft VARCHAR, player VARCHAR)
### Question:
What is the lowest Pick, when Draft is less than 1991, and when Player is "Tom Sasso Category:Articles with hCards"?
### Answer:
SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR)
### Question:
What was the final rank of the Brewers when they achieved a win percentage of .585?
### Answer:
SELECT finish FROM table_name_79 WHERE win__percentage = ".585" |
Below is an context that describes a sql 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 (region VARCHAR, catalog_number VARCHAR)
### Question:
What is the Region of the release with Catalog number 3 12046 2?
### Answer:
SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 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_72 (behind VARCHAR, day_2 VARCHAR)
### Question:
For the team with 3:42.162 on day 2, what was the behind?
### Answer:
SELECT behind FROM table_name_72 WHERE day_2 = "3:42.162" |
Below is an context that describes a sql 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 (week_12 VARCHAR, week_4 VARCHAR)
### Question:
Who is the week 12 for the week 4 of Gerard Ewelina?
### Answer:
SELECT week_12 FROM table_name_35 WHERE week_4 = "gerard ewelina" |
Below is an context that describes a sql 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 (agg VARCHAR, team_1 VARCHAR)
### Question:
What is Team 1 Al-Hilal's Agg.?
### Answer:
SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal" |
Below is an context that describes a sql 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 (constructor VARCHAR, fastest_lap VARCHAR)
### Question:
What was the Constructor for the race that had Derek Warwick as its Fastest Lap?
### Answer:
SELECT constructor FROM table_name_36 WHERE fastest_lap = "derek warwick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16661199_2 (giants_points VARCHAR, opponents VARCHAR)
### Question:
Name the number of giants points for opponents being 31
### Answer:
SELECT COUNT(giants_points) FROM table_16661199_2 WHERE opponents = 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_64 (year INTEGER, album VARCHAR, us_hot_100 VARCHAR)
### Question:
Which Year has an Album of airwaves, and a US Hot 100 of –?
### Answer:
SELECT MAX(year) FROM table_name_64 WHERE album = "airwaves" AND us_hot_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_30 (points VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What points have pittsburgh as the home, and November 29 as the date?
### Answer:
SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29" |
Below is an context that describes a sql 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 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR)
### Question:
Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3?
### Answer:
SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.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 artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR)
### Question:
Show the names of artworks in ascending order of the year they are nominated in.
### Answer:
SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Year |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What was the attendance on november 2, 2003?
### Answer:
SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003" |
Below is an context that describes a 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_3 (school VARCHAR, player VARCHAR)
### Question:
What school does Kerry Wood play for?
### Answer:
SELECT school FROM table_11677100_3 WHERE player = "Kerry Wood" |
Below is an context that describes a sql 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 (run_2 VARCHAR, final VARCHAR)
### Question:
Which run 2 with final of 5:24.47?
### Answer:
SELECT run_2 FROM table_name_18 WHERE final = "5:24.47" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)
### Question:
What institution had 6 wins and a current streak of won 2?
### Answer:
SELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = "Won 2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (team VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR, position VARCHAR)
### Question:
Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22?
### Answer:
SELECT team FROM table_name_26 WHERE lost > 2 AND position < 7 AND drawn < 2 AND points = 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_27713030_3 (game INTEGER, date VARCHAR)
### Question:
Which game was played on October 13?
### Answer:
SELECT MAX(game) FROM table_27713030_3 WHERE date = "October 13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1942366_9 (low VARCHAR, high VARCHAR)
### Question:
What's the C_{low} value when C_{high} is 12.0?
### Answer:
SELECT STRUCT(low) FROM table_1942366_9 WHERE STRUCT(high) = "12.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_87 (runs VARCHAR, average INTEGER)
### Question:
What is the total number of runs where the average is less than 27.22?
### Answer:
SELECT COUNT(runs) FROM table_name_87 WHERE average < 27.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_23014923_1 (minor__south__winners VARCHAR, primary__south__winners VARCHAR)
### Question:
What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?
### Answer:
SELECT COUNT(minor__south__winners) FROM table_23014923_1 WHERE primary__south__winners = "Mendip Gate" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR)
### Question:
What is the number of participating parties when registered voters totaled 643629?
### Answer:
SELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1354805_6 (number_of_dances VARCHAR, average VARCHAR)
### Question:
how many turns were completed to make a mean of 34.0
### Answer:
SELECT COUNT(number_of_dances) FROM table_1354805_6 WHERE average = "34.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_1354805_6 (competition_finish INTEGER, average VARCHAR)
### Question:
what is the highest number where people got done at 31.1
### Answer:
SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average = "31.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_2 (icao VARCHAR, iata VARCHAR)
### Question:
What is the ICAO when the IATA shows mfm?
### Answer:
SELECT icao FROM table_name_2 WHERE iata = "mfm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR)
### Question:
What kind of the Winning driver has a Circuit of saint-raphaël?
### Answer:
SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaë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_19 (win__percentage VARCHAR)
### Question:
What is the win percentage for the 2012 of olympic games?
### Answer:
SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" |
Below is an context that describes a sql 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 (rank INTEGER, floors VARCHAR)
### Question:
What is the average rank for a building with 24 floors?
### Answer:
SELECT AVG(rank) FROM table_name_84 WHERE floors = 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_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Question:
What is the average grid that has over 8 laps, a Time/Retired of +2 laps, and peter gethin driving?
### Answer:
SELECT AVG(grid) FROM table_name_61 WHERE laps > 8 AND time_retired = "+2 laps" AND driver = "peter gethin" |
Below is an context that describes a sql 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 (distance VARCHAR, bearing VARCHAR)
### Question:
what is the distance for bearing 297°?
### Answer:
SELECT distance FROM table_name_27 WHERE bearing = "297°" |
Below is an context that describes a sql 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 (tujunga VARCHAR, pasadena VARCHAR)
### Question:
What is the figure for Tujunga when Pasadena is 134,941?
### Answer:
SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941" |
Below is an context that describes 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 (title VARCHAR)
### Question:
List every album ordered by album title in ascending order.
### Answer:
SELECT title FROM albums ORDER BY title |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (home_team VARCHAR, game VARCHAR)
### Question:
Which Home team has a Game of game 5?
### Answer:
SELECT home_team FROM table_name_85 WHERE game = "game 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_11 (player VARCHAR, school_country VARCHAR)
### Question:
Which player has West Virginia listed as their school/country?
### Answer:
SELECT player FROM table_name_11 WHERE school_country = "west virginia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342370_23 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the result of the election featuring william madison whittington?
### Answer:
SELECT result FROM table_1342370_23 WHERE incumbent = "William Madison Whittington" |
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR)
### Question:
What is the Score of the Scarborough Home game?
### Answer:
SELECT score FROM table_name_72 WHERE home_team = "scarborough" |
Below is an context that describes a sql 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 (year VARCHAR, nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, racing_series VARCHAR)
### Question:
What year has the vehicle of open wheel and a racing series of formula one with a Nation of citizenship in Germany.
### Answer:
SELECT year FROM table_name_90 WHERE type_of_vehicle = "open wheel" AND racing_series = "formula one" AND nation_of_citizenship = "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_27050981_7 (committee VARCHAR, district VARCHAR)
### Question:
What committees do the district 46 members serve on?
### Answer:
SELECT committee FROM table_27050981_7 WHERE district = "46" |
Below is an context that describes a sql 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 (matches VARCHAR, goals VARCHAR)
### Question:
How many matches had 360 goals?
### Answer:
SELECT matches FROM table_name_31 WHERE goals = 360 |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team when Hawthorn was the away team?
### Answer:
SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn" |
Below is an context that describes a sql 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 (original_artist VARCHAR, order__number VARCHAR)
### Question:
Which original artist had 5 as their order #?
### Answer:
SELECT original_artist FROM table_name_89 WHERE order__number = 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_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)
### Question:
How many episodes had their first air date on March 6, 2008?
### Answer:
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 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_29 (game INTEGER, date VARCHAR)
### Question:
What was the number of the game played on February 24?
### Answer:
SELECT SUM(game) FROM table_name_29 WHERE date = "february 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_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR)
### Question:
Name the ply (uk, nz, au) for fingering
### Answer:
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = "Fingering" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (catalogue VARCHAR, song_title VARCHAR)
### Question:
What catalogue is the song It's Now or Never?
### Answer:
SELECT catalogue FROM table_name_86 WHERE song_title = "it's now or never" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What is Mike Smith's To par?
### Answer:
SELECT to_par FROM table_name_79 WHERE player = "mike smith" |
Below is an context that describes a sql 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 (wins INTEGER, top_10 INTEGER)
### Question:
Name the average Wins which has a Top 10 smaller than 0?
### Answer:
SELECT AVG(wins) FROM table_name_5 WHERE top_10 < 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_20626467_1 (time VARCHAR, weight__kg_ VARCHAR)
### Question:
What time for the entrant weighing 54.4kg?
### Answer:
SELECT time FROM table_20626467_1 WHERE weight__kg_ = "54.4kg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR)
### Question:
How many episodes have a series number of 35?
### Answer:
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.