question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the rounds for stanley brm
CREATE TABLE table_name_82 (rounds VARCHAR, entrant VARCHAR)
SELECT rounds FROM table_name_82 WHERE entrant = "stanley brm"
What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps?
CREATE TABLE table_name_26 (tottenham_hotspur_career VARCHAR, club_apps VARCHAR, position VARCHAR, goals VARCHAR, nationality VARCHAR)
SELECT tottenham_hotspur_career FROM table_name_26 WHERE goals = "10" AND nationality = "england" AND position = "df" AND club_apps = "118"
What is the position of the player from England with 62 goals?
CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR, goals VARCHAR)
SELECT position FROM table_name_72 WHERE nationality = "england" AND goals = "62"
How many goals did the player from England who played the position of mf and had 170 club apps had?
CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170"
How many goals did the player with 229 club apps have?
CREATE TABLE table_name_69 (goals VARCHAR, club_apps VARCHAR)
SELECT goals FROM table_name_69 WHERE club_apps = "229"
For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated?
CREATE TABLE table_name_18 (award_ceremony VARCHAR, nominee VARCHAR)
SELECT award_ceremony FROM table_name_18 WHERE nominee = "emilio pichardo as bobby strong"
Who was nominated for best female performer?
CREATE TABLE table_name_38 (nominee VARCHAR, category VARCHAR)
SELECT nominee FROM table_name_38 WHERE category = "best female performer"
What area is the school with a decile of 8 in?
CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR)
SELECT area FROM table_name_76 WHERE decile = "8"
Which school has a state authority and a roll of 318?
CREATE TABLE table_name_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318
In what area is torbay school with a state authority?
CREATE TABLE table_name_87 (area VARCHAR, authority VARCHAR, name VARCHAR)
SELECT area FROM table_name_87 WHERE authority = "state" AND name = "torbay school"
How many regular season titles did Kansas receive when they received fewer than 2 tournament titles and more than 0 total titles?
CREATE TABLE table_name_25 (Regular VARCHAR, team VARCHAR, tournament VARCHAR, total VARCHAR)
SELECT Regular AS season FROM table_name_25 WHERE tournament < 2 AND total > 0 AND team = "kansas"
What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen?
CREATE TABLE table_name_65 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen"
How many laps does olivier panis have?
CREATE TABLE table_name_96 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_96 WHERE driver = "olivier panis"
Which home team played against Geelong?
CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_39 WHERE away_team = "geelong"
How large was the crowd when North Melbourne played as the away team?
CREATE TABLE table_name_62 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_62 WHERE away_team = "north melbourne"
Who is the away team that played home team Hawthorn?
CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_13 WHERE home_team = "hawthorn"
What is the name of the home team that played away team Footscray?
CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_46 WHERE away_team = "footscray"
Who is the home team that played at venue MCG?
CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_3 WHERE venue = "mcg"
What is the name of the first appearance when Chad Williams is a portrayal?
CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"
Which character is portrayed by Elias Koteas?
CREATE TABLE table_name_10 (character VARCHAR, portrayed_by VARCHAR)
SELECT character FROM table_name_10 WHERE portrayed_by = "elias koteas"
What is the Home Team Score at VFL Park?
CREATE TABLE table_name_97 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE venue = "vfl park"
What is the Home Team Score at Windy Hill?
CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_64 WHERE venue = "windy hill"
On what Date is Carlton the Away Team?
CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_98 WHERE away_team = "carlton"
Which competition with a result of 3-1?
CREATE TABLE table_name_68 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_68 WHERE result = "3-1"
I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56
CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR)
SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56
Tell me the position in 2012-13 and number of seasons in leigue 1 of 30 with ligue 1 titles of 1
CREATE TABLE table_name_69 (position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR, ligue_1_titles VARCHAR)
SELECT position_in_2012_13 FROM table_name_69 WHERE number_of_seasons_in_ligue_1 = 30 AND ligue_1_titles = 1
What is the NBA draft result of the player from Kingston, PA?
CREATE TABLE table_name_4 (nba_draft VARCHAR, hometown VARCHAR)
SELECT nba_draft FROM table_name_4 WHERE hometown = "kingston, pa"
What is the NBA draft result of the player with a height of 6-7?
CREATE TABLE table_name_67 (nba_draft VARCHAR, height VARCHAR)
SELECT nba_draft FROM table_name_67 WHERE height = "6-7"
What is the NBA draft result of Dwayne Washington?
CREATE TABLE table_name_56 (nba_draft VARCHAR, player VARCHAR)
SELECT nba_draft FROM table_name_56 WHERE player = "dwayne washington"
What is the NBA draft result of the player from Dunbar High School?
CREATE TABLE table_name_61 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_61 WHERE school = "dunbar high school"
What is the school of the player from the College of Michigan?
CREATE TABLE table_name_35 (school VARCHAR, college VARCHAR)
SELECT school FROM table_name_35 WHERE college = "michigan"
What was the away team score for the game played at MCG?
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_89 WHERE venue = "mcg"
What was the home team's score at Victoria Park?
CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_27 WHERE venue = "victoria park"
What is the score at shay stadium?
CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_96 WHERE venue = "shay stadium"
What is the result at valley parade on 4/7/02?
CREATE TABLE table_name_50 (result VARCHAR, venue VARCHAR, date VARCHAR)
SELECT result FROM table_name_50 WHERE venue = "valley parade" AND date = "4/7/02"
Which competition has a Goal of deacon 8/8 and a Score of 32-14?
CREATE TABLE table_name_3 (competition VARCHAR, goals VARCHAR, score VARCHAR)
SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14"
What is the top grid that is driven by martin brundle?
CREATE TABLE table_name_78 (grid INTEGER, driver VARCHAR)
SELECT MAX(grid) FROM table_name_78 WHERE driver = "martin brundle"
What is the grid 13 time score?
CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_88 WHERE grid = 13
Which grid is lower for thierry boutsen which laps less than 44?
CREATE TABLE table_name_90 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_90 WHERE driver = "thierry boutsen" AND laps < 44
Which player is 6-2?
CREATE TABLE table_name_9 (player VARCHAR, height VARCHAR)
SELECT player FROM table_name_9 WHERE height = "6-2"
What is the Laid down for the Hyperion ship?
CREATE TABLE table_name_55 (laid_down VARCHAR, ship VARCHAR)
SELECT laid_down FROM table_name_55 WHERE ship = "hyperion"
What is the name of the ship that had a Pennant number of h55?
CREATE TABLE table_name_48 (ship VARCHAR, pennant_number VARCHAR)
SELECT ship FROM table_name_48 WHERE pennant_number = "h55"
How did the jab tak hai jaan movie gross worldwide?
CREATE TABLE table_name_60 (worldwide_gross VARCHAR, movie VARCHAR)
SELECT worldwide_gross FROM table_name_60 WHERE movie = "jab tak hai jaan"
What is average year for ayan mukerji?
CREATE TABLE table_name_29 (year INTEGER, director VARCHAR)
SELECT AVG(year) FROM table_name_29 WHERE director = "ayan mukerji"
When melbourne was the home team what was their score?
CREATE TABLE table_name_46 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_46 WHERE home_team = "melbourne"
What date had a time of 20:10?
CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_25 WHERE time = "20:10"
What is the title of the episode that originally aired on March 31, 2008?
CREATE TABLE table_name_1 (episode_title VARCHAR, original_airdate VARCHAR)
SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 2008"
What is the episode number of the episode that originally aired on February 4, 2008?
CREATE TABLE table_name_23 (episode_no VARCHAR, original_airdate VARCHAR)
SELECT episode_no FROM table_name_23 WHERE original_airdate = "february 4, 2008"
at kardinia park, what was the away team's score?
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_22 WHERE venue = "kardinia park"
what was the largest attendance at kardinia park?
CREATE TABLE table_name_74 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_74 WHERE venue = "kardinia park"
Who was the Home team at the Western Oval location?
CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_62 WHERE venue = "western oval"
What's the average of the amount of laps for the driver patrick tambay?
CREATE TABLE table_name_64 (laps INTEGER, driver VARCHAR)
SELECT AVG(laps) FROM table_name_64 WHERE driver = "patrick tambay"
When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record?
CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND constructor = "renault" AND time_retired = "ignition"
In 2008, what was the world ranking that ranked 5th in L.A.?
CREATE TABLE table_name_54 (world_ranking__1_ VARCHAR, ranking_la__2_ VARCHAR, year_of_publication VARCHAR)
SELECT world_ranking__1_ FROM table_name_54 WHERE ranking_la__2_ = "5th" AND year_of_publication = "2008"
what is the total number of played when the goals for is more than 34 and goals against is more than 63?
CREATE TABLE table_name_24 (played VARCHAR, goals_for VARCHAR, goals_against VARCHAR)
SELECT COUNT(played) FROM table_name_24 WHERE goals_for > 34 AND goals_against > 63
what is the total number of goal different when the club is cf extremadura and the played is less than 38?
CREATE TABLE table_name_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR)
SELECT COUNT(goal_difference) FROM table_name_51 WHERE club = "cf extremadura" AND played < 38
what is the average points when the goal difference is less than 17, the club is getafe cf and the goals for is more than 30?
CREATE TABLE table_name_86 (points INTEGER, goals_for VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT AVG(points) FROM table_name_86 WHERE goal_difference < 17 AND club = "getafe cf" AND goals_for > 30
what is the sum of goals for when the position is less than 8, the losses is less than 10 the goals against is less than 35 and played is less than 38?
CREATE TABLE table_name_50 (goals_for INTEGER, played VARCHAR, goals_against VARCHAR, position VARCHAR, losses VARCHAR)
SELECT SUM(goals_for) FROM table_name_50 WHERE position < 8 AND losses < 10 AND goals_against < 35 AND played < 38
what is the highest gold when the rank is 12 for the nation vietnam?
CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)
SELECT MAX(gold) FROM table_name_18 WHERE rank = "12" AND nation = "vietnam"
what is the total when the rank is 4?
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)
SELECT total FROM table_name_88 WHERE rank = "4"
what is the nation when the gold is 1 and bronze is larger than 0?
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_77 WHERE gold = 1 AND bronze > 0
Which entrant has Ferrari 038 3.5 v12 engine?
CREATE TABLE table_name_72 (entrant VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_72 WHERE engine = "ferrari 038 3.5 v12"
What is the date that the Institution of Lynn University was founded on?
CREATE TABLE table_name_69 (founded VARCHAR, institution VARCHAR)
SELECT founded FROM table_name_69 WHERE institution = "lynn university"
What's the Loss listed with a Score of 5-1?
CREATE TABLE table_name_60 (loss VARCHAR, score VARCHAR)
SELECT loss FROM table_name_60 WHERE score = "5-1"
Which Date has a record of 3-5?
CREATE TABLE table_name_76 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_76 WHERE record = "3-5"
Which Date has a Record of 6-9?
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_86 WHERE record = "6-9"
What's the Loss listed for the Opponent of California Angels and has an Attendance of 57,762?
CREATE TABLE table_name_31 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_31 WHERE opponent = "california angels" AND attendance = "57,762"
Which Date has an Attendance of 9,535?
CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_73 WHERE attendance = "9,535"
What is the Score for the Date of April 23?
CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_69 WHERE date = "april 23"
What was the average crowd size at Victoria Park?
CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park"
What is the crowd size of the match featuring North Melbourne as the away team?
CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "north melbourne"
Name the team which has high rebounds of smith (10)
CREATE TABLE table_name_96 (team VARCHAR, high_rebounds VARCHAR)
SELECT team FROM table_name_96 WHERE high_rebounds = "smith (10)"
What team was the home team against Melbourne?
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_36 WHERE away_team = "melbourne"
What did the home team score when Carlton played as the Away team?
CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_30 WHERE away_team = "carlton"
How many people attended the home game for South Melbourne?
CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "south melbourne"
What was the home team score at VFL Park?
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_99 WHERE venue = "vfl park"
How many grids have a Time/Retired of gearbox, and Laps smaller than 3?
CREATE TABLE table_name_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_98 WHERE time_retired = "gearbox" AND laps < 3
What is masten gregory's average lap?
CREATE TABLE table_name_70 (laps INTEGER, driver VARCHAR)
SELECT AVG(laps) FROM table_name_70 WHERE driver = "masten gregory"
Which Time/Retired has a Grid of 2?
CREATE TABLE table_name_21 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_21 WHERE grid = 2
When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?
CREATE TABLE table_name_51 (tyre VARCHAR, chassis VARCHAR, rounds VARCHAR, engine VARCHAR)
SELECT tyre FROM table_name_51 WHERE rounds = "14-15" AND engine = "ford cosworth dfv 3.0 v8" AND chassis = "m23"
Which driver uses the ts16 chassis?
CREATE TABLE table_name_7 (driver VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_7 WHERE chassis = "ts16"
What is the home team of the game on April 20?
CREATE TABLE table_name_95 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_95 WHERE date = "april 20"
What is the series score of the game with Vancouver as the visiting team on April 16?
CREATE TABLE table_name_73 (series VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT series FROM table_name_73 WHERE visitor = "vancouver" AND date = "april 16"
What is the series score of the game on April 16?
CREATE TABLE table_name_55 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_55 WHERE date = "april 16"
Tell me the away team score for 27 april 1974 and veue of mcg
CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg"
I want to see the away team the has a home team of richmond
CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_74 WHERE home_team = "richmond"
What venue did group g play at on Mar 8, 1998?
CREATE TABLE table_name_42 (venue VARCHAR, stage VARCHAR, date VARCHAR)
SELECT venue FROM table_name_42 WHERE stage = "group g" AND date = "mar 8, 1998"
Which stage was being played in Romania?
CREATE TABLE table_name_34 (stage VARCHAR, venue VARCHAR)
SELECT stage FROM table_name_34 WHERE venue = "romania"
What was the score of the 1999 fifa world cup qualification (uefa) on Nov 23, 1997?
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_85 WHERE competition = "1999 fifa world cup qualification (uefa)" AND date = "nov 23, 1997"
What was being played on Nov 23, 2006?
CREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006"
What is the lowest crowd at windy hill?
CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_28 WHERE venue = "windy hill"
What is the lowest crowd with home team richmond?
CREATE TABLE table_name_79 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_79 WHERE home_team = "richmond"
When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there?
CREATE TABLE table_name_55 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_55 WHERE total > 12 AND gold < 5
When the united states won a total number of medals larger than 25, what was the lowest amount of Bronze medals won?
CREATE TABLE table_name_61 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_61 WHERE nation = "united states" AND total > 25
When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals?
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT MAX(bronze) FROM table_name_28 WHERE total < 17 AND nation = "poland" AND gold > 1
If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals?
CREATE TABLE table_name_43 (total VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0
What's the total number of NGC that has a Declination ( J2000 ) of °15′55″, and an Apparent magnitude greater than 10?
CREATE TABLE table_name_28 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)
SELECT SUM(ngc_number) FROM table_name_28 WHERE declination___j2000__ = "°15′55″" AND apparent_magnitude > 10
Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s?
CREATE TABLE table_name_56 (object_type VARCHAR, apparent_magnitude VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_56 WHERE apparent_magnitude > 9.6 AND right_ascension___j2000__ = "17h59m02.0s"
Which species of bacteria has 5,566 genes?
CREATE TABLE table_name_35 (strain VARCHAR, genes VARCHAR)
SELECT strain FROM table_name_35 WHERE genes = "5,566"
What is the Strain name of Species Thiomicrospira crunogena?
CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR)
SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena"