answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT country FROM table_name_50 WHERE town = "dubai"
CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)
what country is dubai in
SELECT home_team FROM table_name_87 WHERE date = "june 22"
CREATE TABLE table_name_87 (home_team VARCHAR, date VARCHAR)
What home team has june 22 as the date?
SELECT road_team FROM table_name_67 WHERE result = "86-84"
CREATE TABLE table_name_67 (road_team VARCHAR, result VARCHAR)
What road team has 86-84 as the result?
SELECT road_team FROM table_name_86 WHERE result = "91-82"
CREATE TABLE table_name_86 (road_team VARCHAR, result VARCHAR)
What road team has 91-82 as the result?
SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 15"
CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR)
Which game has houston as the road team, and june 15 as the date?
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california"
CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)
What is listed under occupation for someone from Santa Monica, California?
SELECT education FROM table_name_47 WHERE hometown = "st. louis, missouri"
CREATE TABLE table_name_47 (education VARCHAR, hometown VARCHAR)
For natives of St. Louis, Missouri, what was listed under education?
SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent"
CREATE TABLE table_name_21 (game_status VARCHAR, occupation VARCHAR)
When the occupation was utility worker on-air talent, what was the game status?
SELECT 2005 FROM table_name_3 WHERE 2004 = "3–2"
CREATE TABLE table_name_3 (Id VARCHAR)
Which 2005 has a 2004 of 3–2?
SELECT 2011 FROM table_name_66 WHERE 2009 = "15–2"
CREATE TABLE table_name_66 (Id VARCHAR)
Which 2011 has a 2009 of 15–2?
SELECT 2010 FROM table_name_51 WHERE 2006 = "w"
CREATE TABLE table_name_51 (Id VARCHAR)
Which 2010 has a 2006 of w?
SELECT 2008 FROM table_name_48 WHERE 2005 = "13–3"
CREATE TABLE table_name_48 (Id VARCHAR)
Which 2008 has a 2005 of 13–3?
SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club"
CREATE TABLE table_name_4 (time VARCHAR, ground VARCHAR)
What is the time of the Ghantoot Racing and Polo Club?
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide"
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
What is the home team score of the game with Adelaide as the away team?
SELECT time FROM table_name_81 WHERE home_team = "essendon"
CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR)
What is the time of the Essendon home team game?
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)
What is the home team score of the Ghantoot Racing and Polo Club Ground?
SELECT region FROM table_name_29 WHERE date = "february 2006"
CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR)
What shows for region when the date is february 2006?
SELECT format FROM table_name_61 WHERE catalog = "11 135"
CREATE TABLE table_name_61 (format VARCHAR, catalog VARCHAR)
What shows as the format for catalog 11 135?
SELECT region FROM table_name_63 WHERE catalog = "885 380-1"
CREATE TABLE table_name_63 (region VARCHAR, catalog VARCHAR)
In what Region is Catalog number 885 380-1?
SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz"
CREATE TABLE table_name_66 (sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR)
Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?
SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate = "12-bit 40khz"
CREATE TABLE table_name_63 (release_date INTEGER, sampling_rate VARCHAR)
Around what time frame release a Sampling Rate of 12-bit 40khz?
SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz"
CREATE TABLE table_name_65 (price VARCHAR, sampling_rate VARCHAR)
How much is a product with a Sampling Rate of 12-bit 40khz?
SELECT record FROM table_name_65 WHERE date = "december 19"
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
what team scored on december 19
SELECT home FROM table_name_71 WHERE record = "5–5–1–1"
CREATE TABLE table_name_71 (home VARCHAR, record VARCHAR)
what team scored 5–5–1–1?
SELECT record FROM table_name_65 WHERE date = "november 7"
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
what team scored on november 7
SELECT player FROM table_name_24 WHERE rank = 1
CREATE TABLE table_name_24 (player VARCHAR, rank VARCHAR)
Which player has rank 1?
SELECT AVG(wins) FROM table_name_91 WHERE rank > 5
CREATE TABLE table_name_91 (wins INTEGER, rank INTEGER)
What's the mean number of wins with a rank that's more than 5?
SELECT earnings___$__ FROM table_name_40 WHERE player = "tiger woods"
CREATE TABLE table_name_40 (earnings___$__ VARCHAR, player VARCHAR)
What amount of earnings does Tiger Woods have?
SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3"
CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR)
What is the position number of the club with more than 24 points and a w-l-d of 8-5-3?
SELECT goals_for_against FROM table_name_94 WHERE points = 17
CREATE TABLE table_name_94 (goals_for_against VARCHAR, points VARCHAR)
What is the goals for/against of the club with 17 points?
SELECT MAX(games_played) FROM table_name_85 WHERE position < 4 AND goals_for_against = "29-24"
CREATE TABLE table_name_85 (games_played INTEGER, position VARCHAR, goals_for_against VARCHAR)
What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against?
SELECT date FROM table_name_3 WHERE attendance > 35 OFFSET 540
CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER)
Which date's attendance was more than 35,540?
SELECT MIN(attendance) FROM table_name_39 WHERE date = "december 3, 1944"
CREATE TABLE table_name_39 (attendance INTEGER, date VARCHAR)
What is the smallest attendance number for December 3, 1944?
SELECT treaty_of_cession FROM table_name_60 WHERE colony = "karikal"
CREATE TABLE table_name_60 (treaty_of_cession VARCHAR, colony VARCHAR)
When was the Treaty of Cession for Karikal Colony?
SELECT date FROM table_name_92 WHERE opponent = "argentina"
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
what day was the game in argentina
SELECT city FROM table_name_78 WHERE resultsΒΉ = "0:0"
CREATE TABLE table_name_78 (city VARCHAR, resultsΒΉ VARCHAR)
what city scored 0:0
SELECT type_of_game FROM table_name_27 WHERE date = "june 14"
CREATE TABLE table_name_27 (type_of_game VARCHAR, date VARCHAR)
what game was played on june 14
SELECT score FROM table_name_5 WHERE date = "april 28"
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
What score has april 28 as the date?
SELECT score FROM table_name_96 WHERE leading_scorer = "tim duncan (27)"
CREATE TABLE table_name_96 (score VARCHAR, leading_scorer VARCHAR)
What score has tim duncan (27) as the leading scorer?
SELECT visitor FROM table_name_18 WHERE leading_scorer = "tim duncan (16)"
CREATE TABLE table_name_18 (visitor VARCHAR, leading_scorer VARCHAR)
What visitor has tim duncan (16) as the leading scorer?
SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley"
CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR)
What were Will Rackley's total rounds?
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
Which cornerback has the lowest overall and a pick number smaller than 16?
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback"
CREATE TABLE table_name_97 (round INTEGER, position VARCHAR)
Which cornerback has the highest round?
SELECT outcome FROM table_name_99 WHERE date = "25 october 2004"
CREATE TABLE table_name_99 (outcome VARCHAR, date VARCHAR)
What was the outcome on 25 october 2004?
SELECT opponent_in_the_final FROM table_name_6 WHERE outcome = "runner-up" AND date = "2 march 1998"
CREATE TABLE table_name_6 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
Which opponent was a runner-up on 2 march 1998?
SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančiΔ‡"
CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR)
Which championship had an oppenent of mario ančiΔ‡ in the final?
SELECT change FROM table_name_71 WHERE share = "2.9%"
CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR)
Name the change with share of 2.9%
SELECT change FROM table_name_78 WHERE party = "english democrats"
CREATE TABLE table_name_78 (change VARCHAR, party VARCHAR)
Name the change for english democrats
SELECT AVG(votes) FROM table_name_22 WHERE party = "one london"
CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR)
Name the average votes for one london
SELECT country FROM table_name_77 WHERE rank = 5
CREATE TABLE table_name_77 (country VARCHAR, rank VARCHAR)
Which Country has a Rank of 5?
SELECT MIN(earnings___) AS $__ FROM table_name_60 WHERE rank = 1 AND events < 22
CREATE TABLE table_name_60 (earnings___ INTEGER, rank VARCHAR, events VARCHAR)
Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22?
SELECT SUM(earnings___) AS $__ FROM table_name_70 WHERE wins > 3
CREATE TABLE table_name_70 (earnings___ INTEGER, wins INTEGER)
How many earnings have Wins larger than 3?
SELECT player FROM table_name_49 WHERE wins = 4
CREATE TABLE table_name_49 (player VARCHAR, wins VARCHAR)
Which Player has 4 Wins?
SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 0
CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR)
How many Poles have a Bike of honda rc212v, and Podiums smaller than 0?
SELECT MAX(wins) FROM table_name_3 WHERE pos = "2nd" AND poles > 2
CREATE TABLE table_name_3 (wins INTEGER, pos VARCHAR, poles VARCHAR)
Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8
CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)
What is the average of points for 8th place with draw more than 8?
SELECT SUM(points) FROM table_name_73 WHERE game < 8 AND record = "1–0–0"
CREATE TABLE table_name_73 (points INTEGER, game VARCHAR, record VARCHAR)
Which Points have a Game smaller than 8, and a Record of 1–0–0?
SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29
CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)
Which Game has a Record of 5–3–1, and an October smaller than 29?
SELECT MIN(game) FROM table_name_76 WHERE score = "3–4"
CREATE TABLE table_name_76 (game INTEGER, score VARCHAR)
Which Game has a Score of 3–4?
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9
CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR)
Which Game has a Record of 4–2–1, and Points larger than 9?
SELECT nationality FROM table_name_51 WHERE position = "defense" AND player = "nikita korovkin"
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)
Which Nationality has a Position of defense, and a Player of nikita korovkin?
SELECT nationality FROM table_name_99 WHERE position = "left wing"
CREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR)
Which Nationality has a Position of left wing?
SELECT player FROM table_name_18 WHERE position = "forward"
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
Which Player has a Position of forward?
SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)"
CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR)
Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
SELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = "wake forest (3-1)"
CREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR)
Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?
SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-0)"
CREATE TABLE table_name_72 (week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR)
Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)?
SELECT week_7_oct_12 FROM table_name_23 WHERE week_6_oct_5 = "boise state (4-0)"
CREATE TABLE table_name_23 (week_7_oct_12 VARCHAR, week_6_oct_5 VARCHAR)
Which Week 7 Oct 12 has a Week 6 Oct 5 of boise state (4-0)?
SELECT week_2_sept_7 FROM table_name_8 WHERE week_7_oct_12 = "ball state (7-0)"
CREATE TABLE table_name_8 (week_2_sept_7 VARCHAR, week_7_oct_12 VARCHAR)
Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)?
SELECT week_6_oct_5 FROM table_name_37 WHERE week_14_nov_30 = "texas (11-1)"
CREATE TABLE table_name_37 (week_6_oct_5 VARCHAR, week_14_nov_30 VARCHAR)
Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40
CREATE TABLE table_name_27 (round INTEGER, player VARCHAR, pick VARCHAR)
What is the highest round of Tommy Allman, who had a pick less than 40?
SELECT player FROM table_name_41 WHERE pick < 183 AND position = "back" AND round > 12
CREATE TABLE table_name_41 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
Who was the back player with a pick less than 183 from the round greater than 12?
SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end"
CREATE TABLE table_name_21 (round VARCHAR, pick VARCHAR, position VARCHAR)
What is the total number of rounds of the end player with a pick number greater than 303?
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28
CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)
What is the highest pick of the back player from round 28?
SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30
CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR)
What is position of the player with a pick number greater than 315 and a round of 30?
SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-14"
CREATE TABLE table_name_4 (week INTEGER, result VARCHAR)
On what Week was the Result W 17-14?
SELECT result FROM table_name_27 WHERE week > 4 AND date = "november 3, 1968"
CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR, date VARCHAR)
What was the Result after the Week 4 on November 3, 1968?
SELECT AVG(attendance) FROM table_name_57 WHERE week = 4
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR)
What is the attendance in week 4?
SELECT date FROM table_name_16 WHERE record = "17–25"
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
What was the date of the game with a record of 17–25?
SELECT opponent FROM table_name_47 WHERE score = "6–5 (10)"
CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR)
Who was the opponent at the game with a score of 6–5 (10)?
SELECT res FROM table_name_1 WHERE record = "4-4"
CREATE TABLE table_name_1 (res VARCHAR, record VARCHAR)
What was the result of the bout that led to a 4-4 record?
SELECT location FROM table_name_19 WHERE record = "4-3"
CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR)
Which location held the bout that led to a 4-3 record?
SELECT discs FROM table_name_90 WHERE region_1_release = "january 22, 2008"
CREATE TABLE table_name_90 (discs VARCHAR, region_1_release VARCHAR)
What discs has a region 1 release date of January 22, 2008?
SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup"
CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)
What is the lowest rank of Citigroup?
SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive"
CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)
What is the market value of the automotive industry?
SELECT attendance FROM table_name_92 WHERE result = "t 14-14"
CREATE TABLE table_name_92 (attendance VARCHAR, result VARCHAR)
Name the attendance with result of t 14-14
SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 4
CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR)
Name the total number of attendance for october 20, 1946 with week less than 4
SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8
CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR)
Name the most attendance for november 17, 1946 and week more than 8
SELECT SUM(points) FROM table_name_92 WHERE rank = "61t"
CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR)
What is the sum of the points for the player who was a rank of 61t?
SELECT player FROM table_name_87 WHERE points > 1 OFFSET 052
CREATE TABLE table_name_87 (player VARCHAR, points INTEGER)
Who is the player who had more than 1,052 points?
SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt smith"
CREATE TABLE table_name_96 (points INTEGER, player VARCHAR)
What are the highest points that Emmitt Smith had?
SELECT attendance FROM table_name_33 WHERE record = "6–8"
CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR)
Record of 6–8 had what attendance?
SELECT attendance FROM table_name_31 WHERE result = "l 17–20"
CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR)
Result of l 17–20 had what attendance?
SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31"
CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR)
Game Site of hoosier dome, and a Result of l 7–31 involved what attendance?
SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281"
CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR)
Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281?
SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club"
CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR)
Which Champion has a Venue of old waverly golf club?
SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980
CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR)
How many world rankings are after Aug 5, 1980 ?
SELECT date FROM table_name_9 WHERE performance = "8.22.72"
CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR)
On which date is there a performance of more than 8.22.72?
SELECT date FROM table_name_84 WHERE venue = "rome"
CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR)
The venue of Rome has which date?
SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3"
CREATE TABLE table_name_11 (agg VARCHAR)
What was the 1st leg of the match that had an aggregate of 4-3?
SELECT last_final_lost FROM table_name_49 WHERE wins = "7"
CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR)
When was the last final lost of the club with 7 wins?