answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT MIN(gold) FROM table_name_13 WHERE total > 44 | CREATE TABLE table_name_13 (gold INTEGER, total INTEGER) | What was the gold medal total for a total of 44 medals? |
SELECT AVG(silver) FROM table_name_49 WHERE total < 3 AND rank > 9 | CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, rank VARCHAR) | How many silver medals were won with a total medal of 3 and a rank above 9? |
SELECT COUNT(week) FROM table_name_74 WHERE attendance > 68 OFFSET 000 | CREATE TABLE table_name_74 (week VARCHAR, attendance INTEGER) | How many weeks had an attendance of over 68,000? |
SELECT engine FROM table_name_82 WHERE finish = "2nd" | CREATE TABLE table_name_82 (engine VARCHAR, finish VARCHAR) | What engine was used by the team the finished 2nd? |
SELECT chassis FROM table_name_70 WHERE engine = "chevrolet" AND year = 1991 | CREATE TABLE table_name_70 (chassis VARCHAR, engine VARCHAR, year VARCHAR) | What chassis was used with the Chevrolet engine in 1991? |
SELECT MAX(year) FROM table_name_35 WHERE start = "1st" AND chassis = "g-force" | CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR) | What was the most recent year when a g-force chassis started in 1st? |
SELECT start FROM table_name_33 WHERE year < 1986 | CREATE TABLE table_name_33 (start VARCHAR, year INTEGER) | What was the starting position in the year before 1986? |
SELECT vessel_name FROM table_name_56 WHERE flag = "malta" AND type = "panamax" AND class = "gl" AND built > 2010 | CREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR) | What is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel? |
SELECT SUM(built) FROM table_name_54 WHERE class = "dnv" AND type = "panamax" AND vessel_name = "deva" | CREATE TABLE table_name_54 (built INTEGER, vessel_name VARCHAR, class VARCHAR, type VARCHAR) | Which year was the vessel Deva built as a Panamax DNV class ship? |
SELECT class FROM table_name_85 WHERE vessel_name = "hyundai smart" | CREATE TABLE table_name_85 (class VARCHAR, vessel_name VARCHAR) | What is the class of vessel of the ship Hyundai Smart? |
SELECT class FROM table_name_77 WHERE vessel_name = "hyundai tenacity" | CREATE TABLE table_name_77 (class VARCHAR, vessel_name VARCHAR) | In which class would the vessel Hyundai Tenacity be placed? |
SELECT result FROM table_name_29 WHERE week = 14 | CREATE TABLE table_name_29 (result VARCHAR, week VARCHAR) | What was the result for week 14? |
SELECT MIN(rank) FROM table_name_10 WHERE reb_avg > 9 AND total_rebounds = 920 AND games > 79 | CREATE TABLE table_name_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR) | Which lowest rank(player) has a rebound average larger than 9, out of 920 rebounds, and who played more than 79 games? |
SELECT COUNT(rank) FROM table_name_27 WHERE reb_avg < 6.1 | CREATE TABLE table_name_27 (rank VARCHAR, reb_avg INTEGER) | How many ranks have a rebound average smaller than 6.1? |
SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin" | CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR) | Which player was drafted higher than 374 and went to the school Stephen F. Austin? |
SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21 | CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR) | What is the lowest round Trinity school was drafted with an overall higher than 21? |
SELECT swimmer FROM table_name_41 WHERE time = "7:52.04" | CREATE TABLE table_name_41 (swimmer VARCHAR, time VARCHAR) | Who got the time of 7:52.04? |
SELECT opponent FROM table_name_32 WHERE box_scores = "bye" | CREATE TABLE table_name_32 (opponent VARCHAR, box_scores VARCHAR) | Which of the opponents has bye as their box score? |
SELECT attendance FROM table_name_21 WHERE opponent = "pittsburgh steelers" | CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR) | How many people attended the game against the pittsburgh steelers? |
SELECT result FROM table_name_51 WHERE box_scores = "box" AND date = "september 25" | CREATE TABLE table_name_51 (result VARCHAR, box_scores VARCHAR, date VARCHAR) | What was the result of the game on September 25 with a box score of box? |
SELECT date FROM table_name_62 WHERE week > 13 AND attendance = "41,862" | CREATE TABLE table_name_62 (date VARCHAR, week VARCHAR, attendance VARCHAR) | What is the date of the game later than week 13 and 41,862 people attended? |
SELECT SUM(caps) FROM table_name_83 WHERE goals < 9 AND rank > 8 | CREATE TABLE table_name_83 (caps INTEGER, goals VARCHAR, rank VARCHAR) | What is the sum of caps for players with less than 9 goals ranked below 8? |
SELECT senior_status FROM table_name_53 WHERE active_service = "1972–1995" | CREATE TABLE table_name_53 (senior_status VARCHAR, active_service VARCHAR) | What were the years of senior status for active service in 1972–1995? |
SELECT born_died FROM table_name_54 WHERE active_service = "1972–1995" | CREATE TABLE table_name_54 (born_died VARCHAR, active_service VARCHAR) | What were the birth and death years when active service was 1972–1995? |
SELECT active_service FROM table_name_72 WHERE reason_for_termination = "death" AND senior_status = "1972–2005" | CREATE TABLE table_name_72 (active_service VARCHAR, reason_for_termination VARCHAR, senior_status VARCHAR) | Which active services years ended in death and had senior status in 1972–2005? |
SELECT date FROM table_name_96 WHERE opponent = "boston patriots" | CREATE TABLE table_name_96 (date VARCHAR, opponent VARCHAR) | Which date featured the Boston Patriots as the opponent? |
SELECT opponent FROM table_name_67 WHERE week = 8 | CREATE TABLE table_name_67 (opponent VARCHAR, week VARCHAR) | Who was the opponent during week 8? |
SELECT opponent FROM table_name_76 WHERE week < 8 AND attendance = "12,508" | CREATE TABLE table_name_76 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) | What opponent had an attendance of 12,508 during weeks 1 through 8? |
SELECT AVG(week) FROM table_name_25 WHERE attendance = "14,381" | CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR) | What week had an attendance of 14,381? |
SELECT MIN(round) FROM table_name_43 WHERE player = "dave yovanovits" | CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) | Which round was Dave Yovanovits picked? |
SELECT college FROM table_name_6 WHERE position = "linebacker" | CREATE TABLE table_name_6 (college VARCHAR, position VARCHAR) | Where did the player picked for the linebacker position play in college? |
SELECT opponent FROM table_name_91 WHERE week = 12 | CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR) | Who did the Browns play week 12? |
SELECT attendance FROM table_name_15 WHERE opponent = "detroit lions" | CREATE TABLE table_name_15 (attendance VARCHAR, opponent VARCHAR) | What was the attendance in the game against the Detroit Lions? |
SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval" | CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) | Who played as the away team when they played at Brunswick Street Oval? |
SELECT home_team FROM table_name_6 WHERE venue = "arden street oval" | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) | Who was the home team when the VFL played Arden Street Oval? |
SELECT away_team FROM table_name_1 WHERE venue = "junction oval" | CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR) | Who is the away side at junction oval? |
SELECT winning_driver FROM table_name_78 WHERE name = "kraco car stereo 150" | CREATE TABLE table_name_78 (winning_driver VARCHAR, name VARCHAR) | Who was the winning driver of the Kraco Car Stereo 150? |
SELECT fastest_lap FROM table_name_74 WHERE name = "stoh's 200" | CREATE TABLE table_name_74 (fastest_lap VARCHAR, name VARCHAR) | What time was the fastest lap during Stoh's 200 in 1982? |
SELECT date FROM table_name_32 WHERE début > 1972 AND opposition = "limerick" | CREATE TABLE table_name_32 (date VARCHAR, début VARCHAR, opposition VARCHAR) | What is the date for the player who debuted later than 1972 against Limerick? |
SELECT player FROM table_name_18 WHERE opposition = "limerick" AND last_game = "munster semi-final" AND début = 1973 | CREATE TABLE table_name_18 (player VARCHAR, début VARCHAR, opposition VARCHAR, last_game VARCHAR) | Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final? |
SELECT date FROM table_name_78 WHERE week > 7 AND result = "l 23–17" | CREATE TABLE table_name_78 (date VARCHAR, week VARCHAR, result VARCHAR) | What date had a Result of l 23–17 in a week later than 7? |
SELECT COUNT(attendance) FROM table_name_15 WHERE opponent = "cincinnati bengals" | CREATE TABLE table_name_15 (attendance VARCHAR, opponent VARCHAR) | How many people attended the game against the cincinnati bengals? |
SELECT attendance FROM table_name_76 WHERE time = "3:31" | CREATE TABLE table_name_76 (attendance VARCHAR, time VARCHAR) | What was the attendance for the game played at 3:31? |
SELECT time FROM table_name_56 WHERE game = 4 | CREATE TABLE table_name_56 (time VARCHAR, game VARCHAR) | What was the time for game 4? |
SELECT away_team AS score FROM table_name_14 WHERE venue = "western oval" | CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR) | What was the away team's score at western oval? |
SELECT SUM(wins) FROM table_name_10 WHERE points = "48" AND year < 2007 | CREATE TABLE table_name_10 (wins INTEGER, points VARCHAR, year VARCHAR) | Before 2007, how many wins were there when the point total was 48? |
SELECT SUM(wins) FROM table_name_2 WHERE year = 2011 AND drivers = "michael meadows" | CREATE TABLE table_name_2 (wins INTEGER, year VARCHAR, drivers VARCHAR) | In 2011, how many wins did Michael Meadows have? |
SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max" | CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR) | What is the service of the network Set Max from India? |
SELECT network FROM table_name_8 WHERE genre = "music" | CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR) | Which network's genre is music? |
SELECT genre FROM table_name_50 WHERE origin_of_programming = "india" AND network = "star plus" | CREATE TABLE table_name_50 (genre VARCHAR, origin_of_programming VARCHAR, network VARCHAR) | What genre is Star Plus from India? |
SELECT origin_of_programming FROM table_name_25 WHERE genre = "cricket" AND network = "star cricket" | CREATE TABLE table_name_25 (origin_of_programming VARCHAR, genre VARCHAR, network VARCHAR) | Where does the network Star Cricket originate? |
SELECT genre FROM table_name_85 WHERE language = "hindi" AND network = "set max" | CREATE TABLE table_name_85 (genre VARCHAR, language VARCHAR, network VARCHAR) | What genre is Set Max's Hindi programming? |
SELECT home_team AS score FROM table_name_49 WHERE home_team = "fitzroy" | CREATE TABLE table_name_49 (home_team VARCHAR) | What is fitzroy's score as the home team? |
SELECT home_team AS score FROM table_name_93 WHERE home_team = "richmond" | CREATE TABLE table_name_93 (home_team VARCHAR) | What is richmond's score as the home team? |
SELECT color_commentator_s_ FROM table_name_42 WHERE sideline_reporter_s_ = "eric dickerson and melissa stark" AND year = 2001 | CREATE TABLE table_name_42 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR, year VARCHAR) | Who was the color commentator for Eric Dickerson and Melissa Stark in 2001? |
SELECT network FROM table_name_71 WHERE play_by_play = "al michaels" AND color_commentator_s_ = "dan fouts and dennis miller" AND year < 2002 | CREATE TABLE table_name_71 (network VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR) | What network hosted Al Michaels, Dan Fouts and Dennis Miller in 2002? |
SELECT color_commentator_s_ FROM table_name_82 WHERE year = 2004 | CREATE TABLE table_name_82 (color_commentator_s_ VARCHAR, year VARCHAR) | Who was the 2004 color commentator? |
SELECT color_commentator_s_ FROM table_name_22 WHERE sideline_reporter_s_ = "andrea kremer and tiki barber" | CREATE TABLE table_name_22 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR) | Who was the color commentator for Andrea Kremer and Tiki Barber? |
SELECT color_commentator_s_ FROM table_name_69 WHERE play_by_play = "al michaels" AND year > 2003 | CREATE TABLE table_name_69 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR) | Who was Al Michaels' color commentator in 2003? |
SELECT home_team FROM table_name_76 WHERE away_team = "geelong" | CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR) | Who was the home team when Geelong was the away team? |
SELECT MAX(overall) FROM table_name_8 WHERE college = "southern mississippi" AND round < 6 | CREATE TABLE table_name_8 (overall INTEGER, college VARCHAR, round VARCHAR) | What is the highest overall pick from the College of Southern Mississippi that was selected before round 6? |
SELECT coach FROM table_name_2 WHERE actual_adjusted_record = "0–19" | CREATE TABLE table_name_2 (coach VARCHAR, actual_adjusted_record VARCHAR) | Who, was the coach with an actual adjusted record of 0–19? |
SELECT AVG(season) FROM table_name_45 WHERE coach = "fisher" AND actual_adjusted_record = "0–11" | CREATE TABLE table_name_45 (season INTEGER, coach VARCHAR, actual_adjusted_record VARCHAR) | What is the average Season for coach Fisher, and an actual adjusted record of 0–11? |
SELECT regular_season_vacated FROM table_name_14 WHERE record_as_played = "12–19" | CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR) | What is the regular season vacated for the Record as played of 12–19? |
SELECT COUNT(season) FROM table_name_5 WHERE coach = "steve fisher" | CREATE TABLE table_name_5 (season VARCHAR, coach VARCHAR) | How many seasons did coach steve fisher have? |
SELECT record_as_played FROM table_name_19 WHERE regular_season_vacated = "24–0" AND season > 1997 | CREATE TABLE table_name_19 (record_as_played VARCHAR, regular_season_vacated VARCHAR, season VARCHAR) | What is shown for Record as played with a Regular season Vacated of 24–0 later than 1997? |
SELECT COUNT(season) FROM table_name_13 WHERE actual_adjusted_record = "0–19" | CREATE TABLE table_name_13 (season VARCHAR, actual_adjusted_record VARCHAR) | How many seasons have an Actual adjusted record of 0–19? |
SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6 | CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) | How many gold(s) for teams with a total of 14, and over 6 bronze medals? |
SELECT MAX(gold) FROM table_name_19 WHERE rank = "7" AND bronze < 3 | CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, bronze VARCHAR) | What is the highest number of gold medals for the team ranked 7 with less than 3 bronze? |
SELECT AVG(gold) FROM table_name_51 WHERE silver < 2 AND nation = "uzbekistan" AND bronze < 4 | CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) | What is the average number of golds for nations with less than 2 silver, named uzbekistan, and less than 4 bronze? |
SELECT away_team FROM table_name_39 WHERE venue = "punt road oval" | CREATE TABLE table_name_39 (away_team VARCHAR, venue VARCHAR) | What was the away team for the match at Punt Road Oval? |
SELECT MIN(crowd) FROM table_name_84 WHERE venue = "junction oval" | CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR) | What was the smallest crowd size for the match played at Junction Oval? |
SELECT home_team FROM table_name_73 WHERE away_team = "collingwood" | CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) | What was the home team that played Collingwood? |
SELECT province FROM table_name_39 WHERE name = "michael kirby" | CREATE TABLE table_name_39 (province VARCHAR, name VARCHAR) | Which province has Michael Kirby? |
SELECT party FROM table_name_94 WHERE name = "madeleine plamondon" | CREATE TABLE table_name_94 (party VARCHAR, name VARCHAR) | Which party is Madeleine Plamondon a member of? |
SELECT details FROM table_name_55 WHERE name = "marisa ferretti barth" | CREATE TABLE table_name_55 (details VARCHAR, name VARCHAR) | What are the details for Marisa Ferretti Barth? |
SELECT party FROM table_name_95 WHERE date = "august 26, 2008" | CREATE TABLE table_name_95 (party VARCHAR, date VARCHAR) | Which party had a member on August 26, 2008? |
SELECT details FROM table_name_71 WHERE name = "john buchanan" | CREATE TABLE table_name_71 (details VARCHAR, name VARCHAR) | What are the details for John Buchanan? |
SELECT province FROM table_name_38 WHERE party = "liberal" AND date = "december 31, 2006" | CREATE TABLE table_name_38 (province VARCHAR, party VARCHAR, date VARCHAR) | Which province had a liberal party member on December 31, 2006? |
SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18 | CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR) | Which dance style had a draw smaller than 15 and 18 points? |
SELECT away_team AS score FROM table_name_89 WHERE venue = "victoria park" | CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) | What was the away team's score for the match played at Victoria Park? |
SELECT venue FROM table_name_45 WHERE home_team = "collingwood" | CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR) | What is Collingwood's home venue? |
SELECT away_team AS score FROM table_name_19 WHERE home_team = "carlton" | CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR) | What was the away teams score when they played Carlton? |
SELECT MAX(year) FROM table_name_47 WHERE player = "candace parker" | CREATE TABLE table_name_47 (year INTEGER, player VARCHAR) | What is the latest year featuring candace parker? |
SELECT MAX(crowd) FROM table_name_94 WHERE home_team = "north melbourne" | CREATE TABLE table_name_94 (crowd INTEGER, home_team VARCHAR) | What is the largest crowd when north melbourne is the home side? |
SELECT MIN(crowd) FROM table_name_22 WHERE venue = "victoria park" | CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR) | What is the smallest crowd at victoria park? |
SELECT date FROM table_name_96 WHERE away_team = "geelong" | CREATE TABLE table_name_96 (date VARCHAR, away_team VARCHAR) | What day was geelong the away side? |
SELECT stadium FROM table_name_17 WHERE city = "brisbane" | CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR) | What is the name of the stadium in Brisbane? |
SELECT result FROM table_name_92 WHERE score = "58-6" | CREATE TABLE table_name_92 (result VARCHAR, score VARCHAR) | What was the result of the match that had a score of 58-6? |
SELECT score FROM table_name_12 WHERE result = "hunter mariners def. castleford tigers" | CREATE TABLE table_name_12 (score VARCHAR, result VARCHAR) | What was the score for the match that had the result of Hunter Mariners def. Castleford Tigers? |
SELECT stadium FROM table_name_92 WHERE score = "66-20" | CREATE TABLE table_name_92 (stadium VARCHAR, score VARCHAR) | For the match ending in a score of 66-20, what was the stadium? |
SELECT city FROM table_name_61 WHERE stadium = "don valley stadium" | CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR) | In what city is the Don Valley Stadium located? |
SELECT meet FROM table_name_22 WHERE event = "100m backstroke" | CREATE TABLE table_name_22 (meet VARCHAR, event VARCHAR) | Which championship was the 100m backstroke performed? |
SELECT event FROM table_name_62 WHERE time = "7:45.67" | CREATE TABLE table_name_62 (event VARCHAR, time VARCHAR) | What event has a time of 7:45.67? |
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward" | CREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR) | What nationality has a year larger than 2009 with a position of power forward? |
SELECT player FROM table_name_92 WHERE team = "chicago bulls" | CREATE TABLE table_name_92 (player VARCHAR, team VARCHAR) | Who plays for the chicago bulls? |
SELECT main_places FROM table_name_91 WHERE regions = "streymoy" AND area > 6.1 | CREATE TABLE table_name_91 (main_places VARCHAR, regions VARCHAR, area VARCHAR) | What are the main places for the streymoy region with an area of larger than 6.1? |
SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = "sandoy" AND area = 112.1 | CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR) | What is the sum of people per km2 for the sandoy region with an area of 112.1? |
SELECT AVG(week) FROM table_name_62 WHERE attendance = 41 OFFSET 604 | CREATE TABLE table_name_62 (week INTEGER, attendance VARCHAR) | what is the week there were 41,604 people in attendance? |
SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn" | CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR) | What is the average crowd size for games with hawthorn as the home side? |
Subsets and Splits