answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton"
CREATE TABLE table_16388545_1 (home_team VARCHAR, away_team VARCHAR)
When the away team was Carlton, who was the home team?
SELECT average FROM table_16390001_2 WHERE swimsuit = "8.266"
CREATE TABLE table_16390001_2 (average VARCHAR, swimsuit VARCHAR)
What was the average for contestants with a swimsuit score of 8.266?
SELECT interview FROM table_16390001_2 WHERE average = "9.090"
CREATE TABLE table_16390001_2 (interview VARCHAR, average VARCHAR)
What are the interview scores for contestants whose average is 9.090?
SELECT average FROM table_16390001_2 WHERE country = "Pennsylvania"
CREATE TABLE table_16390001_2 (average VARCHAR, country VARCHAR)
What are the average scores of contestants whose home state is Pennsylvania?
SELECT evening_gown FROM table_16390001_2 WHERE average = "9.266"
CREATE TABLE table_16390001_2 (evening_gown VARCHAR, average VARCHAR)
What are the evening gown scores of contestants whose average is 9.266?
SELECT average FROM table_16390001_2 WHERE interview = "8.011"
CREATE TABLE table_16390001_2 (average VARCHAR, interview VARCHAR)
What are the average scores of contestants whose interview score is 8.011?
SELECT home_team AS score FROM table_16388506_1 WHERE home_team = "Richmond"
CREATE TABLE table_16388506_1 (home_team VARCHAR)
What are the home team scores when richmond is the home team?
SELECT home_team AS score FROM table_16388506_1 WHERE away_team = "Fremantle"
CREATE TABLE table_16388506_1 (home_team VARCHAR, away_team VARCHAR)
What are the home team scores when fremantle is the away team?
SELECT MAX(crowd) FROM table_16388506_1 WHERE home_team = "Essendon"
CREATE TABLE table_16388506_1 (crowd INTEGER, home_team VARCHAR)
What is the largest crowd when essendon is the home team?
SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval"
CREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR)
Who are the away teams when subiaco oval was the grounds?
SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton"
CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR)
Who was the home team when the away team is Carlton?
SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle"
CREATE TABLE table_16388478_4 (home_team VARCHAR)
What is the home team score where the home team is Fremantle?
SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391
CREATE TABLE table_16388478_4 (away_team VARCHAR, crowd VARCHAR)
What was the away team score for the game with a crowd of 5391?
SELECT date FROM table_16388478_4 WHERE home_team = "Adelaide"
CREATE TABLE table_16388478_4 (date VARCHAR, home_team VARCHAR)
What date was Adelaide the home team?
SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon University"
CREATE TABLE table_16403890_1 (location VARCHAR, institution VARCHAR)
How many locations does Elon University have?
SELECT MIN(enrollment) FROM table_16403890_1 WHERE affiliation = "Private/Catholic"
CREATE TABLE table_16403890_1 (enrollment INTEGER, affiliation VARCHAR)
Private/Catholic school's minimum enrollment is?
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials"
CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR)
Which school has the mascot of the Colonials?
SELECT socket FROM table_16400024_1 WHERE sspec_number = "SL3F7(kC0)SL3FJ(kC0)"
CREATE TABLE table_16400024_1 (socket VARCHAR, sspec_number VARCHAR)
What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
SELECT release_date FROM table_16400024_1 WHERE part_number_s_ = "80525PY500512BX80525U500512BX80525U500512E"
CREATE TABLE table_16400024_1 (release_date VARCHAR, part_number_s_ VARCHAR)
What is the release date of part 80525py500512bx80525u500512bx80525u500512e?
SELECT COUNT(release_price___usd__) FROM table_16400024_1 WHERE model_number = "Pentium III 550"
CREATE TABLE table_16400024_1 (release_price___usd__ VARCHAR, model_number VARCHAR)
How many release prices are there for the Pentium iii 550?
SELECT model_number FROM table_16400024_1 WHERE release_price___usd__ = "$496"
CREATE TABLE table_16400024_1 (model_number VARCHAR, release_price___usd__ VARCHAR)
What is the model number with a release price of $496?
SELECT l2_cache FROM table_16400024_1 WHERE release_price___usd__ = "$669"
CREATE TABLE table_16400024_1 (l2_cache VARCHAR, release_price___usd__ VARCHAR)
What is the l2 cache for the model with a release price of $669?
SELECT date FROM table_1639689_2 WHERE week = 2
CREATE TABLE table_1639689_2 (date VARCHAR, week VARCHAR)
What day(s) did they play on week 2?
SELECT kickoff FROM table_1639689_2 WHERE date = "Monday, May 13"
CREATE TABLE table_1639689_2 (kickoff VARCHAR, date VARCHAR)
What was the kickoff time on monday, may 13?
SELECT MAX(no_in_season) FROM table_16390576_3 WHERE directed_by = "Jamie Babbit"
CREATE TABLE table_16390576_3 (no_in_season INTEGER, directed_by VARCHAR)
what is the latest episode in season 2 directed by jamie babbit?
SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214"
CREATE TABLE table_16390576_3 (original_air_date VARCHAR, production_code VARCHAR)
what are the air dates for episodes with the production code 08-02-214
SELECT title FROM table_16390576_3 WHERE no_in_series = 28
CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR)
what is the title of episode 28
SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40"
CREATE TABLE table_16409745_1 (dpi VARCHAR, dimensions__mm_ VARCHAR)
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
SELECT MAX(pages_per_minute__color_) FROM table_16409745_1 WHERE product = "Xerox Travel Scanner 100"
CREATE TABLE table_16409745_1 (pages_per_minute__color_ INTEGER, product VARCHAR)
What is the maximum pages per minute for the Xerox Travel Scanner 100?
SELECT interface FROM table_16409745_1 WHERE pages_per_minute__color_ = 36
CREATE TABLE table_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR)
What interface is used on the scanner that has a 36 pages per minute?
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Plustek MobileOffice D28 Corporate"
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)
What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
SELECT dpi FROM table_16409745_1 WHERE max_page_size = "216mm x 355mm"
CREATE TABLE table_16409745_1 (dpi VARCHAR, max_page_size VARCHAR)
What is the dpi for the scanner with a max page size of 216mm x 355mm?
SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison"
CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR)
which country won swimming track & field when lexington won swimming and madison won volleyball
SELECT COUNT(golf) FROM table_16423070_4 WHERE soccer = "Wooster"
CREATE TABLE table_16423070_4 (golf VARCHAR, soccer VARCHAR)
how many teams won at golf when wooster won soccer
SELECT soccer FROM table_16423070_4 WHERE volleyball = "Madison" AND cross_country = "Lexington" AND softball = "Orrville"
CREATE TABLE table_16423070_4 (soccer VARCHAR, softball VARCHAR, volleyball VARCHAR, cross_country VARCHAR)
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball
SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12"
CREATE TABLE table_16423070_4 (volleyball VARCHAR, school_year VARCHAR, basketball VARCHAR, swimming VARCHAR)
Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12
SELECT tennis FROM table_16423070_4 WHERE softball = "Ashland" AND volleyball = "Wooster"
CREATE TABLE table_16423070_4 (tennis VARCHAR, softball VARCHAR, volleyball VARCHAR)
who won tennis when ashland won softball and wooster won volleybal
SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland"
CREATE TABLE table_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR)
who won basketball when ashland won track & field and cross country
SELECT location FROM table_16432543_1 WHERE established = 1923
CREATE TABLE table_16432543_1 (location VARCHAR, established VARCHAR)
What is the location of the school established in 1923
SELECT COUNT(enrollment) FROM table_16432543_1 WHERE nickname = "Blue Hens"
CREATE TABLE table_16432543_1 (enrollment VARCHAR, nickname VARCHAR)
Total enrollment at the school with the nickname Blue Hens
SELECT nickname FROM table_16432543_1 WHERE established = 1773
CREATE TABLE table_16432543_1 (nickname VARCHAR, established VARCHAR)
Nickname of the school established in 1773
SELECT established FROM table_16432543_1 WHERE institution = "Rowan University"
CREATE TABLE table_16432543_1 (established VARCHAR, institution VARCHAR)
What is the year Rowan University was established
SELECT COUNT(nickname) FROM table_16432543_1 WHERE location = "Newark, DE"
CREATE TABLE table_16432543_1 (nickname VARCHAR, location VARCHAR)
How many nicknames does the school in Newark, DE have
SELECT location FROM table_16432543_1 WHERE nickname = "Mountaineers"
CREATE TABLE table_16432543_1 (location VARCHAR, nickname VARCHAR)
Location of the school with the nickname Mountaineers
SELECT written_by FROM table_16432167_1 WHERE production_code = "942A"
CREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR)
Who wrote the episode with the production code of 942A?
SELECT english_title FROM table_16425614_3 WHERE official__number = 22
CREATE TABLE table_16425614_3 (english_title VARCHAR, official__number VARCHAR)
What is the English title for the official number 22 episode?
SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia"
CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR)
Which CFL team did the player from British Columbia get drafted to
SELECT position FROM table_16441561_5 WHERE college = "Laval"
CREATE TABLE table_16441561_5 (position VARCHAR, college VARCHAR)
Which positions had players from Laval college
SELECT position FROM table_16441561_5 WHERE player = "Gene Stahl"
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR)
What position did Gene Stahl play
SELECT player FROM table_16441561_5 WHERE position = "DB"
CREATE TABLE table_16441561_5 (player VARCHAR, position VARCHAR)
Which player played DB
SELECT MIN(pick__number) FROM table_16441561_5 WHERE position = "LB"
CREATE TABLE table_16441561_5 (pick__number INTEGER, position VARCHAR)
Who was the lowest picked LB
SELECT COUNT(position) FROM table_16441561_5 WHERE player = "Jeff Brown"
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR)
How many players named Jeff Brown were drafted
SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR)
How many feet per second does a shell move where the height range is 23500?
SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt"
CREATE TABLE table_16439764_1 (shell__lb_ VARCHAR, gun VARCHAR)
If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0
CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)
Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?
SELECT gun FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "18.8"
CREATE TABLE table_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR)
What gun has a time to feet ratio of 18.8 at 55 degrees?
SELECT MAX(m_v_ft_s) FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "22.1"
CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR)
What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees?
SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2"
CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR)
What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees?
SELECT skip FROM table_1644857_2 WHERE pf = 73
CREATE TABLE table_1644857_2 (skip VARCHAR, pf VARCHAR)
Who was skip for the country whose points for (PF) was 73?
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France
CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR)
How many times is a score for stolen ends recorded for France?
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87
CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR)
How many ends were lost by the country whose points for (PF) was 87?
SELECT COUNT(season) FROM table_16446652_1 WHERE treasurer = "Dave Reid"
CREATE TABLE table_16446652_1 (season VARCHAR, treasurer VARCHAR)
How many seasons was Dave Reid treasurer?
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)
When was Jonny Leadbeater President?
SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14
CREATE TABLE table_1644876_2 (skip VARCHAR, stolen_ends VARCHAR)
Who was the skip with 14 stolen ends?
SELECT MIN(l) FROM table_1644876_2
CREATE TABLE table_1644876_2 (l INTEGER)
What is the fewest number of losses?
SELECT shot__percentage FROM table_1644876_2 WHERE locale = Switzerland
CREATE TABLE table_1644876_2 (shot__percentage VARCHAR, locale VARCHAR, Switzerland VARCHAR)
What are the shot percentages for teams that played in switzerland?
SELECT MIN(60 AS _to_64) FROM table_16457934_4
CREATE TABLE table_16457934_4 (Id VARCHAR)
what is the minimum of 60 -64?
SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆"
CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR)
What province has the Chinese translation 重庆?
SELECT COUNT(administrative_population__2010_) FROM table_16489766_2 WHERE city = "Shanghai"
CREATE TABLE table_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR)
What is the total administrative population of Shanghai?
SELECT MAX(administrative_population__2010_) FROM table_16489766_2 WHERE chinese = "昆明"
CREATE TABLE table_16489766_2 (administrative_population__2010_ INTEGER, chinese VARCHAR)
What is the maximum administrative population of the city with Chinese translation 昆明?
SELECT COUNT(urban_population__2010_) FROM table_16489766_2 WHERE pinyin = "Chángchūn"
CREATE TABLE table_16489766_2 (urban_population__2010_ VARCHAR, pinyin VARCHAR)
What is the total urban population of the city with the pinyin translation chángchūn?
SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013"
CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR)
What player was on the Grizzlies from 2009-2013?
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida"
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)
What nationality is the player who went to school at South Florida?
SELECT position FROM table_16494599_1 WHERE years_for_grizzlies = "1995-1996"
CREATE TABLE table_16494599_1 (position VARCHAR, years_for_grizzlies VARCHAR)
What position is the player who was on the Grizzlies from 1995-1996?
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002"
CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR)
How may players played for the Grizzlies from 2000-2002?
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7"
CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)
Name the miles for june 7
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"
CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR)
Name the driver for race time being 2:34:21
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing"
CREATE TABLE table_16493961_1 (driver VARCHAR, date VARCHAR, team VARCHAR)
Name the driver for june 23 and team of penske racing
SELECT directed_by FROM table_16471432_4 WHERE series__number = 50
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR)
Who was the director for the episode in season #50?
SELECT COUNT(directed_by) FROM table_16471432_4 WHERE series__number = 62
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR)
How many directors were there in total for the episode with series #62?
SELECT COUNT(nationality) FROM table_16494599_10 WHERE school_club_team = "Duke"
CREATE TABLE table_16494599_10 (nationality VARCHAR, school_club_team VARCHAR)
What are the nationalities of players who attended duke?
SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen"
CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR)
How many nationalities does athlete Casey Jacobsen have?
SELECT player FROM table_16494599_10 WHERE school_club_team = "Stanford"
CREATE TABLE table_16494599_10 (player VARCHAR, school_club_team VARCHAR)
Who are the players that have attended Stanford?
SELECT COUNT(player) FROM table_16494599_10 WHERE position = "Guard"
CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR)
How many athletes play the position of guard?
SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota"
CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
During what years did athletes who attended school in Minnesota play for the Grizzlies?
SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul"
CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR)
How many players went to depaul?
SELECT school_club_team FROM table_16494599_3 WHERE years_for_grizzlies = "2011"
CREATE TABLE table_16494599_3 (school_club_team VARCHAR, years_for_grizzlies VARCHAR)
What school did the player who was with the grizzles in 2011 attend?
SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri"
CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR)
What players attended missouri?
SELECT position FROM table_16494599_4 WHERE school_club_team = "Seton Hall"
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR)
What position(s) does the player from seton hall play?
SELECT MIN(no) FROM table_16494599_4 WHERE years_for_grizzlies = "1999"
CREATE TABLE table_16494599_4 (no INTEGER, years_for_grizzlies VARCHAR)
What number does the player who was with the grizzles in 1999 wear?
SELECT player FROM table_16494599_4 WHERE position = "Guard"
CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR)
What players play guard?
SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green"
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR)
What position(s) do players from bowling green play?
SELECT MAX(losses) FROM table_16512618_1 WHERE manager = "Leslie Mann"
CREATE TABLE table_16512618_1 (losses INTEGER, manager VARCHAR)
Name the most losses for leslie mann
SELECT vacator FROM table_1651764_3 WHERE district = "New Jersey 2nd"
CREATE TABLE table_1651764_3 (vacator VARCHAR, district VARCHAR)
who is the vacator whre the district is new jersey 2nd?
SELECT date_successor_seated FROM table_1652224_5 WHERE reason_for_change = "Died August 17, 1954"
CREATE TABLE table_1652224_5 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
what is the date the successor seated because the person died august 17, 1954?
SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th"
CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR)
who was the successor for district ohio 15th?
SELECT COUNT(reason_for_change) FROM table_1652224_5 WHERE district = "Michigan 3rd"
CREATE TABLE table_1652224_5 (reason_for_change VARCHAR, district VARCHAR)
what is the total number for reason for change is district michigan 3rd?
SELECT date_of_death FROM table_16527640_3 WHERE player = "Archie Roberts"
CREATE TABLE table_16527640_3 (date_of_death VARCHAR, player VARCHAR)
What day did ARchie Roberts die?
SELECT location FROM table_16527640_3 WHERE vfl_games = 9
CREATE TABLE table_16527640_3 (location VARCHAR, vfl_games VARCHAR)
What location had a VFL Game number of 9?