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