answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT loss FROM table_name_62 WHERE date = "april 16"
What was the score of the game for April 16?
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders"
What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976?
CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"
Who was the home team of the game with manu ginóbili (34) as the leading scorer?
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)
SELECT arabs FROM table_25947046_1 WHERE annual_population_growth_rate = "1.7%"
What is the arabs when the annual population growth rate is 1.7%?
CREATE TABLE table_25947046_1 (arabs VARCHAR, annual_population_growth_rate VARCHAR)
SELECT books FROM table_name_23 WHERE gender = "male" AND animal_name = "bounder"
What are the male Bounder books?
CREATE TABLE table_name_23 (books VARCHAR, gender VARCHAR, animal_name VARCHAR)
SELECT opponent_in_the_final FROM table_name_8 WHERE year < 1883
who is the opponent in the final when the year is before 1883?
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, year INTEGER)
SELECT away_team FROM table_name_83 WHERE ground = "colonial stadium" AND date = "friday, 2 march"
Name the Away team which have a Ground of colonial stadium on friday, 2 march?
CREATE TABLE table_name_83 (away_team VARCHAR, ground VARCHAR, date VARCHAR)
SELECT COUNT(result) FROM table_12369913_1 WHERE original_title = "Ani Ohev Otach Roza (אני אוהב אותך רוזה)"
How many results are there with the original title of ani ohev otach roza (אני אוהב אותך רוזה)?
CREATE TABLE table_12369913_1 (result VARCHAR, original_title VARCHAR)
SELECT SUM(tries) FROM table_name_81 WHERE played > 16
What is the number of tries for the player who is larger than 16?
CREATE TABLE table_name_81 (tries INTEGER, played INTEGER)
SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park"
Who was the home team when the VFL played Kardinia Park?
CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR)
SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
List the name of physicians who took some appointment.
CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
SELECT regular_season FROM table_14723382_1 WHERE year = 2011
What regular seasons occurred in 2011?
CREATE TABLE table_14723382_1 (regular_season VARCHAR, year VARCHAR)
SELECT COUNT(games) FROM table_26847237_2 WHERE height = "1.92m"
How many games were played where the height of the player is 1.92m?
CREATE TABLE table_26847237_2 (games VARCHAR, height VARCHAR)
SELECT to_par FROM table_name_76 WHERE player = "sandy lyle"
What is Sandy Lyle's To Par?
CREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR)
SELECT MAX(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6"
If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw?
CREATE TABLE table_17265535_7 (equation VARCHAR)
SELECT monounsaturated_fat FROM table_name_32 WHERE saturated_fat = "39g"
What shows for monounsaturated fat when the saturated fat is 39g?
CREATE TABLE table_name_32 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR)
SELECT description FROM table_14465871_1 WHERE powershell__alias_ = "cpi, copy, cp"
If Powershell (alias) is cpi, copy, cp, what are all corresponding descriptions.
CREATE TABLE table_14465871_1 (description VARCHAR, powershell__alias_ VARCHAR)
SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai"
Name the starting from thiruvezhukkurrirukkai
CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR)
SELECT team FROM table_27698941_8 WHERE date = "January 17"
Who were the 76ers opponents on January 17?
CREATE TABLE table_27698941_8 (team VARCHAR, date VARCHAR)
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
Which Score has a To par of –3, and a Player of santiago luna?
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT wrestler FROM table_name_6 WHERE elimination = "7"
What Wrestler has an Elimination of 7?
CREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR)
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"
What is Expected End Date, when Trial Start Date is Nov 2007?
CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)
SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0
CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR)
SELECT MAX(injured) FROM table_name_84 WHERE place = "rohtas, bihar" AND killed < 13
What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed?
CREATE TABLE table_name_84 (injured INTEGER, place VARCHAR, killed VARCHAR)
SELECT MAX(game) FROM table_name_62 WHERE score = "94-116"
What is the highest game whose score was 94-116
CREATE TABLE table_name_62 (game INTEGER, score VARCHAR)
SELECT MAX(season) FROM table_name_26 WHERE score = "39-27"
Which Season has a Score of 39-27?
CREATE TABLE table_name_26 (season INTEGER, score VARCHAR)
SELECT college FROM table_name_79 WHERE player = "jermaine romans"
What College has a Player that is jermaine romans?
CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR)
SELECT COUNT(blank_ends) FROM table_name_57 WHERE stolen_ends = 17 AND skip = "jennifer jones" AND shot_pct > 83
What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct?
CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43"
How many production codes had a US viewership of 4.43 million?
CREATE TABLE table_26429658_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT player FROM table_name_62 WHERE club = "bologna milan"
Who belongs to the Bologna Milan club?
CREATE TABLE table_name_62 (player VARCHAR, club VARCHAR)
SELECT rating FROM table_11238597_4 WHERE viewers__millions_ = "1.83"
What was the rating for the episode with 1.83 viewers (millions)?
CREATE TABLE table_11238597_4 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6"
Name the opponent in the final for 3–6, 1–6
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25
How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
CREATE TABLE table_name_84 (laps INTEGER, grid VARCHAR, time VARCHAR, rider VARCHAR)
SELECT COUNT(*) FROM browser WHERE market_share >= 5
How many main stream browsers whose market share is at least 5 exist?
CREATE TABLE browser (market_share VARCHAR)
SELECT chassis FROM table_name_47 WHERE year = 1977
Can you tell me the Chassis that has the Year of 1977?
CREATE TABLE table_name_47 (chassis VARCHAR, year VARCHAR)
SELECT snatch FROM table_name_92 WHERE total = "409kg"
What was the Snatch weight for the year that had a total of 409kg?
CREATE TABLE table_name_92 (snatch VARCHAR, total VARCHAR)
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov"
How many position does Teodor Salparov play on?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT venue FROM table_name_27 WHERE away_team = "footscray"
Where did Footscray play as the away team?
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_23 WHERE tie_no = "65"
What is the score of the game with tie number 65?
CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR)
SELECT MIN(population) FROM table_name_20 WHERE colour = "blue" AND construction_commenced < 1987
What is the lowest population for the neighborhood with the color blue that commenced its construction before 1987?
CREATE TABLE table_name_20 (population INTEGER, colour VARCHAR, construction_commenced VARCHAR)
SELECT last_5 FROM table_name_31 WHERE rank = 7
Which Last 5 has a Rank of 7?
CREATE TABLE table_name_31 (last_5 VARCHAR, rank VARCHAR)
SELECT candidates FROM table_1342451_38 WHERE incumbent = "Samuel J. Nicholls"
What candidate was featured in the election for incumbent samuel j. nicholls' seat?
CREATE TABLE table_1342451_38 (candidates VARCHAR, incumbent VARCHAR)
SELECT AVG(apr_2013) FROM table_name_76 WHERE jun_2011 < 14
What is the average Apr 2013 with a Jun 2011 less than 14?
CREATE TABLE table_name_76 (apr_2013 INTEGER, jun_2011 INTEGER)
SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"
What is the i/o bus for the brand name Core i3-21xx?
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)
SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = "masters tournament" AND top_25 < 0
What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0?
CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT AVG(grid) FROM table_name_66 WHERE driver = "jack brabham" AND laps > 32
What is the average grid for jack brabham going over 32 laps?
CREATE TABLE table_name_66 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
How many runs did mahela jayawardene and thilan samaraweera have?
CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR)
SELECT programming FROM table_name_62 WHERE video = "audio only"
Which Programming has a Video of audio only?
CREATE TABLE table_name_62 (programming VARCHAR, video VARCHAR)
SELECT second_vice_president FROM table_name_74 WHERE third_vice_president = "gen. juan alonso" AND inaugurated = "15 march 1940"
What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"?
CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR)
SELECT bb___blind_bear FROM table_2603017_2 WHERE ba___running_bear = "TC - Tile Chariot"
what is bb - blind bear where ba - running bear is tc - tile chariot?
CREATE TABLE table_2603017_2 (bb___blind_bear VARCHAR, ba___running_bear VARCHAR)
SELECT score FROM table_name_56 WHERE player = "john huston"
What was john huston's score?
CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
What is the party of the election in which Robert Bauman is the incumbent?
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
SELECT AVG(innhabitants) FROM table_name_87 WHERE mayor = "olav martin vik"
How many people did Mayor Olav Martin Vik preside over?
CREATE TABLE table_name_87 (innhabitants INTEGER, mayor VARCHAR)
SELECT director FROM table_26555737_1 WHERE result = "Nominee"
When nominee is the result who is the director?
CREATE TABLE table_26555737_1 (director VARCHAR, result VARCHAR)
SELECT MIN(draw) FROM table_name_4 WHERE points < 17 AND lost = 13
What is the lowest number for draw when the points are less than 17, and the lost is 13?
CREATE TABLE table_name_4 (draw INTEGER, points VARCHAR, lost VARCHAR)
SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000
What is the original air date of the episode with 908000 viewers?
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR)
SELECT attendance FROM table_name_8 WHERE score = "16–7"
What was the attendance at the game that had a score of 16–7?
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(ground) FROM table_16388478_2 WHERE home_team = "Sydney"
How many locations were there when sydney was the home team?
CREATE TABLE table_16388478_2 (ground VARCHAR, home_team VARCHAR)
SELECT distance__miles_ FROM table_27833186_1 WHERE best_conditioned_horse = "Freedom"
What was the total distance (in miles) of the championship where the best conditioned horse was Freedom?
CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, best_conditioned_horse VARCHAR)
SELECT COUNT(laps) FROM table_name_25 WHERE start = "1"
How many laps have 1 as the start?
CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR)
SELECT winner FROM table_name_47 WHERE win__number > 3
Who had more than 3 wins?
CREATE TABLE table_name_47 (winner VARCHAR, win__number INTEGER)